Hi everyone and happy thanksgiving!
Its probably simple stuff but I'm having some difficulties so some help would be appreciated a lot! So im writing my thesis this semester and need some help with specifiying date and year in a panel data and first, I want to make a xline in a graph with a scatter setting. Been trying to use excels "jan2010", "feb2010", "mar2020" etc but been having difficulties with specifying to stata since it doesn't understand the code and just replies invalied argument.
Thus I wounder is there any year and date variable that works with in stata so I can specify it in an graph with the command scatter?
Secondly, Im using a Difference-in-Difference method in my thesis and as might expected I've been running into some problems using "jan2010" etc since stata, once again doesn't really understand what I mean.
As an conclusion, I guess these question is just a single question about if there are any alternative way to make year-month specification work smoothly. Been reading some of the manuals by Stata but haven't been able to plug them in smoothly into the do.file.
Sincerly,
Kevin
Related Posts with Economic student that needs some help with date and year with panel data
Help creating graph for multiple linear regressionDear all, I am using Stata 16, on mac. I am estimating the regression: reg GDP agedpop population …
Doubt on Heckprob model resultsHello everybody, I'm running a Heckman selection model based on a heckprob. I have some categorical…
xtreg, fe robust: xtoverid error(2b) operator invalid when correcting Hausman test (V_b-V_B is not positive definite) due to year dummiesDear Statalisters, I am analyzing a panel dataset with year dummies over a period of 2000-2018 and …
Medeff command: invalid mediate (error r(198))Dear Statalists, Could you please tell me the reason why when I type the following command: medeff…
Exporting residuals vs prediction dataHi, So, I need to make a residuals versus predictor plot. However, the graphics aren't working in S…
Subscribe to:
Post Comments (Atom)
0 Response to Economic student that needs some help with date and year with panel data
Post a Comment