Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask Macroeconomics Expert

Assignment

1. Consider the data set "sat and grades.csv", which contains SAT and GPA information from 105 computer science majors at a public university. A more detailed description is listed below:

Variable Name      Description
high GPA             High School GPA
math SAT            Score on SAT math section
verb SAT             Score on SAT verbal section
comp GPA            GPA in computer science courses
univ GPA             GPA in all courses

Consider the following model:

univ GPA = b0 + b1high_GPA + e
            e ∼ N (0, s)

(a) What is the dependent variable in this model? What is the independent variable?

(b) Use R to run this simple linear regression model. Report the estimated values of b0, b1, s, and R2.

(c) At what value of high school GPA would a student be predicted to have the exact same university GPA? (Hint: do this calculation by hand using the estimates of b0 and b1 produced by R...think about the equation of the regression line and how you could use it to find this number).

(d) If a student had a 3.8 GPA in high school, what would their predicted university GPA be? What is the 95% confidence interval for this prediction? Intuitively, does the predicted value seem reasonable? Does the 95% confidence interval seem reasonable? Why or why not?

(e) If a student had a 0.0 GPA in high school, what would their predicted university GPA be? What is the 95% confidence interval for this prediction? Is it appropriate to plug in a value of 0.0 for a high school GPA (1) in a "real world" context or (2) in a statistical context? Why or why not?

(f) Use R to form a scatter plot of the data. Plot the regression line through the data. Attach the graph to your HW. For full credit, give the plot a title, label the axes clearly, and create a legend.

2. Consider the data set "RGDP 2010.csv", which contains U.S. real GDP data from the first quarter of 2010 through the third quarter of 2016.

(a) Use simple linear regression to fit a time trend to the raw data. What is the estimated value of b1? How would you interpret this coefficient?

(b) We know that RGDP tends to grow exponentially (even though it's hard to notice in this short sample). How could you transform the data so that a linear time trend would be more appropriate?

(c) Use simple linear regression to fit a time trend to the transformed data. Instead of transforming the data directly, set the option "lambda=0" in the tslm() function (this will do the transformation in the background and be useful later). What is the estimated value of b1? How would you interpret this coefficient?

(d) Inspect the residuals produced by the regression in part (c). Does the model from part (c) seem appropriate? Explain.

(e) Produce an eight period ahead forecast for U.S. real GDP using the model from part (c). Plot the observed data, the forecast, and the fitted regression line on one graph. Attach the graph to your homework. For full credit, give the graph an informative title, label all axes, and add a legend.

3. Suppose you had seasonal quarterly time series data for some variable of interest. Consider a regression model with time trend and seasonal dummies:

Y = b0 + b1t + b2Q2 + b3Q3 + b4Q4 + e
e ∼ N (0, s)

(a) When might this model be appropriate?

(b) Why didn't we include a dummy variable for Q1?

(c) What is the interpretation of b0 in this model? Explain thoroughly for full credit.

(d) What is the interpretation of b4 in this model? Explain thoroughly for full credit.

4. Suppose you had data with a trend, but you were unsure whether there were seasonal patterns. You ran two separate regressions: Regression 1, containing only a time trend, and Regression 2, containing both a time trend and seasonal dummies. After running the regressions you compute AICc and BIC for each regression. You find:

Model                 AICc      BIC
Regression 1      -200      -230
Regression 2      -210      -229

(a) What is an information criterion? Intuitively, what two factors do information cri- teria try to balance when judging a model?

(b) Which regression is preferred by AICc? By BIC?

(c) What might you be able to infer about seasonality in the data from the results AICc and BIC above? In other words, is there strong evidence that this data set has seasonality? Why or why not?

Macroeconomics, Economics

  • Category:- Macroeconomics
  • Reference No.:- M92263815
  • Price:- $60

Priced at Now at $60, Verified Solution

Have any Question?


Related Questions in Macroeconomics

Question 1what is the current state of the us government

Question: 1. What is the current state of the U.S. government budget? 2. How do fiscal policy decisions made by the government impact the budget balance? 3. How do fiscal policy decisions made by the government impact th ...

Question there is a buyer and a seller the buyer has a

Question: There is a buyer and a seller. The buyer has a valuation 40 for a usable product. The seller has a cost 0 of producing a bad product and a cost 20 of producing a good product. The sequence of events is as follo ...

Question - givensetup cost for a production equipment-625

Question - Given: Setup Cost for a production equipment-$625/ setup New setup cost -$25 per setup for a lot size of 100. Based on the data given above, answer the following questions. i. What was the lot size for the old ...

Question - the question about african economyin no more

Question - The question about African Economy In no more than about half a page to a page each, answer the following questions: What are your preconceptions of Africa? When you think of Africa, what comes to mind? Be spe ...

Question - analyze what economists mean when they say that

Question - Analyze what economists mean when they say that monetary policy can exhibit cyclical asymmetry. How does the idea of a liquidity trap relate to cyclical asymmetry? Why is this possibility of a liquidity trap s ...

Please answer the following four discussion questions1

Please Answer The Following Four Discussion Questions 1. Explain four types of unemployment 2. Explain the advantages and disadvantages of: (a) A flexible exchange rate regime (b) A fixed exchange rate regime 3. Suppose ...

Topics - mergers amp acquisition capital structure stock

Topics - Mergers & Acquisition, Capital Structure, Stock Trading etc. Q1. Develop an extensive form game with imperfect information (in which one of the players can be two or more types) that models any stylized economic ...

Question according to the definition a perfectly

Question: According to the definition, a perfectly competitive firm cannot affect the market price by any changing only its own output. Producer No. 27 in problem 2 decides to experiment by producing only 8 units. a. Wha ...

Question - the supply and demand curves for a given

Question - The supply and demand curves for a given commodity are given by S(p) = 0.02(1 + p) 2 and D(p) = 10e -0.02 p where S(p) and D(p) are quantities and the price p is measured in dollars. Use the Malaren's series e ...

Question - someone calculated the future worth of his

Question - Someone calculated the future worth of his investment in term of today's dollars. The obtained result was 945, 895. The life of the investment is expected to be 20 years. The average annual inflation rate alon ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As