Question

a income consumption 1 556 2760 2 1622 1930 3 2664 2740 4 3587 3515 5...

a income consumption
1 556 2760
2 1622 1930
3 2664 2740
4 3587 3515
5 4535 4350
6 5538 5320
7 6585 6250
8 8582 7460
9 14033 11500

How do I complete the Breusch-Pagan test to test the residuals @ the 5-percent level?

Homework Answers

Answer #1

we are doing Breusch-Pagan test to check whether the residuals obtained after linear regression of consumption (dependent variable) on income( independent variable) have constant variances .ie, homoscedasticity,

we use R software to do the needful.

first we fit linear regression

and then apply Breusch-Pagan test on the fit at 5 % level of significance.

Null hypothesis: homoscedastic(constant variance)

Alternate : heteroscedastic( variance differs )

R code:

install.packages("lmtest")
library(lmtest)
x <- c(556,1622,2664,3587,4535,5538,6585,8582,14033)
y<- c(2760,1930,2740,3515,4350,5320,6250,7460,11500)
fit <- lm(y~x) #regression
bptest(fit)

#pvalue = 0.08344 which is greater than 0.05 ( 5%) , so we fail to reject or accept null hypothesis and conclude on the given data that residuals have constant variances or  homoscedastic.

Know the answer?
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for?
Ask your own homework help question
Similar Questions
The following data were used in a regression study. Observation 1 2 3 4 5 6...
The following data were used in a regression study. Observation 1 2 3 4 5 6 7 8 9 xi 2 3 4 5 7 7 7 8 9 yi 3 5 4 7 4 6 9 5 11 a) Develop an estimated regression equation for these data. (Round your numerical values to two decimal places.) ŷ = b) Do the assumptions about the error term seem to be satisfied? a) The plot suggests a generally horizontal band of residual...
The following data were used in a regression study. Observation 1 2 3 4 5 6...
The following data were used in a regression study. Observation 1 2 3 4 5 6 7 8 9 xi 2 3 4 5 7 7 7 8 9 yi 3 5 4 7 4 6 9 4 11 (a) Develop an estimated regression equation for these data. (Round your numerical values to two decimal places.) ŷ = (b) Construct a plot of the residuals. A residual plot has 9 points plotted on it. The horizontal axis ranges from 0...
Suppose we have the following 25 residuals, 8, ?5, 7, 1, ?3, ?3, 3, ?5, 1,...
Suppose we have the following 25 residuals, 8, ?5, 7, 1, ?3, ?3, 3, ?5, 1, 9, 8, ?5, 7, 1, ?3, ?3, 3, ?5, 1, 9, 8, ?5, 7, 1, ?3 from the linear model: y = ?0 + ?1x1 + ?2x2 + . (a) Please use Durbin-Watson statistic to test H0 : ? = 0 at 5% level of significance. (b) Please use run test to examine if there are too many runs at 5% level of significance.
The following two samples were collected as matched pairs: Pair 1 2 3 4 5 6...
The following two samples were collected as matched pairs: Pair 1 2 3 4 5 6 7 8 Sample 1 8 4 6 9 9 7 9 8 Sample 2 5 7 6 5 6 9 7 6 a. State the null and alternative hypotheses to estimate the difference in means between the populations from which Samples 1 and 2 were drawn. b. Calculate the appropriate test statistic and interpret the results of the hypothesis test using α = 0.1....
Subject # Honesty Satisfaction 1 5 9 2 3 2 3 7 10 4 2 6...
Subject # Honesty Satisfaction 1 5 9 2 3 2 3 7 10 4 2 6 5 4 4 6 6 7 1)Given the data illustrated in the table above, compute the equation for the linear regression line (i.e. y = mx+b) (7--pts) 2)Based on the regression line you computed, what is the likely level of satisfaction if a person were to have an honesty level a.2.5 b.8? c.3.5?
A researcher was interested in learning about the effect of caffeine consumption on problem solving. To...
A researcher was interested in learning about the effect of caffeine consumption on problem solving. To examine this relationship, participants were randomly selected and assigned to one of four conditions: no caffeine consumption, 100 mg dosage of caffeine, 200 mg dosage of caffeine, or 300 mg dosage of caffeine. The participants were then asked to solve as many anagrams* as possible in a 5 minute period. The results of the study are presented below. *Anagrams are word puzzles that are...
Consider the following data: 6, 8, 2, 3, 4, 4, 5, 5, 9, 6, 6, 7,...
Consider the following data: 6, 8, 2, 3, 4, 4, 5, 5, 9, 6, 6, 7, 7 ,7, 7, 8, 8, 8, 8, 9, 9. What type of distribution is this?
For the data set shown​ below, complete parts​ (a) through​ (d) below. x 3 4 5...
For the data set shown​ below, complete parts​ (a) through​ (d) below. x 3 4 5 7 8 y 4 7 8 12 13 (a) Find the estimates of β0 and β1. β0 ≈b0 = ____ ​(Round to three decimal places as​ needed.) β1 ≈b1 = ____ (Round to three decimal places as​ needed.) ​(b)  Compute the standard​ error, the point estimate for σ. se= ______ ​(c)  Assuming the residuals are normally​ distributed, determine sb1 . Sb1= _____ (d) ​Assuming...
Let p = (8, 10, 3, 11, 4, 0, 5, 1, 6, 2, 7, 9) and...
Let p = (8, 10, 3, 11, 4, 0, 5, 1, 6, 2, 7, 9) and let q = (2, 4, 9, 5, 10, 6, 11, 7, 0, 8, 1, 3) be tone rows. Verify that p = Tk(R(I(q))) for some k, and find this value of k.
A:  8   6   5   8   9   5   3   7   9   3   5   7   9   3   6   4  ...
A:  8   6   5   8   9   5   3   7   9   3   5   7   9   3   6   4   5   8   5   3   9 B:  3   7   9   3   5   7   9   6   8   3   5   9   6   7   8   3   7   9   5   2   8 C:  5   9   6   7   8   3   7   9   5   2   8   8   6   5   8   9   5   4   7   8   5 Using the data from the Production Run Population table what type of graph is not appropriate to...
ADVERTISEMENT
Need Online Homework Help?

Get Answers For Free
Most questions answered within 1 hours.

Ask a Question
ADVERTISEMENT