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
Creating a large Dummy Variable tableGood afternoon, I am working with a dataset that looks at different funding structures for subsidiz…
Multiplying a variable to generate anotherHi, for a project I have a variable for gross weekly earnings. I want to multiply this by 52 to crea…
Data for difference in differenceHello, I am currently doing my dissertation on the impact of minimum unit pricing on alcohol volume,…
invalid variable nameHi! I am trying to reshape my data. id Co base ID3 103 0 0 103_6_6 104 0 1 104_0_0 104 0 0 104_1_1 …
Replace missing values smartlyHi all, I am writing since I have a potentially simple task which however I am not able to figure o…
Subscribe to:
Post Comments (Atom)
0 Response to Making quarterly variable from separate day , month and year variable
Post a Comment