I am currently working with a difference-in-difference model specified as follows:
log(Viewsit)= B0 + σ0 (Cholerait) + B1 (Iraqit) + σ1 (Cholerait * Iraqtit) + B2 (Tabletit) + B3 (Computerit) + εit
My data includes daily views on a youtube animation, whether those views came from a tablet, cell phone or laptop, where those views originated from (with control group as Yemen and treatment group as Iraq). In 2015 there was a cholera epidemic in Iraq, such that the number of views shot up for then but quickly returned to the mean after the event. I have read that it is possible to do RD with time as a running variable (http://deep.ucdavis.edu/uploads/5/6/...deep_wp019.pdf). Would anyone know how to go about writing the Stata code for RD in this scenario? Thank you.
Related Posts with Regression Discontinuity on Iraq Cholera Data
What does dot mean in correlation matrix?Hi all, when running correlation matrix, I face the situation that the correlation is ".", I am won…
Collecting Descriptive Stats (counts percentages) for categorical variables in a Postfile with a LoopHello, My goal is to collect counts and percentage of each level of a categorical variable in a Pos…
Need help combining my race variables into one categorical variableHi, I am new to stata and need help with the above complaints. I have data that has a variable for …
Help obtaining number of previous appearances of unique ID within designated timeframeHello all, I have a "date" variable and an "ID" variable for a number of observations. I want to g…
STATA slowness or problems in my data?Dear STATA users, I am writing to ask for a general opinion on STATA. I am running a logistic multil…
Subscribe to:
Post Comments (Atom)
0 Response to Regression Discontinuity on Iraq Cholera Data
Post a Comment