Question

DATA 1 ID X1 Y A 0 9 B 1 10 C 0 5 D 1 1 E 0 0 The zero order model is Ŷ = 8 − 2.5X1 1. What is the residual error in using the zero order model to predict Y for ID C? (Correct answer...

DATA 1

ID X1 Y
A 0 9
B 1 10
C 0 5
D 1 1
E 0 0

The zero order model is Ŷ = 8 − 2.5X1

1. What is the residual error in using the zero order model to predict Y for ID C? (Correct answer is -3, please show me how to find it)

2. What is the error in using the mean of Y to predict Y for ID C? (correct answer is -2, please show me how to find it)

0 0
Add a comment Improve this question Transcribed image text
Answer #1

1).when x=0,

\hat{y}= 8-(2.5 * 0)= 8

y=5

residual error for ID C = (observed value - predicted value) = (5-8)= -3

2).mean of y=(9+10+5+1+0)/5 =25/5 =5

when x1=mean of y =5,

\hat{y}= 8 - (2.5*5) = 8-12.5 =4.5

error for ID C = (observed value - predicted value) = (5 - 4.5) = 0.5

**********BUT I THINK IN ORDER TO GET THE ANSWER -2,YOUR QUESTION SHOULD BE:

What is the error in using the mean of X to predict Y for ID C?

now ,i am solving this:

mean of x = (0 + 1+ 0+ 1 +0)/5 = 2/5 =0.4

when x1=mean of x = 0.4,

\hat{y}= 8 - (2.5* 0.4) = 8-1 = 7

error for ID C = (observed value - predicted value) = (5-7) = -2

***IF you have any confusion regarding this problem plz write it in comment box.if you are satisfied plzzzz give a like vote,if possible.

  

Add a comment
Know the answer?
Add Answer to:
DATA 1 ID X1 Y A 0 9 B 1 10 C 0 5 D 1 1 E 0 0 The zero order model is Ŷ = 8 − 2.5X1 1. What is the residual error in using the zero order model to predict Y for ID C? (Correct 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. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • DATA 2 ID X1 X2 X3 Y A 0 2 4 9 B 1 0 8...

    DATA 2 ID X1 X2 X3 Y A 0 2 4 9 B 1 0 8 10 C 0 1 0 5 D 1 1 0 1 E 0 0 8 10 CORRELATION MATRIX Y X1 X2 X3 Y 1 ? -0.304 +0.889 X1 ? 1 -0.327 0 X2 -0.304 -0.327 1 -0.598 X3 +0.889 0 -0.598 1 1. What is the mean squared error of the full model? (Correct answer is 4, please show me how to get there)...

  • (a) fill the blank (a),(b),(c),(d), and (e) (b) which model has small test error? justify your...

    (a) fill the blank (a),(b),(c),(d), and (e) (b) which model has small test error? justify your answer (c) compute AIC values for two models. Which model has smaller test error ? (d) to use F-test, find a F statistic value and degree of freedom for the test Model 1 (MI): Call: 1m(formula = Y - X1 + X2 + factor (X3) Coefficients: Estimate Std. Error t value (Intercept) 7.1745 4.8418 1.482 0.8049 0.2522 3.192 X2 0.6281 0.2460 2.553 factor (X3)B...

  • Table 4             Regression Model             Y = α X1 + β X2             Parameter

    Table 4             Regression Model             Y = α X1 + β X2             Parameter Estimates                                     Coefficient        Standard Error             Constant               12.924                  4.425             X1                         -3.682                 2.630             X2                        45.216                12.560             Analysis of Variance             Source of         Degrees            Sum of             Mean             Variation           of Freedom       Squares            Square             F             Regression       XXX                 4,853                2,426.5             XXX             Error                 XXX                 485.3    Find above partial statistical output...

  • Table 1: Data set of market-basket transactions ansaction ID Items Bought [A, B, D, E (B, C, D (A...

    Table 1: Data set of market-basket transactions ansaction ID Items Bought [A, B, D, E (B, C, D (A, B, D, E) A, C, D, E) (B,C, D, E B, D, E (C, D) (A, B, C (A, D, E) 6 7 [15 points] Answer the following questions for the data set in Table 1. (a) What is the maximum number of association rules that can be extracted from this data set (including rules that have zero support)? (b) What...

  • 1. In order to test whether the multiple linear regression model y bo +b,x1 + b2X2 is better than the average model (lazy model), which of the following null hypotheses is correct: a. Ho' b1...

    1. In order to test whether the multiple linear regression model y bo +b,x1 + b2X2 is better than the average model (lazy model), which of the following null hypotheses is correct: a. Ho' b1 = b2 = 0 Но: B1 B2-0 с. We have a dataset Company with three variables: Sales, employees and stores. To build a multiple linear regression model using Sales as dependent variable, number of stores and number of employees as independent variables, which of the...

  • D. We will use pinv function to find a linear regression model to map the measurement data to tru...

    d. We will use pinv function to find a linear regression model to map the measurement data to truth data. Our model will be Y-AX. Y is the truth data matrix Y [ yı; y2i yai ya; ysi yg: y7 ]. A is the tmeasurement data matrix A=[ 1 mh; 1 m2. 1 mai 1 m4; 1 ms: 1 mt 6:1 m7 I . and X-[Xo: x1] is the coefficient of your regression model. Truth Data yn -1 0 Measurement...

  • (b) For n = 100, give an approximaation for P(Y> 100) (c) Let X be the...

    (b) For n = 100, give an approximaation for P(Y> 100) (c) Let X be the sample mean, then approximate P(1.1< 1.2) for -100. 2. Consider a random sample XX from CDF F(a) 1-1/ for z [1, 0o) and zero otherwise. (a) Find the limiting distribution of XiI.n, the smallest order statistic. (b) Find the limiting distribution of XI (c) Find the limiting distribution of n In X1:m- 3. Suppose that X,,, are iid. N(0,o2). Find a function of T(x)x...

  • Please I want someone help me to solve this question a,b,c,d,e I’m not sure about my...

    Please I want someone help me to solve this question a,b,c,d,e I’m not sure about my solution This is the data # Set directory to data folder setwd("C:data") # getwd() # Read data from csv file data <- read.csv("SweetPotatoFirmness.csv",header=TRUE, sep=",") head(data) str(data) # scatterplot of independent and dependent variables plot(data$pectin,data$firmness,xlab="Pectin, %",ylab="Firmness") par(mfrow = c(2, 2)) # Split the plotting panel into a 2 x 2 grid model <- lm(firmness ~ pectin , data=data) summary(model) plot(model) par(mfrow=c(1,1)) # Residual Plot data$residuals...

  • 3. Suppose the following data has been obtained for the linear model Y Bo+ x 14 2 1 4 0 22 (a) Fi...

    a,b,c,d 3. Suppose the following data has been obtained for the linear model Y Bo+ x 14 2 1 4 0 22 (a) Find the OLS estimators βο and A using the non-matrix method. (b) Find the OLS estimators using the matrix method. (c) Find the coefficient of determination. (d) Find the standard error of 3. Suppose the following data has been obtained for the linear model Y Bo+ x 14 2 1 4 0 22 (a) Find the OLS...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT