Dear All,
I have a panel dataset and I would like to “rolling” regress my dependent variable on a main variable of interest (plus several controls).
Just to give you more details, my id variable is represented by a numerical code which also proxies for geographical distance. Then, in order to account for spillover threats, I would like to regress the dependent variable of each id unit i on the main control ranging in an interval i - n, i + n, unit i included as well, over the time dimension of my sample.
I tried to use the rolling command, but actually I did not figure out a proper way to deal with this question.
Any suggestion?
Many thanks in advance.
Best regards,
Pasquale Giacobbe
Related Posts with Rolling regression on id units sub-intervals
Inconsistent results with -areg-, -xtreg- and factor variables.Hi Statalist. I am estimating a model with fixed effects and factor variables. I can estimate it us…
Calculating Additional Goodness of Fit indices for a GSEM containing PoissonI'm in the process of trying to obtain additional goodness of fit indices besides the AIC and BIC fo…
Trying to get same results from Book: Logistic Regression Models. Hilbe J, 2009.Hi all, I am I am trying to replicate some results from book: Logistic Regression Models. Hilbe J, …
Restrictive first order stochastic dominance, Davidson and Duclos (2009)Dear all, I am currently working on a project where I am comparing the distribution of clinical tria…
Create panel dataHi, I have some troubles with this data set to transform it into standard panel form with observatio…
Subscribe to:
Post Comments (Atom)
0 Response to Rolling regression on id units sub-intervals
Post a Comment