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
Restructuring data (removing rows with blanks) - Cumulative returnsHi Statalister, I have a problem related to cumulative returns, I have a return series from 01-01-2…
how to store margins after biprobit modelHi, I would like to estimate the predicted probabilities after running a biprobit model. I have trie…
Stata commands on data imputationsHello everyone, I am dealing with a panel data set for 27 EU countries. I have the data for farmers…
Multivariate outlier detection in Stata: MCD CommandHi everyone, I am self-learning STATA and I am very new to this Software. I want to detect multivar…
ARDL ECM InterpretationHi, I have been a little confused about interpreting my results from "ardl" command and "ardl, ec" c…
Subscribe to:
Post Comments (Atom)
0 Response to Making quarterly variable from separate day , month and year variable
Post a Comment