Docsity

Regression Analysis and Correlation, Exams of Mathematics

Toggle sidebar
bg1
CFA L2 Quantitative
Methods Exam
Questions and Complete
Solutions Graded A+
LOS 9 - Correlation and Regression - Answer:
Covariance - Answer: between two random variables is a statistical measure of the degree to which two
variables move together. Captures the linear relationship between two variables. the actual value is not
not very meaningful b/c its measurement is extremely sensitive to the scale of the two variables.
Correlation coefficient - Answer: converts the covariance into a standardized measure that is easier to
interpret.
The cc, or r, is a measure of the strength of the linear relationship between two variables.
Has no unit of measurement, but it is a pure measure of the tendency of two variables to move together
Sample Covariance - Answer:
sample correlation coefficient - Answer:
Interpretation of Correlation Coefficient - Answer:
Limitations of correlation analysis - Answer: the impact of outliers, the potential for spurious correlation,
and nonlinear relationships
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e
pf1f
pf20
pf21
pf22

Partial preview of the text

Download Regression Analysis and Correlation and more Exams Mathematics in PDF only on Docsity!

CFA L2 Quantitative

Methods Exam

Questions and Complete

Solutions Graded A+

LOS 9 - Correlation and Regression - Answer: Covariance - Answer: between two random variables is a statistical measure of the degree to which two variables move together. Captures the linear relationship between two variables. the actual value is not not very meaningful b/c its measurement is extremely sensitive to the scale of the two variables. Correlation coefficient - Answer: converts the covariance into a standardized measure that is easier to interpret. The cc, or r, is a measure of the strength of the linear relationship between two variables. Has no unit of measurement, but it is a pure measure of the tendency of two variables to move together Sample Covariance - Answer: sample correlation coefficient - Answer: Interpretation of Correlation Coefficient - Answer: Limitations of correlation analysis - Answer: the impact of outliers, the potential for spurious correlation, and nonlinear relationships

Outliers - Answer: computed correlation coefficients, as well as other sample statistics, may be affected by outliers. These represent a few extreme values for sample observations. Relative to the rest for he sample data, the value of an outlier may be extraordinarily large or small. Spurious correlation - Answer: the appearance of a causal linear relationship when, in fact, there is no relation. Certain data items may be highly correlated purely by chance. Nonlinear relationships - Answer: Two variables could have a nonlinear relationship yet a zero correlation. Therefore, another limit of correl analysis is that it doesnt capture strong non linear relationships among variables LOS 9.c: Formulate a test of the hypothesis that the population correlation coefficient equals zero and determine whether the hypothesis is rejected at a given level of significance. - Answer: Assuming that the two populations are normally distributed, we can use a t-test to determine whether the null hypothesis should be rejected. The test statistic is computed using the sample correlation, r, with n - 2 degrees of freedom (df): - Answer: Example: Test of significance for the correlation coefficient Using the information from the table in Figure 1, determine if the sample correlation is significant at the 5% level of significance. - Answer: LOS 9.d: Distinguish between the dependent and independent variables in a linear regression. - Answer: Purpose of a simple linear regression - Answer: to explain the variation in a dependent variable in terms of the variation in a single independent variable. Dependent variable - Answer: the variable whose variation is explained by the independent variable. We are interested in answering the question, "what explains fluctuations in the dependent variable?" (also referred to as the explained variable, the endogenous variable, of the predicted variable). Independent variable - Answer: the variable used to explain the variation of the dependent variable. (also referred to as the explanatory variable, the exogenous variable, or the predicting variable".)

intercept term: when the excess return on X is zero, the return on Y is b However, tany conclusions regarding the importance of an independent variable in explaining a dependent variable require determining the statistical significance of the slope coefficient. A hypothesis test must be conducted, or a confidence interval must be formed, to assess the importance of the variable. LOS 9.f: Calculate and interpret the standard error of estimate, the coefficient of determination, and a confidence interval for a regression coefficient. - Answer: Standard error of estimate (SEE) - Answer: measures the degree of variability of the actual Y values relative to the estimated Y values from a regression equation. The smaller the standard error the better fit. =MSE square rooted The SEE is the standard deviation of the error terms in the regression coefficient of determination (R^2) - Answer: Rsquared is defined as the percentage of the total variation in the dependent variable explained by the independent variable. May range from 0:+ Regression coefficient confidence interval Hypothesis testing for a regression coefficient may use the confidence interval for the coefficient being tested. For instance, a frequently asked question is whether an estimated slope coefficient is statistically different from zero. - Answer: Standard error of the regression coefficient - Answer: Example: Calculating the confidence interval for a regression coefficient

The estimated slope coefficient, b1, from the ABC regression is 0.64 with a standard error equal to 0.26. Assuming that the sample had 36 observations, calculate the 95% confidence interval for b1. - Answer: LOS 9.g: Formulate a null and alternative hypothesis about a population value of a regression coefficient and determine the appropriate test statistic and whether the null hypothesis is rejected at a given level of significance. - Answer: Example: Hypothesis test for significance of regression coefficients The estimated slope coefficient from the ABC example is 0.64 with a standard error equal to 0.26. Assuming that the sample has 36 observations, determine if the estimated slope coefficient is significantly different than zero at a 5% level of significance. - Answer: LOS 9.h: Calculate the predicted value for the dependent variable, given an estimated regression model and a value for the independent variable - Answer: Predicted Values - Answer: values of the dependent variable based on the estimated regression coefficients and a prediction about the value of the independent variable. They are the values that are predicted by the regression equation, given an estimate of the independent variable. LOS 9.i: Calculate and interpret a confidence interval for the predicted value of the dependent variable. - Answer: Confidence Intervals for Predicted Values - Answer: Example: Confidence interval for a predicted value Calculate a 95% prediction interval on the predicted value of ABC excess returns from the previous example. Suppose the standard error of the forecast is 3.67, and the forecasted value of S&P 500 excess returns is 10%. - Answer:

F statistic - Answer: MSR/MSE=(RSS/k)/(SSE/(n-k-1)) MSR = mean regression of sum of squares MSE = mean squared error This is always a one tailed test not as useful when we only have one independent variable b/c it tells us the same this as the t test of the slope coefficient. F- stat with one independent variable - Answer: Example: Calculating and interpreting the F-statistic Use the completed ANOVA table from the previous example to calculate and interpret the F-statistic. Test the null hypothesis at the 5% significance level that the slope coefficient is equal to 0. - Answer: Limitations of multiple regression - Answer: 1. Linear relationships can change over time. This means that the estimation equation based on data from a specific time period may not be relevant for forecasts or predictions in another time period. This is referred to as parameter instability.

  1. Even if the regression model accurately reflects the historical relationship between the two variables, its usefulness in investment analysis will be limited if other market participants are also aware of an act on this evidence.
  2. If the assumptions underlying regression analysis do not hold, the interpretation and tests of hypotheses may not be valid. For example, if the data is heteroskedastic (non-constant variance of the error terms) or exhibits autocorrelation (error terms are not independent), regression results may be invalid. LOS 10 - Multiple Regression - Answer: Multiple regression is the centerpiece of the quantitative methods topic at Level II. It is a useful analysis tool that shows up throughout the Level II curriculum. Multiple regression is especially important for multifactor models in Study Sessions 9 (Equity), and 17 (Portfolio Management). Know this material well.

You should know how to use a t-test to assess the significance of the individual regression parameters and an F-test to assess the effectiveness of the model as a whole in explaining the dependent variable. You should understand the effect that heteroskedasticity, serial correlation, and multicollinearity have on regression results. Also be able to identify the common model misspecifications. Focus on interpretation of the regression equation and the test statistics. Remember that most of the test and descriptive statistics discussed (e.g., t-stat, F-stat, and R2) are provided in the output of statistical software. Hence, application and interpretation of these measurements are more likely than actual computations on the exam. How to analyze a regression model - Answer: Examine the individual coefficients using t-tests, determine the validity of the model with the F-test and the R2, and look out for heteroskedasticity, serial correlation, and multicollinearity. Multiple Regression definition - Answer: is regression analysis with more than one independent variable. It is used to quantify the influence of two or more independent variables on a dependent variable. For instance, simple (or univariate) linear regression explains the variation in stock returns in terms of the variation in systematic risk as measured by beta. With multiple regression, stock returns can be regressed against beta and against additional variables, such as firm size, equity, and industry classification, that might influence returns. LOS 10.a: Formulate a multiple regression equation to describe the relation between a dependent variable and several independent variables and determine the statistical significance of each independent variable. - Answer: LOS 10.b: Interpret estimated regression coefficients and their p-values. - Answer: partial slope coefficient - Answer: another name for the coefficients in a multiple regression Professor's Note: Testing the statistical significance of the regression coefficients means - Answer: conducting a t-test with a null hypothesis that the regression coefficient is equal to zero. Rather than cover that concept here, even though it is mentioned in this LOS, we will cover it in detail in a later LOS as part of our general discussion of hypothesis testing

Interpreting p-Values - Answer: The p-value is the smallest level of significance for which the null hypothesis can be rejected. An alternative method of doing hypothesis testing of the coefficients is to compare the p-value to the significance level: •If the p-value is less than significance level, the null hypothesis can be rejected. •If the p-value is greater than the significance level, the null hypothesis cannot be rejected. Example: Testing regression coefficients (two-tail test) Using the data from Figure 2, test the null hypothesis that PR is equal to 0.20 versus the alternative that it is not equal to 0.20 using a 5% significance level. - Answer: Example: Testing regression coefficients (one-tail test) Using the data from Figure 2, test the null hypothesis that the intercept term is greater than or equal to - 10.0% versus the alternative that it is less than -10.0% using a 1% significance level. - Answer: LOS 10.e: Calculate and interpret

  1. a confidence interval for the population value of a regression coefficient and
  2. a predicted value for the dependent variable, given an estimated regression model and assumed values for the independent variables. - Answer: Example: Calculating a confidence interval for a regression coefficient Calculate the 90% confidence interval for the estimated coefficient for the independent variable PR in the real earnings growth example. - Answer: The critical t-value is 1.68, the same as we used in testing the statistical significance at the 10% significance level (which is the same thing as a 90% confidence level). The estimated slope coefficient is 0.25 and the standard error is 0.032. The 90% confidence interval is: 0.25 ± (1.68)(0.032) = 0.25 ± 0.054 = 0.196 to 0.

Professor's Note: Notice that because zero is not contained in the 90% confidence interval, we can conclude that the PR coefficient is statistically significant at the 10% level—the same conclusion we made when using the t-test earlier in this topic review. Constructing a confidence interval and conducting a t-test with a null hypothesis of "equal to zero" will always result in the same conclusion regarding the statistical significance of the regression coefficient. predicting the dependent variable - Answer: We can use the regression equation to make predictions about the dependent variable based on forecasted values of the independent variables. The process is similar to forecasting with simple linear regression, only now we need predicted values for more than one independent variable it does not matter if there are statistically insig variables - use the full model Example: Calculating a predicted value for the dependent variable An analyst would like to use the estimated regression equation from the previous example to calculate the predicted 10-year real earnings growth for the S&P 500, assuming the payout ratio of the index is 50%. He observes that the slope of the yield curve is currently 4%. - Answer: LOS 10.f: Explain the assumptions of a multiple regression model. - Answer: LOS 10.g: Calculate and interpret the F-statistic, and describe how it is used in regression analysis. - Answer: Example: Calculating and interpreting the F-statistic An analyst runs a regression of monthly value-stock returns on five independent variables over 60 months. The total sum of squares is 460, and the sum of squared errors is 170. Test the null hypothesis at the 5% significance level that all five of the independent variables are equal to zero. - Answer: LOS 10.h: Distinguish between and interpret the R2 and adjusted R2 in multiple regression. - Answer:

classes, we must use n - 1 dummy variables. Otherwise, the regression assumption of no exact linear relationship between independent variables would be violated. Example: Hypothesis testing with dummy variables The standard error of the coefficient b1 is equal to 0.15 from the EPS regression model. Test whether first quarter EPS is equal to fourth quarter EPS at the 5% significance level. - Answer: We are testing the following hypothesis : H0: b1 = 0 vs. HA: b1 ≠ The t-statistic is 0.75/0.15 = 5.0 and the two-tail 5% critical value with 36 degrees of freedom is approximately 2.03. Therefore, we should reject the null and conclude that first quarter EPS is statistically significantly different than fourth quarter EPS at the 5% significance level. When these assumptions are violated, the inferences drawn from the model are questionable. There are three primary assumption violations that you will encounter: On exam day, you must be able to answer the following four questions about each of the three assumption violations:•What is it?•What is its effect on regression analysis?•How do we detect it?•How do we correct for it? - Answer: (1) heteroskedasticity, (

  1. serial correlation (i.e., autocorrelation), and (3) multicollinearity. LOS 10.k: Explain the types of heteroskedasticity and how heteroskedasticity and serial correlation affect statistical inference. - Answer: homoskedasticity - Answer: refers to the basic assumption of a multiple regression model that the variance of the error terms is constant.

Heteroskedacity - Answer: occurs when the variance of the residuals is not the same across all observations in the sample. This happens when there are subsamples that are more spread out than the rest of the sample. Conditional Heteroskedacity - Answer: is heteroskedasticity that is related to the level of (i.e., conditional on) the independent variables. For example, conditional heteroskedasticity exists if the variance of the residual term increases as the value of the independent variable increases, as shown in Figure 4. Notice in this figure that the residual variance associated with the larger values of the independent variable, X, is larger than the residual variance associated with the smaller values of X. Conditional heteroskedasticity does create significant problems for statistical inference unconditional heteroskedacity - Answer: occurs when the heteroskedasticity is not related to the level of the independent variables, which means that it doesn't systematically increase or decrease with changes in the value of the independent variable(s). While this is a violation of the equal variance assumption, it usually causes no major problems with the regression four effects of heteroskedasticity - Answer: 1. the standard errors are usually unreliable estimates

  1. The coefficient estimates aren't affected
  2. If the standard errors are too small, but the coefficient estimates themselves are not affected, the t stats will be too large and null hypothesis of no statistical significance is rejected too often. the opposite will be true if the std. errors are too large
  3. The f test is also unreliable two methods of detecting heteroskedasticity - Answer: examining scatter plots of the residuals and using the Breusch-Pagan Chi square test. If X and Y are perfectly correlated... - Answer: Regressing Y onto X will result in the standard error of estimate will be zero. bp chi squared test - Answer: Example: The Breusch-Pagan test

These small standard error terms will cause the computed t-statistics to be larger than they should be, which will cause too many Type I errors: the rejection of the null hypothesis when it is actually true. The F-test will also be unreliable because the MSE will be underestimated leading again to too many Type I errors. Detecting Serial Correlation - Answer: There are two methods that are commonly used to detect the presence of serial correlation: residual plots and the Durbin-Watson statistic Residual Plots of Serial Correlation - Answer: Durbin-Watson statistic - Answer: You can see from the approximation that the Durbin-Watson test statistic is approximately equal to 2 if the error terms are homoskedastic and not serially correlated (r = 0). DW < 2 if the error terms are positively serially correlated (r > 0), and DW > 2 if the error terms are negatively serially correlated (r < 0). Figure 6: Durbin-Watson Decision Rule - Answer: Example: The Durbin-Watson test for serial correlation Suppose you have a regression output which includes three independent variables that provide you with a DW statistic of 1.23. Also suppose that the sample size is 40. At a 5% significance level, determine if the error terms are serially correlated. - Answer: Answer: From a 5% DW table with n = 40 and k = 3, the upper and lower critical DW values are found to be dl = 1.34 and du = 1.66, respectively.

Since DW < dl (i.e., 1.23 < 1.34), you should reject the null hypothesis and conclude that the regression has positive serial correlation among the error terms. correcting serial correlation - Answer: 1. adjust the coefficient standard errors, using the hansen method. the hansen method also corrects for conditional heteroskedasticity. these adjusted standard errors, which are sometimes called serial correlation consistent standard errors or hansen-white standard errors, are then used in hypothesis testing of the regression coefficients. Only use the hansen method if serial correlation is a problem. the white corrected standard errors are preferred if only heteroskedasticity is a problem. if both conditions are present, use the hansen method.

  1. Improve the specification of the model, the best way to do this is to explicitly incorporate the time series nature of the data. LOS 10.l: Describe multicollinearity and explain its causes and effects in regression analysis. - Answer: Multicolinearity - Answer: Multicollinearity refers to the condition when two or more of the independent variables, or linear combinations of the independent variables, in a multiple regression are highly correlated with each other. This condition distorts the standard error of estimate and the coefficient standard errors, leading to problems when conducting t-tests for statistical significance of parameters. Effect of Multicollinearity on Regression Analysis - Answer: Even though multicollinearity does not affect the consistency of slope coefficients, such coefficients themselves tend to be unreliable. Additionally, the standard errors of the slope coefficients are artificially inflated. Hence, there is a greater probability that we will incorrectly conclude that a variable is not statistically significant (i.e., a Type II error). Multicollinearity is likely to be present to some extent in most economic models. The issue is whether the multicollinearity has a significant effect on the regression results. Detecting Multicolinearity - Answer: The most common way to detect multicollinearity is the situation where t-tests indicate that none of the individual coefficients is significantly different than zero, while the F-test is statistically significant and the R2 is high. This suggests that the variables together explain much of the variation in the dependent variable, but the individual independent variables don't.

Regression model specification - Answer: is the selection of the explanatory (independent) variables to be included in the regression and the transformations, if any, of those explanatory variables However, there are several different types of models that use a qualitative dependent variable - Answer: Probit and Logit discriminant Probit and logit models - Answer: a probit model is based on the normal distribution, while a logit model is based on the logistic distribution. Application of these models results in estimates of the probability that the event occurs (pd). The maximum likelihood methodology is used to estimate coefficients for probit and logit models. These coefficients relate the independent variables to the likelihood of an event occurring, such as a merger, bankruptcy, or default Discriminant model - Answer: similar to p+L models but make different assumptions regarding the independent variables. Discrimination analysis results in a linear function similar to an ordinary regression, which generates an overall score, or ranking, for an observation. the scores can then be used to rank or classify observations. A popular application of a discriminant model makes use of financial ratios as the independent variables to predict the qualitative dependent variable bankruptcy. A linear relationship among the independent variables produces a value for the dependent variable that places a company in a bankrupt or not bankrupt class. LOS 10.o: Evaluate and interpret a multiple regression model and its results. - Answer: The economic meaning of the results of a regression estimation focuses primarily on the slope coefficients. For example, suppose that we run a regression using a cross section of stock returns (in percent) as the dependent variable, and the stock betas (CAPM) and market capitalizations (in $ billions) as our independent variables Assessing a Multiple Regression Model—Putting It All Together - Answer: Time-Series Analysis LOS 11 - Answer: A time series is a set of observations of a random variable spaced evenly through time (e.g., quarterly sales revenue for a company over the past 60 quarters). For the exam, given a regression output, identifying violations such as heteroskedasticity, nonstationarity, serial

correlation, etc., will be important, as well as being able to calculate a predicted value given a time- series model. Know why a log-linear model is sometimes used; understand the implications of seasonality and how to detect and correct it, as well as the root mean squared error (RMSE) criterion. LOS 11.o: Determine an appropriate time-series model to analyze a given investment problem and justify that choice - Answer: To determine what type of model is best suited to meet your needs, follow these guidelines:

  1. Determine your goal 2.If you have decided on using a time series analysis for an individual variable, plot the values of the variable over time and look for characteristics that would indicate nonstationarity 3.If there is no seasonality or structural shift, use a trend model 4.Run the trend analysis, compute the residuals, and test for serial correlation using the Durbin Watson test. 5.If the data has serial correlation, reexamine the data for stationarity before running an AR model. If it is not stationary, treat the data for use in an AR model as follows: 6.After first-differencing in 5 above, if the series is covariance stationary, run an AR(1) model and test for serial correlation and seasonality. 7.Test for ARCH. Regress the square of the residuals on squares of lagged values of the residuals and test whether the resulting coefficient is significantly different from zero. 8.If you have developed two statistically reliable models and want to determine which is better at forecasting, calculate their out-of-sample RMSE.
  2. Determine your goal - Answer: •Are you attempting to model the relationship of a variable to other variables (e.g., cointegrated time series, cross-sectional multiple regression)? •Are you trying to model the variable over time (e.g., trend model)?