In: Statistics and Probability
How much do wild mountain lions weigh? Adult wild mountain lions (18 months or older) captured and released for the first time in the San Andres Mountains gave the following weights (pounds): 66 103 126 129 60 64 Assume that the population of x values has an approximately normal distribution. (a) Use a calculator with mean and sample standard deviation keys to find the sample mean weight x and sample standard deviation s. (Round your answers to one decimal place.) x = lb s = lb (b) Find a 75% confidence interval for the population average weight μ of all adult mountain lions in the specified region. (Round your answers to one decimal place.) lower limit lb upper limit lb
Solution:
use r studio
weights <- c(66 ,103 ,126, 129, 60, 64 )
mean(weights)
sd(weights)
t.test(weights,conf.level = 0.75)
output:
mean(weights)
[1] 91.33333
> sd(weights)
[1] 32.02291
> t.test(weights,conf.level = 0.75)
One Sample t-test
data: weights
t = 6.9863, df = 5, p-value = 0.0009251
alternative hypothesis: true mean is not equal to 0
75 percent confidence interval:
74.32564 108.34103
sample estimates:
mean of x
91.33333
x =91.3 lb
s =32.0 lb
75% lower limit =74.3 lb
75% upper limit =108.3lb
Attached Rstudio screenshot for the same