In BRFSS data the interview date variable is suppressed though the the day , month and year variable is provided separately like the following given sample.
Could anyone be kind enough how I can make a quarterly variable from this separate day, month and year variable ?
* Example generated by -dataex-. For more info, type help dataex
clear
input byte(iday imonth) int iyear
25 1 94
16 6 94
16 6 94
17 6 94
16 6 94
23 6 94
28 6 94
20 9 94
21 9 94
27 9 94
17 10 94
Related Posts with Making quarterly variable from separate day , month and year variable
How to tackle the r1400 error message with xtmixedHELLO< I have repeated measures data where patient scores are measured over four visits. The tim…
marking ticks in the bar graphHi, Below is my graph that I used to generate the following graph. I want to add ticks to the middl…
postestimation, predict, and pweightsHi, I use the following regression: Code: reg y x i.time [pweight=weight], r predict yhat, xb by…
Interpreting Fisher-type unit root tests in panel dataHello, I have an unbalanced panel data set consisting of N=25,102 and T between 1-35 years (on aver…
How to destring date/time with commaHello, I have a date/time variable formatted in the following way: "01-24-2019, 03:26 PM" and canno…
Subscribe to:
Post Comments (Atom)
0 Response to Making quarterly variable from separate day , month and year variable
Post a Comment