Project

General

Profile

Actions

Support #1617

open

Rare cases of time varying psu and strata

Added by Lucas Auer almost 3 years ago. Updated almost 3 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
Survey design
Start date:
12/08/2021
% Done:

100%


Description

Dear support team,
When trying to account for the complex survey design, I have run into the following stata error message: "panels are not nested within clusters". In trying to find the cause of the problem, I have noticed that there is one instance in indresp where psu/strata switch from 3924/2962 in wave 7 to 120/30 in wave 8 onwards, and one instance where psu/strata switch from 2918/2459 in wave 7 to 132/34 in wave 8 onwards. As I have read that with regards to "the strata and psu variables (...), as these are sample design variables, their values do not change across the waves for any person" (Introduction to Understanding Society using Stata, Example 6), this surprised me. Any clarification on why this is the case and how I should deal with it would be greatly appreciated.
Many thanks,
Lucas

PS: The stata code I used to examine the relevant psu/strata is as follows:
by pidp (psu), sort: gen byte moved = (psu1 != psu[_N])
browse if moved

Actions #1

Updated by Understanding Society User Support Team almost 3 years ago

  • Status changed from New to In Progress
  • % Done changed from 0 to 10

Many thanks for your enquiry. The Understanding Society team is looking into it and we will get back to you as soon as we can.

We aim to respond to simple queries within 48 hours and more complex issues within 7 working days.

Best wishes,
Understanding Society User Support Team

Actions #2

Updated by Understanding Society User Support Team almost 3 years ago

  • Private changed from Yes to No
Actions #3

Updated by Understanding Society User Support Team almost 3 years ago

  • Status changed from In Progress to Feedback
  • % Done changed from 10 to 80

Hello,

There are 3-4 persons for whom this has happenned. This is because they moved from one sample into the household of another sample (BHPS -> UKHLS). You can check the memorig and hhorig for these cases. The hhorig reflects the sample of the household and so will be the earlier sample (BHPS), while the memorig reflects the sample of the individual and so will be the sample which this person was part of (UKHLS). The psu and strata in xwavedat are the ones from the earlier to which the individual's latest hh the individual is associated with, while the wave specific ones are psu and strata of the hh the individual is currently living in.

Best wishes,
Understanding Society User Support Team

Actions #4

Updated by Lucas Auer almost 3 years ago

Thank you very much for following up on this so quickly, and for providing such a detailed explanation! Helps a lot.

Best wishes,
Lucas

Actions #5

Updated by Understanding Society User Support Team almost 3 years ago

  • Status changed from Feedback to Resolved
  • Assignee deleted (Understanding Society User Support Team)
  • % Done changed from 80 to 100
Actions

Also available in: Atom PDF