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
Web scarping errorHello all, I downloaded the command nba2stata to get data from this website to STATA. However when …
Error specifying multiple quantilesI am trying to run quantile regression with clustered standard errors. I would like to run .25, .5 .…
How I can egen a variable to capture the sum value of numbers in the different columnsDear Stata users, I am working on a dataset with many dummy variables. What I want to achieve is eg…
Using postfile with xtregHi guys, I would like to perform a regression within a loop and store the results in excel. Ideally…
replacing values of newly generated string variable if old string variable contains certain charactersHello, I have a string variable called relationship that describes the relationship between 2 peopl…
Subscribe to:
Post Comments (Atom)
0 Response to Taking a midpoint of quarter
Post a Comment