Hi,
I have an unbalanced panel dataset with 1696 cross-sectional units and 16 time points (years). I want to run a simple bivariate time series regression for each cross-sectional unit and save the coefficient of the independent variable for all 1696 cross sectional regressions. Below is the regression I would like to run for each cross-sectional unit.
where Cash represents cash holdings of a firm in a given year.
It is also important to note that since my dataset is unbalanced, the number of time points available for each cross-sectional regression may not be the same due to missing observations.
Any help in this regard is highly appreciated.
I have an unbalanced panel dataset with 1696 cross-sectional units and 16 time points (years). I want to run a simple bivariate time series regression for each cross-sectional unit and save the coefficient of the independent variable for all 1696 cross sectional regressions. Below is the regression I would like to run for each cross-sectional unit.
Code:
reg D.Cash L.D.Cash
It is also important to note that since my dataset is unbalanced, the number of time points available for each cross-sectional regression may not be the same due to missing observations.
Any help in this regard is highly appreciated.
Comment