Dear all,
I need to calculate age using date of birth (dob) and survey submission date (end_date).
I have got some negative value for age, that's because stata takes dates after 2000 as 1900.
E.g., 20 Feb 20 - 01 Jan 80; How do I tell stata that 20 Feb 20 is 20/02/2020?Array
Thank you!
Maggie
Related Posts with How to define date from 2000 in Stata
how to calculate z-test for two regression model coefficients (SD and mean)I have two models , both will get the R square and I would like to test the is the difference signic…
Margins after -biprobit- in Stata 12Hello I am using Stata 12 and trying to explore -birprobit- command. I am able to run the -biprobit-…
'Mixlogit' with proportions - how can I implement?Hello, I wanted to ask if anyone knows how to implement the mixlogit command when you have proporti…
Issue about xtpoisson & xtnbreg panel data regression with not concave iterationHi Statalisters, I am working on a project by using counting regression model of panel data. The da…
Testing for multicollinearity in fixed effects modelHello all, I am running a meta analysis on WTP for wind energy. I am using Stata 16. I use the comma…
Subscribe to:
Post Comments (Atom)
0 Response to How to define date from 2000 in Stata
Post a Comment