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
log file not foundHi . log using chp2 file C:\WINDOWS\system32\chp2.smcl could not be opened r(603); What could be ca…
Hausman TaylorHi Statalist, I am relatively new to stata, albeit I would like to conduct an analysis using the Ha…
Matching DataHi Everyone, I’m very new to STATA and would really appreciate some help – please be as detailed as…
xtabond2 data issuextabond2 data issue Today, 09:05 I'm using panel data and xtabond2 command in STATA 15.1. I'm tryin…
interpretation of interactions in mixed modelHi all, I am running the following mixed model (code and results shown below). Notes: Y is continuo…
Subscribe to:
Post Comments (Atom)
0 Response to Making quarterly variable from separate day , month and year variable
Post a Comment