Please complete in MATLAB Toxins An investigation on toxins
Please complete in MATLAB
Toxins. An investigation on toxins produced by molds that infect corn crops was performed. A biochemist prepared extracts of the mold culture with organic solvents and then measured the amount of toxic substance per gram of solution. From 11 preparations of the mold culture the following measurements of the toxic substance (in milligrams) were obtained: 3, 2,5, 3, 2, 6, 5,4.5, 3, 3, and 4. Compute a 99% confidence interval for the mean weight of toxic substance per gram of mold culture. State the assumption you make about the population.Solution
Getting the mean and standard deviation,
X = 3.681818182
s = 1.309059343
Note that
Lower Bound = X - t(alpha/2) * s / sqrt(n)
Upper Bound = X + t(alpha/2) * s / sqrt(n)
where
alpha/2 = (1 - confidence level)/2 = 0.005
X = sample mean = 3.681818182
t(alpha/2) = critical t for the confidence interval = 3.169272673
s = sample standard deviation = 1.309059343
n = sample size = 11
df = n - 1 = 10
Thus,
Lower bound = 2.430918166
Upper bound = 4.932718198
Thus, the confidence interval is
( 2.430918166 , 4.932718198 ) [ANSWER]
Here, we assume that the population is normally distributed.
