In: Statistics and Probability
The article "Sensory and Mechanical Assessment of the Quality of Frankfurters" reported the following salt content (percentage by weight) for 10 frankfurters.
(a) Use the given data to produce a point estimate of
μ, the true mean salt content for frankfurters. (Give the
answer to three decimal places.) |
use mean function in R to get the sample mean
var function in R to get the sample variance
sd function to get the sample standard deviation
Rcode:
frankfurters <- c(2.23, 2.08,
1.61, 1.14, 1.61,
2.33, 1.67, 2.07,
2.16, 2.37)
mean(x)
var(x)
sd(x)
round(2.581989,4)
SolutionA:
sample mean is point estimate of mu
xbar=4
SolutionB:
sample variance is point estimate of population variance
sample variance=s=6.66667
SolutionC:
sample standard deviation is point estimate of population standard deviation
sample standard deviation= 2.582