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

plz write matlab code and solution as well Problem 1: A geologist wants to test

ID: 3326549 • Letter: P

Question

plz write matlab code and solution as well

Problem 1: A geologist wants to test the titanium content in two different groups of ore samples using two different testing protocol. The titanium content of these sample found using the different testing protocol is given below Protocol 1 Protocol 2 Titanium content 0.011,0.013,0.015,0.014,0.010 0.016,0.013,0.015,0.017,0.014 a) What statistical test would you use to determine if there is a difference in the average titanium contents using the two separate protocols. Perform a formal test of hypothesis b) Can you conclude whether there is a significant difference in the average titanium contents using the two methods? Conduct a formal statistical test of hypothesis using =0.05 and state your conclusion. Determine the range of p-values OR interpolate to calculate the actual p-value. c) d) Also determine the 95% confidence interval. Does the confidence interval support your conclusion in part b?

Explanation / Answer

a) we will do two sample t test as the population variance are unknown

T= (n-1) (X1_bar-X2_bar)/S where S is the pooled sample variance of two samples

S= (n1-1)s1^2-(n2-1)s2^2 / n1+n2-2 s1^2and s2^2 are sample variances

s1_^2= 0.00188 s2_^2= 0.0000025 S= 0.000938

t

T= 4*(0.0126-0.015)/ 0.000938= 10.23454

hence there is sognifivant dofference between averages of two sample