Question

In: Statistics and Probability

Can someone please explain how to do the steps for this? I already have part a...

Can someone please explain how to do the steps for this? I already have part a completed but I need help with b-e. Thank you.

Problem 1:

(a) What is spurious regression? Explain.

(b) Assuming , randomly generate 1000 observations of variables X and Y using the following equations:

Report the graphs of X and Y.

(c) Run the regression: and report the estimated results.

(d) What did you expect about the magnitudes and R-square? How are the estimated values different from your expectations?

(e) In HW 2 problem 1, you estimated a regression of personal consumption expenditures (PCE) on personal disposable income (PDI). Both PCE and PDI were time series data. Explain why that regression was not spurious.

Solutions

Expert Solution

part b)

x=rnorm(n = 1000,mean = 0,sd = 1)
epsilon = rnorm(n=1000,mean = 0,sd = 2)
y = 0.5+ 2*x+ epsilon
summary(y)

Min. 1st Qu. Median Mean 3rd Qu. Max.
-7.5327 -1.3857 0.5624 0.5317 2.4416 10.5398

plot(x,y)c) model.linear = lm(y~x)
summary(model.linear)

Call:

lm(formula = y ~ x)

Residuals:

Min 1Q Median 3Q Max

-6.5487 -1.4064 -0.0183 1.3948 7.4133

Coefficients:

Estimate Std. Error t value Pr(>|t|)   

(Intercept) 0.38311 0.06352 6.031 2.29e-09 ***

x 2.00601 0.06510 30.813 < 2e-16 ***

---

Signif. codes: 0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1

Residual standard error: 2.003 on 998 degrees of freedom

Multiple R-squared: 0.4875, Adjusted R-squared: 0.487

F-statistic: 949.5 on 1 and 998 DF, p-value: < 2.2e-16

d) the magnitude of slope is showing positvely correlated with the response variate. and R square just 48.7 percent only contributing in the response of predictor variable.

e) i m guessing PCE as response variable and PDI as predictor variable are correlated to each other.based on the given information. i am giving you two reason for that

1) error and independent variable are orthogonal means independent to each other.

2) to check autocorrelation of error terms # so there is no autocorrelation in that model

3) similary autocorrelation of response variate.# as above autocorrelation

4)Spurious regression happens when there are similar local trends.# no trend in that model.


Related Solutions

Can someone please explain how to calculate this? I truely do not understand how to do...
Can someone please explain how to calculate this? I truely do not understand how to do theoretical yield... calculate theoretical yield and percent yield for anthracene-9-methylmalemide and N-methylmalemide in water amounts used were 0.070 g of anthracene-9-methanol and 50 mL of water and 0.103 g of N-methylmaleimide. the weight of the product was 0.043 g
Can someone please explain the following program to me? I have ran it, but do not...
Can someone please explain the following program to me? I have ran it, but do not understand how the answers are being derived. #include<iostream> using namespace std; int num1 = 1; int quiz(int num) { static int n1 = 10; int n2 = 20; n1--; n2++; num1++; if (num == 1) return num1; else if (num < 3) return n1; else return n2; } // quiz main() { cout << quiz(num1) << endl; cout << quiz(num1) << endl; cout <<...
Can you explain and answer part e and part f please? I already understand parts c...
Can you explain and answer part e and part f please? I already understand parts c and d Firm 1 and Firm 2 are functioning in a market as competitors. The inverse market demand for chicken is given by P (Y ) = 100 − 2Y , and the total cost function for any firm in the industry if given by TC(y) = 4y. (c) Suppose that two Cournot firms operated in the market and the reaction firm for Firm...
I HAVE ALREADY CORRECTLY COMPLETED PART A AND B PLEASE COMPLETE PART C ONLY Part A...
I HAVE ALREADY CORRECTLY COMPLETED PART A AND B PLEASE COMPLETE PART C ONLY Part A In late 2020, the Nicklaus Corporation was formed. The corporate charter authorizes the issuance of 6,000,000 shares of common stock carrying a $1 par value, and 2,000,000 shares of $5 par value, noncumulative, nonparticipating preferred stock. On January 2, 2021, 4,000,000 shares of the common stock are issued in exchange for cash at an average price of $10 per share. Also on January 2,...
Can someone please tell me on how can I have a double and character as one...
Can someone please tell me on how can I have a double and character as one of the items on my list? Thanks! This is what I got so far and the values I am getting are all integers. #pragma once #include <iostream> class Node { public:    int data;    Node* next;       // self-referential    Node()    {        data = 0;        next = nullptr;    }    Node(int value)    {        data...
Can someone please explain to me the steps in journalizing events in accounting and then turning...
Can someone please explain to me the steps in journalizing events in accounting and then turning them into income statements. Like which assets and liabilities are credits and which are debits?
Can someone explain how to manipulate the clock in verilog code? For example, I do not...
Can someone explain how to manipulate the clock in verilog code? For example, I do not understand how to go from 100MHz to 68027Hz.
Good morning, Yes I did post part a Someone answered part (a) and (c) already. Here...
Good morning, Yes I did post part a Someone answered part (a) and (c) already. Here is the answered part (A). Can you complete part B please Thank you Here is part (A) again Comprehensive Problem 5 Part A: Note: You must complete part A before completing parts B and C. Genuine Spice Inc. began operations on January 1 of the current year. The company produces 8-ounce bottles of hand and body lotion called Eternal Beauty. The lotion is sold...
Can someone please explain how can someone find how to find the adiabatic flame temperature in...
Can someone please explain how can someone find how to find the adiabatic flame temperature in Kelvin when liquid methane reacts with liquid oxygen? Please show the calculations.
Can someone provide guidance for g-i for the following question? Someone already responded to a-f. Age...
Can someone provide guidance for g-i for the following question? Someone already responded to a-f. Age (years) Amount of Activity (hours) 7 4.3 9 3.2 10 1.0 13 1.5 12 1.2 15 0.8 9 3.0 12 4.0 15 1.5 14 1.9 A psychologist believed that as children get older, they engage in more “inactive activities” such as playing computer games, watching TV and surfing the internet. She collected data from 10 children. She recorded the age of each child and...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT