hello everyone , I am using cross-section data .
my data is contained :
--number of birth in 2020 ( monthly data )
--unemployment in 2020( monthly data )
--gdp in 2020( yearly data )
--stringency data in 2020( monthly data )
-- all of the monthly data are from January to Dec(12month)
I want to see the response of birth after lock-downing in some countries, but it is a cross-section and for 2020.
how can I use a 9-month lag of dependent variable in my regression? because assuming the lockdown happens in January, so I want to see the response after 9-month.
but in cross-section I cannot use the "tsset" to declare time series .
this is part of my dataset ":
i am so thankful to recieve your guidance .
many thanks for your valuable time and advice .
best regards ,
my data is contained :
--number of birth in 2020 ( monthly data )
--unemployment in 2020( monthly data )
--gdp in 2020( yearly data )
--stringency data in 2020( monthly data )
-- all of the monthly data are from January to Dec(12month)
I want to see the response of birth after lock-downing in some countries, but it is a cross-section and for 2020.
how can I use a 9-month lag of dependent variable in my regression? because assuming the lockdown happens in January, so I want to see the response after 9-month.
but in cross-section I cannot use the "tsset" to declare time series .
this is part of my dataset ":
Code:
Country year GDP Country1 GDP1 id month birth unem school_closing Workplace_closing Cancel_publicevent HUN 2020 -3.1 HUN -3.1 28 April 2853 11.1 2.9333333 2 2 CONNECTICUT 2020 98.746 CONNECTICUT 98.746 12 April 2822 8.6 3 3 2 NEW YORK 2020 105.97 NEW YORK 105.97 54 April 4533 2.9333333 2.9 2 HAWAII 2020 102.967 HAWAII 102.967 26 April 10769 16.5 3 3 2 BGR 2020 -4 BGR -4 7 April 4712 5.9 3 1 2
i am so thankful to recieve your guidance .
many thanks for your valuable time and advice .
best regards ,
Comment