I have half-yearly data starting from June 2017 to June 2019. In excel wide format data it is written as x1 2017/06 x1 2017/12.....x12019/06 for example for x1 variable. When I import it to Stata and reshape to long, the time variable is not what it is actually. For example, 2017/06 is read as 1960h2 (second half of 1960). How do I write it in Excel so that it gets imported correctly or, anyway to fix it after import? Many thanks.
Related Posts with half-yearly data importing to Stata
Descriptive statistics after regression: multiple observations per idDear Statalist users, I am running a conditional risk set model (survival analysis), which entails …
Comparison between Children in the Same HouseholdHello All, First off, allow me to apologize in advance for any errors I make in the formatting of m…
How to make a graph of mean and standard deviation?Greetings. How can I make this graph of mean and standard deviation in stata? What would the command…
Missing standard errors because of stratum with single sampling unit.How do I fix the problem of missing standard errors because of stratum with single sampling unit whe…
Outreg2 in a loop and table titleHello everyone, I am facing an issue with the outreg2 command. So I am trying to run a loop like th…
Subscribe to:
Post Comments (Atom)
0 Response to half-yearly data importing to Stata
Post a Comment