I am looking at the industry and country effect in 16 countries and 10 industries and how these effects emerge over time. My dataset consists of daily rate of returns (RoR) from 1975 to 2018. To get the country and industry effect I created dummy variables for each country and each industry. I want to run a weekly/yearly cross sectional regression with the dependent variable being the rate of return and the independent variables are the dummy variables created. This is done for each country and each industry so that I would like to do
1.
Code:
regress RoR MatsD GdsD SvsD FinD HealthD IndD OilD TechD TeleD UtilsD AustriaD BelgiumD DenmarkD FinlandD FranceD GermanyD GreeceD IrelandD ItalyD NetherlandsD NorwayD PortugalD SpainD SwedenD SwitzerlandD UnitedKingdomD
To do this I used the following code:
2.
Code:
bys year Country: asreg RoR MatsD GdsD SvsD FinD HealthD IndD OilD TechD TeleD UtilsD AustriaD BelgiumD DenmarkD FinlandD FranceD GermanyD GreeceD IrelandD ItalyD NetherlandsD NorwayD PortugalD SpainD SwedenD SwitzerlandD UnitedKingdomD
Furthermore, this yield equally weighted estimates. Is there a way to include value weighted estimates? Is there a way to include
Code:
[aweight=weight]
0 Response to Industry and Country effect cross sectional regression
Post a Comment