Hi, I am trying to run a panel data regression for waves 4 and above from my dataset:
xtset pidp UKHLSwave
xtlogit lifesat unemployment outoflaborforce newduration newdursq10 married goodhealth age agesq10 loghhincome, if UKHLSwave >= 3
but get the error message:
if UKHLSwave >= 3 invalid
r(198);
I have recoded many of the variables prior to trying to execute this command (a lot of code so will not post here), but do not see how this could interfere with STATAs ability to identify the wave. I have checked and the UKHLSwave is identified by STATA as floating. What could be the issue here? And if there is an alternative way to run the regression for specified waves please do let me know!
Related Posts with specifying waves for xtlogit panel data regression
Dividing panel by quartilesHello everyone, I am dividing my panel data into 4 quartiles by country's GDP and year. A country m…
sum, d and histogram with svy:Hello Statalist, I would like to run some descriptives of some model variables for subsequent model…
Markstat and PDF: Change the width of stata outputHi everyone, I am using markstat to make a pdf document. However, one of the stata results appeared…
Merge with complex requirements for dateHey! I need to merge two files, each with 3 variables. The first one has date, city, and score. Th…
Rescaling y-axisI am unable to to re-scale my y-axis by a factor of 1000. For instance, I have counts of events on t…
Subscribe to:
Post Comments (Atom)
0 Response to specifying waves for xtlogit panel data regression
Post a Comment