I have a string variable called month containing; "Jan 2018" till "Dec 2020". How do I separate this variable so I can for instance make a regression with data of only 2018 or data of Jan 2018, Jan 2019, Jan 2020?
Related Posts with Transforming a string variable into a time/date
Loop to append files using two macrosHi, I'm appending separate country files in to one (US_1.dta, US_2.dta.........GB_1.dta,GB_2.dta). …
K-S test for Pareto distributed data.Hello everyone, for my master's thesis I am working with a survey dataset on wealth distribution wh…
Obtaining time series graphsHey guys, sorry if this is long, but I'm entirely new to stata. I also apologise if I don't use the …
What is the meaning of p-value for trends?Hello, I am working on an assignment that asks for the interpretation of a ptrend value in a regres…
parentheses do not balanceHello, I am trying to do a graph with confidence intervals. I got the following code: twoway (rcap …
Subscribe to:
Post Comments (Atom)
0 Response to Transforming a string variable into a time/date
Post a Comment