Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

For this question you must give all answers rounded correct to exactly 3 signifi

ID: 3217032 • Letter: F

Question

For this question you must give all answers rounded correct to exactly 3 significant figures (instead of decimal places). Recall that leading zeros are not significant (for example 0.0011 has 4 decimal places, but only 2 significant figures). To obtain more decimal places in the numbers Matlab gives you, type "format short g" first. The article "The Incorporation of Uranium and Silver by Hydrothermally Synthesized Galena'" (Econ. Geology, 1964: 1003-1024) reports on the determination of silver content of galena crystals grown in a closed hydrothermal system over a range of temperature. The temperature X in degrees C and the silver content Y in mol% for 60 determinations are shown below.

x=[406.95 459.13 436.39 394.40 480.53 467.22 492.55 598.64 416.33 583.85 594.26 524.47 422.02 493.47 391.81 585.82 360.48 508.16 444.24 589.51 356.27 391.15 391.05 404.92 485.13 432.02 436.28 386.36 407.19 571.96 393.33 505.05 450.61 547.25 588.32 434.27 462.54 462.21 585.63 372.38 525.91 380.12 453.83 413.32 522.78 599.99 580.62 540.70 485.82 429.04 498.91 393.25 438.95 575.92 560.27 380.12 450.30 593.43 584.77 531.27]

y=[0.26745 0.07993 0.34379 0.29923 0.44433 0.44390 0.48439 0.52448 0.46626 0.26293 0.30819 0.57032 0.20658 0.49759 0.19669 0.61030 0.19845 0.42687 0.32559 0.42045 0.34556 0.19699 0.10279 0.28672 0.38278 0.49284 0.09536 0.19058 0.25903 0.35062 0.24706 0.50401 0.41914 0.49319 0.28635 0.45017 0.15774 0.46548 0.64754 0.19477 0.38200 0.10425 0.47944 0.32783 0.34711 0.49464 0.63530 0.51146 0.30837 0.27136 0.25795 0.34750 0.56611 0.31017 0.31351 0.22527 0.38195 0.66353 0.66722 0.56541]

(a) Fit the linear regression of Y on X using Matlab. What is the estimated intercept term ^ 0 ?

(b) What is the estimated slope of the fitted line, ^ 1 ?

(c) What is the estimated residual variance s e2?

(d) What is the standard error for ^ 1 ?

(e) Give a 95% confidence interval for ^ 1 . Enter your confidence interval in the form (lower bound, upper bound). ( , )

(f) What is the predicted silver content of galena crystals grown at 500 degrees C?

(g) Construct a 95% prediction interval for silver content when crystals are grown at 500 degrees C. Enter your prediction interval in the form (lower bound, upper bound). ( , )

Explanation / Answer

a)

polyfit(x,y,1)

ans = 0.0011656 -0.18817

so

y = 0.0011656 x - 0.18817

^ 0 = -0.18817

b)stimated slope of the fitted line, ^ 1 = 0.0011656

c) p = polyfit(x,y,1)

yfit = polyval(p,x);
>> yresid = y - yfit;
>> SSresid = sum(yresid.^2);

SSresid/58 {n-2=60-2=58}

ans =

0.015357

d)

sqrt((SSresid/58) /(59*var(x)))

ans =

0.00021365

e)take z=1.96

( ^ 1 - 1.96* se( ^ 1 ), ^ 1 + 1.96* se ^ 1 )

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote