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

Economics assignment -topic evaluation of macroeconomic

Economics Assignment - Topic: Evaluation of Macroeconomic performance of Australia and New Zealand. Task Details: Complete a research-based analysis and evaluation of the relative macroeconomic performance of Australia a ...

Introductory economics assignment -three problem-solving

Introductory Economics Assignment - Three Problem-Solving Questions. Question 1 - Australia and Canada have a free trade agreement in which, Australia exports beef to Canada. a. Draw a graph and use it to explain and ill ...

Question in an effort to move the economy out of a

Question: In an effort to move the economy out of a recession, the federal government would engage in expansionary economic policies. Respond to the following points in your paper on the actions the government would take ...

Question are shareholders residual claimants in a publicly

Question: Are shareholders residual claimants in a publicly traded corporation? Why or why not? In some industries, like hospitals, for-profit producers compete with nonprofit ones. Who is the residual claimant in a nonp ...

Discussion questionsquestion 1 what are the main reasons

Discussion Questions Question 1: What are the main reasons why Nigerians living in extreme poverty? Justify. ( 7) Question 2: Why GDP per capita wouldn't be an accurate measure of the welfare of the average Nigerian? Exp ...

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 jones is one of 100000 corn farmers in a perfectly

Question: Jones is one of 100,000 corn farmers in a perfectly competitive market. What will happen to the price she can charge if: a. The rental price on all farmland increases as urbanization turns increasing amounts of ...

Question good x is produced in a perfectly competitive

Question: Good X is produced in a perfectly competitive market using a single input, Y, which is itself also supplied by a perfectly competitive industry. If the government imposes a price ceiling on Y, what happens to t ...

Question pepsico produces both a cola and a major brand of

Question: PepsiCo produces both a cola and a major brand of potato chips. Coca-Cola produces only drinks. When might it make sense for PepsiCo to divest its potato chip operations? For Coca-Cola to begin manufacturing sn ...

Question again demand is qd 32 - 15p and supply is qs -20

Question: Again, demand is QD = 32 - 1.5P and supply is QS = -20 + 2.5P. Now, however, buyers and sellers have transaction costs of $2 and $3 per unit, respectively. Compare the equilibrium values with those you calculat ...

  • 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