Hi everyone!
In the same vein as Davis (http://faculty.haas.berkeley.edu/lda...JPE%202008.pdf), I want to estimate the effect of a speed-limit reduction on air quality/pollution emission. I have gathered high-frequency data (hourly air pollution for different pollutants from different monitoring stations over multiple years). I will do a Regression Discontinuity Design where the independent variable is time, also called Regression Discontinuity in time.
I have already created my set of DateTimes as shown on the screenshot #1 below. However, I cannot use these DateTimes as a the independent variable when I run a regression. Indeed, when using rdrobust and rdplot, it is displayed "c() should be set within the range of DATETIME", c() being the cutoff date (see screenshot #2). It therefore appears that DateTimes is not taken into account as a variable in itself. How can I transform DateTime as a variable I can use in my regression, especially for the cutoff?
I thank y'all!
Array
Array
Related Posts with Using DateTime as Independent Variable - Regression Discontinuity in Time
CEM v/s psmatch2Hi everyone, could anyone please tell me where does the algorithm of CEM and psmatch2 differ? I have…
Merging m:m - it seems to work for me. Why critise? Appreciate your feedbackAs you can see in my previous posts. I currently have one huge dataset called procedure. This shows…
Independent Variable predicts is highly correlated with dependent variable.I will be very grateful for your help on this issue. Independent Variable (Last Birth CS) is highly …
Referring to local macros using unabHello statalisters, I have 227 variables that are grouped by common prefixes. I am trying to use th…
Two way pyramid graph using countries instead of rangeHello! I'm trying so hard to replicate a graph like this, it's some sort of a pyramid but it is not …
Subscribe to:
Post Comments (Atom)
0 Response to Using DateTime as Independent Variable - Regression Discontinuity in Time
Post a Comment