Hello,
I have a dataset in excel where single observations contain data for (quarterly) wage returns of different industries as well as (quarterly) stock returns of different industries and countries. What I want to do is a simple OLS regression where I have wage returns as dependent variable. I want to regress wage returns from one country and industry to the stock returns of all industries in the same country.
I am not sure how to specify the the dependent and independent variable in the command of the OLS regression.
If I use this command:
reg WR_Q Excess_Returns if country=="Germany" & Sector=="Manufacturing"
Then I only specify this for both dependent and independent variable.
My search on google was not successful as I am not sure how to call the commands I am looking for.
I would appreciate any help with this issue.
Kind regards,
Paul Halm
I have a dataset in excel where single observations contain data for (quarterly) wage returns of different industries as well as (quarterly) stock returns of different industries and countries. What I want to do is a simple OLS regression where I have wage returns as dependent variable. I want to regress wage returns from one country and industry to the stock returns of all industries in the same country.
I am not sure how to specify the the dependent and independent variable in the command of the OLS regression.
If I use this command:
reg WR_Q Excess_Returns if country=="Germany" & Sector=="Manufacturing"
Then I only specify this for both dependent and independent variable.
My search on google was not successful as I am not sure how to call the commands I am looking for.
I would appreciate any help with this issue.
Kind regards,
Paul Halm
Comment