Linear Regression

a) Obtain time series of real GDP and real consumption for a country of your choice. Provide details.(b) Display time-series plots and a scatterplot (put consumption on the vertical axis).(c) Convert your series to growth rates in percent, and again display time series plots.(d) For each series, ,provide summary statistics (e.g., mean, standard deviation, range, skewness, kurtosis,…).(e) Run a simple OLS linear regression in R and interpret its coefficient estimates.(f) Interpret goodness-of-fit metrics for OLS linear regression.(g) Relate R2 with correlation coefficient.Problem 2Monte Carlo experiment: Consider the following model:Yi = β1 + β2Xi + uiYou are told that β1 = 25,β2 = 0.5,σ 2 = 9, and ui ∼ N(0, 9).Assume ui ∼ N(0, 9), that is, ui are normally distributed with mean 0 and variance 9. Generate 10 sets of64 observations on ui from the given normal distribution and use the 64 observations on X given in Table 2, to generate 100 sets of the estimated β coefficients (each set will have the two estimated parameters). Takethe averages of each of the estimated β coefficients and relate them to the true values of these coefficientsgiven above. What overall conclusion do you draw?1For more information on Linear Regression check on:https://en.wikipedia.org/wiki/Linear_regression

DNP Role Presentation

Don't use plagiarized sources. Get Your Custom Essay on
Linear Regression
Just from $13/Page
Order Essay
                                                                                                                        ACME Writers