Question

1. Four objects are weighed 2 at a time on a spring balance. Denote the 4 unknown weights by B1,...,BA. Six observations are
0 0
Add a comment Improve this question Transcribed image text
Answer #1


1. We can write the model as /B1 Y = BBBBBB 11 1 0 0 1 0 1 0 1 0 0 1 0 1 1 0 0 1 0 1 0 0 1 1 Y = X3 +

(a) The normal equation : XX3 = XY = @= (X or 3111\ Yi + B+ Y37 1131 1| |Yi+X4+X5 113 1| YS + Y4 + Y6 (1113) 【Y3 +5 + Y6

3 == 2(Y + + )-(H+} + Y) | 2(Y + H+ s)-(YS + 3 + Y6) : = 2(Y +Y+ + 2S +5 + Y)-Y+B+ YA) 6)-(H+ 6 (6) Cour(3) = (XX)-1-2 = | 51

/ 27– Yz-Ys–Y4-Y5+2Y (Y1 – 1:+}+Ys+Ya+Y5–2Y. Y, – Yi+49, +Ys+y-2Y; +Y. -Yi+2Y, – Y; -Y, +2Y; -Y Yg - Yi+Y+4Y3 –2Y+Y;+Y -Y-Y2+

(d)

R code:

y=c(5,8,6,7,10,9)
x1=c(1,1,1,0,0,0)
x2=c(1,0,0,1,1,0)
x3=c(0,1,0,1,0,1)
x4=c(0,0,1,0,1,1)
x=cbind(x1,x2,x3,x4)
beta=solve(t(x)%*%x)%*%t(x)%*%y
beta
Residual=y-x%*%beta
Residual
lm(y~x1+x2+x3+x4-1)

Output:

> beta
   [,1]
x1 2.0
x2 3.5
x3 4.5
x4 5.0
> Residual=y-x%*%beta
> Residual
     [,1]
[1,] -0.5
[2,] 1.5
[3,] -1.0
[4,] -1.0
[5,] 1.5
[6,] -0.5
> lm(y~x1+x2+x3+x4-1)

Call:
lm(formula = y ~ x1 + x2 + x3 + x4 - 1)

Coefficients:
x1   x2   x3   x4
2.0 3.5 4.5 5.0

Add a comment
Know the answer?
Add Answer to:
1. Four objects are weighed 2 at a time on a spring balance. Denote the 4...
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
  • Question 1 Suppose we are given the data 2 -1 22: 2 -2 0 2 0...

    Question 1 Suppose we are given the data 2 -1 22: 2 -2 0 2 0 -1 -2 -3 30 2 2 2 1 0 -1 0 -1 We aim at fitting the linear model Y; = Bo + Bizil + B22i2 + Ei, i = 1, 2, ..., 7. (1) Find the least square estimate B; (2) Find the R2 statistic; (3) Find ô2 and Cov(); (4) Find a 95% confidence interval for B1; (5) Test Ho: B1 =...

  • Question 1 Consider the following Multiple Regression Model yı BoB1B2 + El, y2 BIB2E2 y3 B2Es,...

    Question 1 Consider the following Multiple Regression Model yı BoB1B2 + El, y2 BIB2E2 y3 B2Es, and y4 Bo+BI4 Suppose that & 's are independent and identically distributed N(0, o2 ) a) Write down the model in the matrix form b) Show that 2 2 1 X'X2 3 2 1.67 -1.33 0.33 (X'X) 1.67 Note that -1.33 -0.67 1 2 3 0.33 -0.67 0.67 c) Find unbiased estimators for Bo, Bi, and B2 given that y 3, y2 1, y3-...

  • For the following two datasets labeled y1 and y2 match one quantity in column A with...

    For the following two datasets labeled y1 and y2 match one quantity in column A with one quantity in column B. The sample means and variances are labeled as y1, y2, S12 and S22. The population means and variances from which they were drawn are labeled μ1,μ2, σ12, and σ22. Assume that the two samples are independent random samples. H0: μ1=μ2 against the alternative Ha: μ1≠μ2 using significance level α=.01. Using the data from problem 1 provide the following information...

  • 1. Choose a data set of your own:?Response or dependent variable (Y)?At least 3 or more...

    1. Choose a data set of your own:?Response or dependent variable (Y)?At least 3 or more independent variables (X1, X2, X3, ... etc.) that you believe has an influence on Y.?At least 40 observations or data points?If there are categorical variables, model them appropriately2. Fit a multiple regression model. ?Interpret the model equation?Are all the chosen variables significant? Discuss.?Check for model assumptions and make appropriate comments.?How good is the model? Comment on R2 , R , se, F-value etc and...

  • A client of yours wants to find out the best microbial environment for C. elegans. In...

    A client of yours wants to find out the best microbial environment for C. elegans. In previous meetings, the client told you that C. elegans feed on bacteria but may also be killed by certain bacteria. Therefore, it is important to figure out what bacteria are beneficial to C. elegans. In particular, the client was interested in studying the association between the density of Gluconobacter and the density of C. elegans. The client had collected some pilot data for this...

  • Problem 2. Consider the following joint probabilities for the two variables X and Y. 1 2...

    Problem 2. Consider the following joint probabilities for the two variables X and Y. 1 2 3 .14 .25 .01 2 33 .10 .07 3 .03 .05 .02 Find the marginal probability distribution of Y and graph it. Show your calculations. b. Find the conditional probability distribution of Y (given that X = 2) and graph it. Show your calculations. c. Do your results in (a) and (b) satisfy the probability distribution requirements? Explain clearly. d. Find the correlation coefficient...

  • Practice Statistic Final for Spring 201 9 A Name: Do 1, 4, 5, 6,7 Or 2, 3, 5, 6, 7 ONE PROPORTION rowning deaths of children attributed to beaches is given as 0.25. wring deaths of children...

    Practice Statistic Final for Spring 201 9 A Name: Do 1, 4, 5, 6,7 Or 2, 3, 5, 6, 7 ONE PROPORTION rowning deaths of children attributed to beaches is given as 0.25. wring deaths of children has 30% attributed to beaches. 3. The proportion of dro Test the claim that drowning deaths of children attributed to b. Give a 95% Confidence Interval and the EBP. Hypothesis Ho 5 points. 3 points На: p-value Conclusion 6 points b. Give a...

  • 4) (8 points) In 2015, the average cost of attendance at public 2-year colleges and technical...

    4) (8 points) In 2015, the average cost of attendance at public 2-year colleges and technical schools across the United States was $12,260. A researcher wants to know if the 2-year colleges in Michigan are less expensive. 1. A QQ-plot of the cost of attendance at public 2-year colleges and technical schools is shown below. Based on this plot, is it reasonable to use this data to evaluate the research question? Why or why not? The researcher decides to conduct...

  • 3. Reaction time experiment (L. Cai, T. Li, Nishant, and A. van der Kouwe, 1996) The...

    3. Reaction time experiment (L. Cai, T. Li, Nishant, and A. van der Kouwe, 1996) The experiment was run to compare the effects of auditory and visual cues on speed of response of a human subject. A personal computer was used to present a "stimulus" to a subject, and the reaction time required for the subject to press a key was monitored. The subject was warned that the stimulus was forthcoming by means of an auditory or a visual cue....

  • Question 1 (50 pts): Suppose that a client of yours measure the heights (in inches) of...

    Question 1 (50 pts): Suppose that a client of yours measure the heights (in inches) of n - 30 wheats grown at locations of various elevations (measured as meters above sea levels). Af- ter some discussion, you decided to fit a linear regression of wheat heights (denoted as yi) on the elevations of the locations (denoted as zi) as follows where ei, E2, . . . , En are i.i.d. errors with Elei] 0 and var(G) σ2. You calculated some...

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