Dear all,
I intend to use rangestat command to do a regression by industry, using recursive 3-year windows. For rolling 3-year windows, I have:
rangestat (reg) y x1 x2, interval(year -3 0) by(setor)
It is a panel data, with multiple ids, years and industries. How can I do use rangestat for recursive windows, setting the 3-year interval?
Thank you all.
Related Posts with Rangestat with recursive window
Keep variable1 if 1 observation per year OR*the minimum number for a variable2 if > 1 observations per yearNeed help! My goal is to write code to keep a single HbA1c value per year closest to each participan…
How to create new columns for each country observation and count this number of countries?Dear all, I wanted your help with the following. I am working on a patent project and in the follow…
How to Modify Stata Data (Dta file) using python code and save changes back to the dta fileI have 2000 observations and 100 variables in my data from an empirical research project. I am curre…
Combine histogram and connected line graph over timeDear Statalist forum users, I came across this graph in a published paper and want to produce a simi…
Cross sectional dependence for firm panel dataDo we conduct a cross sectional dependence test for panel data with N being listed firms and T being…
Subscribe to:
Post Comments (Atom)
0 Response to Rangestat with recursive window
Post a Comment