I am familiar with creating linear time trends. For example, if I have study years 1996, 1997, 1998 and 1999; then the linear time trend variable will be coded 1 for 1996, 2 for 1997, 3 for 1998 and 4 for 1999.
However, I am uncertain what to do when I have one year of data missing, for example, if I have data on only study years: 1996, 1998 and 1999 with the 1997 data missing.
Do I code 1998 as 2 or 3 in the linear time trend variable?
Related Posts with Coding linear time trend with missing years
Statistical comparison between 6 groups with unequal variance and 1 observation.Dear Statalists, I am analyzing a dataset which includes two variable "tech changing rate" and "Gro…
Problem with nlsur commandDear Stata users, I am currently running the nlsur command to estimate a system of 2 equations usin…
Scoring measures using STATAI have dataset that includes items measuring diagnostic criteria for personality disorders. For each…
Propensity score weighting on samplesI want to weight my sample with propensity scores first, then run OLS with weighted sample. I know …
How significance of stata pwcorr is calculated?When i run pwcorr, with the option sig, how stata test de significance of the correlation coeficient…
Subscribe to:
Post Comments (Atom)
0 Response to Coding linear time trend with missing years
Post a Comment