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

queation 2 | For this question you must give all answers rounded correct to exac

ID: 3703393 • Letter: Q

Question

queation 2

| For this question you must give all answers rounded correct to exactly 3 signiticant figures (instead of decimal places). Recall that leading zeros are not signiticant (for example 0.0011 has 4 decimal places, but only 2 signiticant figures). To obtain more decimall places in the numbers Matiab gives you, type "Tormat short g"first The article 'The Incorporation of Uranium and Silver by Hydrothermally Synthesized Gallena" (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 siver content Y in mol% for 60 determinations are shown below. x-1464.17 368.23 549.47 43767 581.65 364.60 575.26 544.53 478.20 521.14 389.83 383.53 520.33 525.30 534.40 476.15 488.38 588.50 449.20 531.20 506.88 475.28 523.73 359.37 401.24 481.61 500.31 508.21 388.32 371.05 595.31 505.69 424.19 365.80 382.63 575.41 429.7 425.70 420.0T 591.87 5T9.17 553.89 406.53 52258 506.33 462.94 583.76 473.64 366.82 527.24 544.76 563.55 486.01 422 49 51969 5T0 74 483 05 550.77 565.19 471.39] y 0.44876 0 06 06 54 109 0.32 709 O 73341 0 1 7574 0.54647 0 44670 5761 6 742 0.1 886 10 20807·55776 asse2 ·525560.336 18 0.23653 0.5 3 0 5136 38961 0. 3114 390 2 0 0.2427 0 508 D 35268 0.490 60 322 0.38 83 0 06813 0.73659 0.26023 0.31547 0.17693 0.40772 0.75028 0.13899 0 44537 0 42619 0 61290 0 54024 0 56679 D 29754 0 50834 0 39981 0.22995 0.59255 0.17569 0.36029 0.31607 0.37793 0.31318 0.27219 D.09799 0 39812 0.66228 0.34911 0.35093 0.62557 0.39964] (a) Fit the linear regression of Y on X using Matlab, what is the estimated intercept term ?0 ? (D) what is the estimated slope ofthe fitted line. ? |?? (c) What is the estimated residual variance ? |?? (d) what is the standard error ror ? ?? (e) Give a 95% confidence interval for A 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

I Know the answer for only question1:

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 )