Question

In: Statistics and Probability

We have a dataset with n = 10 pairs of observations (xi; yi), and Xn i=1...

We have a dataset with n = 10 pairs of observations (xi; yi), and Xn i=1 xi = 683; Xn i=1 yi = 813; Xn i=1 x2i = 47; 405; Xn i=1 xiyi = 56; 089; Xn i=1 y2 i = 66; 731: What is the line of best t for this data?

Solutions

Expert Solution

Here we are given with details

n = 10

we know that best fit line is given by :

where

and

So from above equations

and

So the best fitted line is


Related Solutions

The following program is supposed to read 10 pairs of 2D coordinates, (xi , yi ),...
The following program is supposed to read 10 pairs of 2D coordinates, (xi , yi ), and print the average coordinate. However, it does not work correctly. Fix the program so that it compiles with no errors or warnings and correctly computes the average coordinate. int main() { float coords[9][2] = { 0 }; float sum[2]; while (i < 2) { scanf("%d%d", &coords[i][0], coords[i][1]); sum[0] += coords[i][0]; sum[1] += coords[i][1]; } printf("Average coordinate: (%.2d, %.2d)\n", sum[0], sum[1]); return 0; }...
Suppose that the random variable Y1,...,Yn satisfy Yi = ?xi + ?i i=1,...,n. where the set...
Suppose that the random variable Y1,...,Yn satisfy Yi = ?xi + ?i i=1,...,n. where the set of xi are fixed constants and ?i are iid random variables following a normal distributions of mean zero and variance ?2. ?a (with a hat on it) = ?i=1nYi xi  /  ?i=1nx2i is unbiased estimator for ?. The variance is  ?a (with a hat on it) = ?2/  ?i=1nx2i . What is the distribation of this variance?
Assume n independent observations, denoted Xi, (i=1,....n), are taken from a distribution with a mean of...
Assume n independent observations, denoted Xi, (i=1,....n), are taken from a distribution with a mean of E(X)=μ and variance V(X) =σ2. Prove that the mean of the n observations has an expected value of E(X)=μ and a variance of V(X) =σ2/n. Use the appropriate E and V rules in your answer. What happens as n becomes large? What does this tell you about the quality of the sample mean as an estimate of μ as the sample size increases?
Suppose we have a random sample of n observations {x1, x2, x3,…xn}. Consider the following estimator...
Suppose we have a random sample of n observations {x1, x2, x3,…xn}. Consider the following estimator of µx, the population mean. Z = 12x1 + 14x2 + 18x3 +…+ 12n-1xn−1 + 12nxn Verify that for a finite sample size, Z is a biased estimator. Recall that Bias(Z) = E(Z) − µx. Write down a formula for Bias(Z) as a function of n and µx. Is Z asymptotically unbiased? Explain. Use the fact that for 0 < r < 1, limn→∞i=1nri...
The following 12 data pairs relate variable xi, the amount of fertilizer, to variable Yi, the...
The following 12 data pairs relate variable xi, the amount of fertilizer, to variable Yi, the amount of wheat harvested: x: 30 30 30 50 50 50 70 70 70 90 90 90 Y: 9 11 14 12 14 23 19 22 31 29 33 35 such that : ∑x = 720 ∑y = 252 , ∑ xy =17240, ∑x2 =49200, ∑y2 = 6228 a) Find equation of linear regression line: Y = A + BX. b) 95% 2 sided...
Student ID: Question 1 Given are five observations for two variables, x and y. xi yi...
Student ID: Question 1 Given are five observations for two variables, x and y. xi yi 2 25 3 25 5 20 1 30 8 16 a. Develop the regression equation by computing the values of βˆ 0 and βˆ 1. b. Use the estimated regression equation to predict the value of y when x = 6. c. Compute SSE, SST, and SSR. d. Compute the coefficient of determination r 2 . Comment on the goodness of fit. e. Compute...
Below is a dataset. xi 1 2 3 4 5 yi 3 7 5 11 14...
Below is a dataset. xi 1 2 3 4 5 yi 3 7 5 11 14 Use the facts that ˆy = .20 + 2.6x, ̄x = 3, ̄y= 8, Σ(xi − ̄x)^2 = 10, and SSE=12.4. a. Estimate the standard deviation of ˆy∗ when x= 4. b. Develop a 95% confidence interval for the expected value of y when x= 4. c. Estimate the standard deviation of an individual value of y when x= 4. d. Develop a 95%...
Suppose Xi and Yi are all independent (i=1,2,3), where the three Xi are iid and follow...
Suppose Xi and Yi are all independent (i=1,2,3), where the three Xi are iid and follow an Exponential distribution with rate r, while the three Yi are also iid but follow a Normal(μ, σ2) distribution. (a) Write down the joint pdf for the random vector (X1,X2,X3,Y1,Y2,Y3). (b) Find the expected value of the product X1 Y1, i.e., E(X1 Y1), and find Cov(X2, X3).
Suppose Xi and Yi are all independent (i=1,2,3), where the three Xi are iid and follow...
Suppose Xi and Yi are all independent (i=1,2,3), where the three Xi are iid and follow an Exponential distribution with rate r, while the three Yi are also iid but follow a Normal(µ, σ2) distribution. (a) Write down the joint pdf for the random vector (X1,X2,X3,Y1,Y2,Y3). (b) Find the expected value of the product X1 Y1, i.e., E(X1 Y1), and find Cov(X2, X3).
Given are five observations for two variables, xi yi 1 3 2 8 3 5 4...
Given are five observations for two variables, xi yi 1 3 2 8 3 5 4 11 5 14 Round your answers to two decimal places. a. Estimate the standard deviation of ŷ* when x = 4. 2 b. Develop a 95% confidence interval for the expected value of y when x = 4. c. Estimate the standard deviation of an individual value of y when x = 4. d. Develop a 95% prediction interval for y when x =...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT