Project

General

Profile

Support #1370

BHPS+UKHLS (26 waves) Repeated Time Values Error in Stata

Added by Abigail Dumalus about 2 years ago. Updated 9 months ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
Data analysis
Start date:
06/25/2020
% Done:

100%


Description

Hello,

I found that linking all 26 waves went without a hitch. Since I intend to do longitudinal analysis of life satisfaction from wave 1 to wave 26, I am trying to tell Stata this has a panel structure (xtset pidp wave). Unfortunately, I am getting error r(451) for "repeated time values within panel". I tried doing xtset separately for all 18 BHPS indresp waves, and it worked. I also applied xtset for all 8 UKHLS indresp waves, but I am getting error r(451). What am I missing here?


Files

BHPS(waves 1-18)_UKHLS(waves 2-9) Error After xtset pidp wave.pdf (31.6 KB) BHPS(waves 1-18)_UKHLS(waves 2-9) Error After xtset pidp wave.pdf Abigail Dumalus, 06/25/2020 03:34 PM
UserForum_1370.do (4.25 KB) UserForum_1370.do Alita Nandi, 06/26/2020 01:02 AM
UserForum_1370.log (8.83 KB) UserForum_1370.log Alita Nandi, 06/26/2020 01:02 AM

Also available in: Atom PDF