# 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

Don't use plagiarized sources. Get Your Custom Essay on
Linear Regression
Just from \$13/Page
275 words
Total price: \$0.00

## Top-quality papers guaranteed

### 100% original papers

We sell only unique pieces of writing completed according to your demands.

### Confidential service

We use security encryption to keep your personal data protected.

### Money-back guarantee

We can give your money back if something goes wrong with your order.

## Get free features with our reliable essay writing service

1. Title page

We offer you a free title page tailored according to the specifics of your particular style.

2. Custom formatting

Include your preferred formatting style when you order from us to accompany your paper.

3. Bibliography page

Get a list of references to go with your ordered paper.

4. 24/7 support assistance

Reach out to our support agents anytime for free assistance.

Type of paper