Hi all,
I am trying to put the day, month and year columns in one column.
So the format is as follows:
day = 1
month = 1
year = 1992
My command is:
gen interview = day, month, year (doesn't work)
gen interview = day/month/year (the variable is in 0.0000939 format)
What could possibly be the reason? Does the type (byte, float, int, double) of the (day, month, year) matter? Do I need to change the format of the day, month, year? Any help will be greatly appreciated.
Related Posts with DATE ***Please help***
Dummy dependent: ANOVA v logitThis is a statistics question rather than a Stata question, but would appreciate any advice. After …
Create dataset - longitudinalHello, I have a dataset (example below) where I use the command "append" to add the datasets: i_ind…
Baseline table package showing p-value and statistics-value There has been some useful table1 package, such as table1 and table1_mc. However, they can not show…
Estimate whether coefficient of different models are JOINTLY equal to zeroDear network, I have 10 independent variables (x1, x2, x3, x4, x5, x6, x7, x8, x9, and x10) and fiv…
Creating a Graph That Shows Treatment Status by Group Over Years of A PanelHi all, I'm stuck with a graph I'm trying to figure out. I am in one of those difference-in-differe…
Subscribe to:
Post Comments (Atom)
0 Response to DATE ***Please help***
Post a Comment