I have two numeric variables labeled quarter (1,2,3,4) and year. I want to generate a new variable that uses first day of midpoint of the quarter (e.g., 01 Feb for 1st quarter, 01 May for 2nd quarter, etc) as day and month so I can combine it with year to generate SIF MDY variable. Any help is appreciated.
Related Posts with Taking a midpoint of quarter
Coefplot graph error despite running the regressionI'm supposed to get a coefplot graph using the following data and code but unfortunately I'm coming …
Problems with regressions (regress.ado r(199)Hi, I have run into some problems with making regressions in Stata (version 16). I have been using …
formula into regressionHi Is there any way to make a regression in this way regress ln(y) indep vars without generate a …
anycountDear all I would like to count the number of values across 5 numeric variables. I tried using "anyc…
Multiple commands in one line stored in a localI have a problem executing a local with multiple Stata commands separated by ";". If I use this cod…
Subscribe to:
Post Comments (Atom)
0 Response to Taking a midpoint of quarter
Post a Comment