Hello everyone,
First of all, I have learned a lot from this forum. However, I could not find the answer to this specific questions:
My data looks as follows:
q1 frqcy time
2002 1 2002q1
2002.25 3 2002q2
2002.5 4 2002q3
2002.75 5 2002q4
2003 8 2003q1
When I try to make a scatterplot, It shows:
. scatter frqcy time
string variables not allowed in varlist;
time is a string variable
I have not been able to destring my variable time while I saw on different youtube videos that they also used year+quarter, e.g., 2002q1.
I am sorry, I do not know to copy the Sata results properly.
Related Posts with String variable quarterly time
removing 95%CI and renaming axis by intervalsHere is my code for prevalence vs month: logit mrsp i.month margins month, plot(ytitle(Prevalence) …
ESTIMATE Workshop at Michigan State in early JuneHi All: I'm not sure about the proper protocol when advertising workshops on Statalist. I suspect s…
Confidence intervals for the difference of two regression coefficient meansHi all, I am trying to calculate confidence intervals for the difference of two regression coeffici…
using the i.year for time-fixed effects in a Differences-in-Differences ApproachHello everyone, I am not sure if a combination of a time-fixed-efffects model and a Differences-in-…
Need help with the postfile commandHello, I'm trying to use the postfile command but everytime i try to execute it it gives me a error…
Subscribe to:
Post Comments (Atom)
0 Response to String variable quarterly time
Post a Comment