
a.
Fit the model for the given data.
a.

Answer to Problem 97SE
The fitted model for the given data is ˆy=1.42857+0.5x1+0.11905x2−0.5x3.
Explanation of Solution
The model is as follows:
Y=β0+β1x1+β2x2+β3x3+ε
From the given Table, the data can be formed into matrices as follows:
X=[1 −3 5 −11 −2 0 1 1 −1 −3 1 1 0 −4 01 1 −3 −1 1 2 0 −11 3 5 1], Y=[ 1 0 0 1 2 3 3]
From the property of least squares, it is noted that ˆβ=(X′X)−1X′Y.
X′=[ 1 1 1 1 1 1 1 −3 −2 −1 0 1 2 3 5 0 −3 −4 −3 0 5−1 1 1 0 −1 −1 1 ]
Now, the matrices X′X and X′Y are as follows:
X′X=[ 1 1 1 1 1 1 1 −3 −2 −1 0 1 2 3 5 0 −3 −4 −3 0 5−1 1 1 0 −1 −1 1 ][1 −3 5 −11 −2 0 1 1 −1 −3 1 1 0 −4 01 1 −3 −1 1 2 0 −11 3 5 1]=[ 7 0 0 0 0 28 0 0 0 0 84 0 0 0 0 6 ]
X′Y=[ 1 1 1 1 1 1 1 −3 −2 −1 0 1 2 3 5 0 −3 −4 −3 0 5−1 1 1 0 −1 −1 1 ][ 1 0 0 1 2 3 3]=[101410−3]
Also the matrix (X′X)−1 is as follows:
(X′X)−1=([ 7 0 0 0 0 28 0 0 0 0 84 0 0 0 0 6 ])−1=[1/7 0 0 00 1/28 0 00 0 1/84 00 0 0 1/6]
The parameter ˆβ is as follows:
ˆβ=(X′X)−1X′Y=[1/7 0 0 00 1/28 0 00 0 1/84 00 0 0 1/6][101410−3][ˆβ0ˆβ1ˆβ2ˆβ3]=[1.428570.50.11905−0.5]
The fitted model for the given data can be obtained as follows:
ˆy=β0+ˆβ1x1+ˆβ2x2+ˆβ3x3ˆy=1.42857+0.5x1+0.11905x2−0.5x3
Thus, the fitted model for the given data is ˆy=1.42857+0.5x1+0.11905x2−0.5x3.
b.
Predict Y when x1=1,x2=−3,x3=−1.
Compare with the observed response in the original data.
Explain why these two are not equal.
b.

Answer to Problem 97SE
The predicted value of Y when x1=1,x2=−3,x3=−1 is 2.07142.
Explanation of Solution
From Part (a), the fitted model is as follows:
ˆy=1.42857+0.5x1+0.11095x2−0.5x3.
The predicted value of Y when x1=1,x2=−3,x3=−1 is as follows:
ˆy=1.42857+0.5(1)+0.11905(−3)−0.5(−1)=2.07142
Thus, the predicted value of Y when x1=1,x2=−3,x3=−1 is 2.07142.
According to the data from the table, the observed value of Y when x1=1,x2=−3,x3=−1 is equal to 2.
The observed and the predicted value are not equal because to predict the value one can use the fitted model based on the given data and because of that each predicted value contains some deviation from the observed value.
c.
Test the hypothesis H0:β3=0 against Ha:β3≠0 using Ha:β3≠0.
c.

Answer to Problem 97SE
The data provide sufficient evidence to indicate that x3 contributes information for the prediction of Y.
Explanation of Solution
The null and alternative hypotheses are stated as follows:
H0:β3=0
Ha:β3≠0
The significance level is 0.05.
The test statistic is as follows:
t=ˆβ3(s√c33)
Where,
s=√SSEn−(k+1)=√Y′Y−ˆβ′X′Yn−(k+1), ˆβ=(X′X)−1X′Y
Here, k+1 is the number of unknown βi values and n is the number of data values.
Also, it is noticed that cii is the element in row (i+1) and column (i+1) of (X′X)−1.
Where, 0≤i≤k
From the given table, it is found that the values of n=7 and k=3.
From Part (a), the parameter ˆβ can be found as follows:
[ˆβ0ˆβ1ˆβ2ˆβ3]=[1.428570.50.11905−0.5]
Thus, the value of ˆβ3 is –0.5.
Also, the matrix (X′X)−1 is as follows:
(X′X)−1=[1/7 0 0 00 1/28 0 00 0 1/84 00 0 0 1/6]
From the above matrix, the value of c33=0.166666667.
From Part (a), the values of Y′Y, X′Y, and ˆβ′X′Y are as follows:
Y′Y=[1 0 0 1 2 3 3][ 1 0 0 1 2 3 3]=24
X′Y=[101410−3]
ˆβ′X′Y=[1.42857 0.5 0.11905 −0.5][101410−3]=23.97619
The value of s is calculated as follows:
s=√Y′Y−ˆβ′X′Yn−(k+1)=√24−23.976197−4=0.089087
Thus, the value of s is 0.089087.
The test statistic value can be obtained as follows:
t=ˆβ3(s√c33)=−0.50.089087√0.166666667=−13.748
Thus, the test statistic value is –13.748.
Critical value:
Step-by-step procedure to obtain the t-critical value using Table 5 of Appendix 3:
- Locate the degrees of freedom as 5 in the column of df.
- Move left until column headed by t0.025.
- Select the intersection of (5, 0.025) that gives the critical value of t.
The critical value of t for the left-tailed test is −2.571.
Conclusion:
The test statistic value is greater than the table value.
That is, (|tcal|=13.748)>(|ttab|=2.571).
Hence, by the rejection rule, reject the null hypothesis H0 at the 0.05 significance level.
Therefore, the data provide sufficient evidence to indicate that x3 contributes information for the prediction of Y.
d.
Find a 95% confidence interval for the
d.

Answer to Problem 97SE
The 95% confidence interval for the expected value of Y is (1.881, 2.262).
Explanation of Solution
A 95% confidence interval for the expectedvalue of Y is as follows:
(a′ˆβ−t0.025.s√a′(X′X)−1a,a′ˆβ+t0.025.s√a′(X′X)−1a)
It is given that x1=1, x2=−3, and x3=−1.
The matrix ‘a′’ can be obtained as follows:
a′=[1 1 −3 −1]
From Part (a), the parameter ˆβ, n and k can be found as follows:
ˆβ=[1.428570.50.11905−0.5], n=7 and k=3
The value of a′ˆβ is as follows:
a′ˆβ=[1 1 −3 −1][1.428570.50.11905−0.5]=2.07143
Thus, the value of a′ˆβ is 2.07143.
The value of a′(X′X)−1a is as follows:
a′(X′X)−1a=[1 1 −3 −1][1/7 0 0 00 1/28 0 00 0 1/84 00 0 0 1/6][11−3−1]=0.45238
From Part (c), the value of s is 0.089087.
The t-critical value using Table 5 of Appendix 3 at 3 degrees of freedom is t0.025=3.182.
The 95% confidence interval for the expectedvalue of Y is as follows:
The lower limit is as follows:
a′ˆβ−t0.025.s√a′(X′X)−1a=2.07143−3.182(0.089087)√0.45238=1.881
The upper limit is as follows:
a′ˆβ+t0.025.s√a′(X′X)−1a=2.07143+3.182(0.089087)√0.45238=2.262
The 95% confidence interval for the expectedvalue of Y is (1.881, 2.262).
e.
Find a 95% prediction interval for the expected value of Y when x1=1, x2=−3, and x3=−1.
e.

Answer to Problem 97SE
The 95% prediction interval for the expected value of Y is (1.730, 2.413).
Explanation of Solution
A 95% prediction interval for the expectedvalue of Y is as follows:
(a′ˆβ−t0.025.s√1+a′(X′X)−1a,a′ˆβ+t0.025.s√1+a′(X′X)−1a)
It is given that x1=1, x2=−3, and x3=−1
The matrix ‘a′’ can be obtained as follows:
a′=[1 1 −3 −1]
From Part (d), the value of a′ˆβ is 2.07143.
From Part (d), the value of a′(X′X)−1a is 0.45238.
From Part (c), the value of s is 0.089087.
The t-critical value using Table 5 of Appendix 3 at 3 degrees of freedom is t0.025=3.182.
The 95% prediction interval for the expectedvalue of Y is as follows:
The lower limit is as follows:
a′ˆβ−t0.025.s√1+a′(X′X)−1a=2.07143−3.182(0.089087)√1+0.45238=1.730
The upper limit is as follows:
a′ˆβ+t0.025.s√1+a′(X′X)−1a=2.07143+3.182(0.089087)√1+0.45238=2.413
The 95% prediction interval for the expectedvalue of Y is (1.730, 2.413).
Want to see more full solutions like this?
Chapter 11 Solutions
Mathematical Statistics with Applications
- For a binary asymmetric channel with Py|X(0|1) = 0.1 and Py|X(1|0) = 0.2; PX(0) = 0.4 isthe probability of a bit of “0” being transmitted. X is the transmitted digit, and Y is the received digit.a. Find the values of Py(0) and Py(1).b. What is the probability that only 0s will be received for a sequence of 10 digits transmitted?c. What is the probability that 8 1s and 2 0s will be received for the same sequence of 10 digits?d. What is the probability that at least 5 0s will be received for the same sequence of 10 digits?arrow_forwardV2 360 Step down + I₁ = I2 10KVA 120V 10KVA 1₂ = 360-120 or 2nd Ratio's V₂ m 120 Ratio= 360 √2 H I2 I, + I2 120arrow_forwardQ2. [20 points] An amplitude X of a Gaussian signal x(t) has a mean value of 2 and an RMS value of √(10), i.e. square root of 10. Determine the PDF of x(t).arrow_forward
- In a network with 12 links, one of the links has failed. The failed link is randomlylocated. An electrical engineer tests the links one by one until the failed link is found.a. What is the probability that the engineer will find the failed link in the first test?b. What is the probability that the engineer will find the failed link in five tests?Note: You should assume that for Part b, the five tests are done consecutively.arrow_forwardProblem 3. Pricing a multi-stock option the Margrabe formula The purpose of this problem is to price a swap option in a 2-stock model, similarly as what we did in the example in the lectures. We consider a two-dimensional Brownian motion given by W₁ = (W(¹), W(2)) on a probability space (Q, F,P). Two stock prices are modeled by the following equations: dX = dY₁ = X₁ (rdt+ rdt+0₁dW!) (²)), Y₁ (rdt+dW+0zdW!"), with Xo xo and Yo =yo. This corresponds to the multi-stock model studied in class, but with notation (X+, Y₁) instead of (S(1), S(2)). Given the model above, the measure P is already the risk-neutral measure (Both stocks have rate of return r). We write σ = 0₁+0%. We consider a swap option, which gives you the right, at time T, to exchange one share of X for one share of Y. That is, the option has payoff F=(Yr-XT). (a) We first assume that r = 0 (for questions (a)-(f)). Write an explicit expression for the process Xt. Reminder before proceeding to question (b): Girsanov's theorem…arrow_forwardProblem 1. Multi-stock model We consider a 2-stock model similar to the one studied in class. Namely, we consider = S(1) S(2) = S(¹) exp (σ1B(1) + (M1 - 0/1 ) S(²) exp (02B(2) + (H₂- M2 where (B(¹) ) +20 and (B(2) ) +≥o are two Brownian motions, with t≥0 Cov (B(¹), B(2)) = p min{t, s}. " The purpose of this problem is to prove that there indeed exists a 2-dimensional Brownian motion (W+)+20 (W(1), W(2))+20 such that = S(1) S(2) = = S(¹) exp (011W(¹) + (μ₁ - 01/1) t) 롱) S(²) exp (021W (1) + 022W(2) + (112 - 03/01/12) t). where σ11, 21, 22 are constants to be determined (as functions of σ1, σ2, p). Hint: The constants will follow the formulas developed in the lectures. (a) To show existence of (Ŵ+), first write the expression for both W. (¹) and W (2) functions of (B(1), B(²)). as (b) Using the formulas obtained in (a), show that the process (WA) is actually a 2- dimensional standard Brownian motion (i.e. show that each component is normal, with mean 0, variance t, and that their…arrow_forward
- The scores of 8 students on the midterm exam and final exam were as follows. Student Midterm Final Anderson 98 89 Bailey 88 74 Cruz 87 97 DeSana 85 79 Erickson 85 94 Francis 83 71 Gray 74 98 Harris 70 91 Find the value of the (Spearman's) rank correlation coefficient test statistic that would be used to test the claim of no correlation between midterm score and final exam score. Round your answer to 3 places after the decimal point, if necessary. Test statistic: rs =arrow_forwardBusiness discussarrow_forwardBusiness discussarrow_forward
- Functions and Change: A Modeling Approach to Coll...AlgebraISBN:9781337111348Author:Bruce Crauder, Benny Evans, Alan NoellPublisher:Cengage LearningGlencoe Algebra 1, Student Edition, 9780079039897...AlgebraISBN:9780079039897Author:CarterPublisher:McGraw HillLinear Algebra: A Modern IntroductionAlgebraISBN:9781285463247Author:David PoolePublisher:Cengage Learning
- Big Ideas Math A Bridge To Success Algebra 1: Stu...AlgebraISBN:9781680331141Author:HOUGHTON MIFFLIN HARCOURTPublisher:Houghton Mifflin HarcourtCollege AlgebraAlgebraISBN:9781305115545Author:James Stewart, Lothar Redlin, Saleem WatsonPublisher:Cengage Learning




