Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
0% found this document useful (0 votes)
4 views

Tutorial 4 Assignment 2

WWU empirical

Uploaded by

Livingston W.
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
4 views

Tutorial 4 Assignment 2

WWU empirical

Uploaded by

Livingston W.
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

Assignment 2

Note: Please save all your code in a single do-file with your matriculation number, last name and assignment
number (e.g. 12345_mustermann_assignment2.do) and send it to edona.selimaj@wiwi.uni-muenster.de be-
fore 07/11/24 9:00 am. Make sure that you answer each specific question using comments in your do-file.
(Sub-)Tasks should be separated by comments as well. Only exercises 1-3 have to be handed in, although
you should also prepare exercise 4.

1. The dataset EL_1_Tut4_Ex1.dta contains information on US companies’ earnings per share (eps) and
the respective dividends per share (div). Your task is to analyze the relationship between the two vari-
ables.

a. How many observations contain earnings per share that are equal to or smaller than zero? Use the
count if command. Also make sure that there are only positive dividend payments in the data.

b. Check if the variable div is normally distributed. Compare the density function of the variable with
the density function of the normal distribution. Check your assessment with a formal test and interpret
the results.

c. Estimate the regression model div = β1 + β2∙eps + e and briefly comment on the sign and the signif-
icance of the explanatory variable. What is R² for this regression? What does this value tell you in
this example?

d. Generate the variable ln_div which takes the natural logarithm of the variable div. Explain why you
cannot apply the logarithm to the variable eps.

e. Estimate the regression model ln(div) = β1 + β2∙eps + e and interpret the coefficient β2. Compare this
model’s performance to the one from subtask c).

2. What is a fitting prediction model for a volatile share? In dataset EL1_SA2_Ex2.dta you can find a 48
months-time series with share prices of an oil and gas conglomerate OILLUK. The share prices are
taken from the first trading day each month from the respective stock exchange. Consider the following
equations for your analysis:

(1) oillukt = β1 + β2 time+ et


(2) oillukt = 1 + 2 ln(time)+ et
(3) oillukt = 1 + 2 time2+ et

Empirical Lab WS 2024/2025 – Assignment 2: Linear Regressions –1–


a. Generate the transformed variables and estimate the regression equations above. Briefly comment on
your results.

b. After estimating each equation above, generate a new variable containing the prediction of the de-
pendent variable (ŷ). Use the predict newvar, xb (variable name usually contains yhat for ŷ)
command. Also generate the estimated residuals (ê) with the predict newvar, residuals
(variable name usually contains ehat for ê) command.

c. In your opinion, which of the three models fits best to the share price data of OILLUK? For your
reasoning, make use of (i) graphs of the estimated equation, (ii) residual plots, (iii) tests for normal
distribution of residuals and (iv) values of R2.

Possible command for (i): line oilluk time || line yhat_varname time

Possible command for (ii): rvpplot indepvar, yline(0)

d. For each model, calculate the estimated OILLUK price for month time=49. Use the display com-
mand and state your calculation method.

e. Calculate the estimations of the slope yt/dt for time=49. Comment on the results. In addition, discuss
the change of interpretation of the coefficients before and after the explanatory variable was trans-
formed.

3. The goal is to empirically assess the relationship between market capitalization of a company (share
price multiplied with number of shares) and its beta value. You have a data set of the NYSE Alternext
market available. NYSE Alternext is a market for young companies in Europe. In the data set
EL1_SA2_Ex3.dta you can find cross-sectional data with 712 observations. Variables consist of
datastream code (ds_code), beta value (beta), market capitalization in USD million (market_value) as
well as the industry of each company (industry).

a. Check first if there are missing values and delete observations that have missing values for beta. Then
make sure that market_value does not contain any faulty values and there are no negative values for
beta and market_value in the data set. How many observations remain in the data set?

b. Look at the mean, standard deviation, median and quartiles of beta and market_value. What do you
notice? What can you conclude for the density function?

c. Estimate the linear regression beta = β1 + β2 market_value + e. Discuss the economic significance
of the coefficients. Rescale variables to improve the economic significance as appropriate. Estimate
the regression again in this case and interpret the results (e.g., value and statistical significance of the
coefficient according to a 5%-level, R2).

Empirical Lab WS 2024/2025 – Assignment 2: Linear Regressions –2–


d. Estimate the regression again for the subsample industries (i) Financials and (ii) Basic Materials. Use
the command regress depvar indepvar if. Do you notice differences to the regression in
c)? Discuss your results using the same criteria as above.

4. In financial economics, the Capital Asset Pricing Model (CAPM) explains the fluctuations of the return
of a share dependent on the return of the market portfolio. Generally, the return of an asset is measured
relatively to the opportunity costs of investing in a risk-free asset. The difference between the return of
a risky asset and a risk-free asset is called risk premium. According to the CAPM, the risk premium of
an asset j is proportional to the risk premium of the market portfolio:

𝑟𝑗 − 𝑟𝑓 = 𝛽𝑗 ∙ (𝑟𝑚 − 𝑟𝑓 ).

rj is the return of the asset, rf is the risk-free rate, rm is the return of the market portfolio and βj is the
beta-value of j. Beta measures the sensitivity of the asset return to fluctuations in the whole market. A
beta smaller than 1 indicates that the asset fluctuates less than the market (“defensive share“). A beta
greater than 1 indicates an “aggressive” share, as it fluctuates more strongly than the market. The econ-
ometric equivalent of the above model is obtained by adding the intercept and the error term:

𝑟𝑗 − 𝑟𝑓 = 𝛼𝑗 + 𝛽𝑗 ∙ (𝑟𝑚 − 𝑟𝑓 ) + 𝑒.

a. Explain why the above econometric model is a simple linear regression model. Argue based on the
formula for a linear relationship discussed in the lecture.

b. In the dataset EL_1_Tut4_Ex4.dta you can find monthly returns of shares of six companies. Addi-
tionally, you can find the variable mkt with the monthly market returns as well as the risk-free rate rf.
The 141 observations cover the period from January 2009 to September 2020. Estimate the CAPM
for every company and comment on the estimated beta-values. Which shares are aggressive, which
are defensive?

c. Theory says that the axis intercept αj is 0. Does this coincide with your estimations? Generate a scat-
terplot with the estimated regression line and see if the regression line runs through the origin. Inter-
pret the p-values of the intercepts according to a two-tailed hypothesis test at a 5% level.

d. Estimate the model for every company under the assumption αj = 0. Use the command regress
depvar indepvar, noconstant. Do the beta-values change? How does this estimation in-
fluence your categorization as aggressive/defensive?

Empirical Lab WS 2024/2025 – Assignment 2: Linear Regressions –3–

You might also like