02323 · Test Quiz 6
Question 1 of 7
The life time of batteries purchased from two different producers is investigated. The lifetime of a number of batteries from each manufacturer is recorded and the following data is available:
Producer A: \({n_A} = 15\quad \left( { { {\bar x}_A},{s_A}} \right) = \left( {122.4;30.5} \right)\)
Producer B: \({n_B} = 10\quad \left( { { {\bar x}_B},{s_B}} \right) = \left( {145.9;22.3} \right)\)
Data is assumed to follow a normal distribution in each group. What is the test statistic for and the conclusion about the hypothesis $ {\mu_A} = {\mu}_B $: (Both $t$-value and the conclusion must be valid)
Question 2 of 7
Data in the table below comes from a study where 14 patient’s systolic blood pressure was measured (in mmHg) before a certain medical drug treatment and 1 month after starting the treatment.
Patient no | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Blood pressure before treatment | 155 | 164 | 177 | 167 | 156 | 198 | 155 | 187 | 185 | 177 | 150 | 145 | 189 | 176 |
Blood pressure after treatment | 165 | 154 | 172 | 156 | 150 | 185 | 145 | 182 | 165 | 166 | 145 | 150 | 169 | 172 |
A 95% confidence interval for the change in blood pressure becomes:
Question 3 of 7
In a sports study one wants to investigate whether there is a difference in energy consumption for various types of training. We have (for a single person) measured the energy consumed in 10 jogs of 30 minutes and 10 bike rides of 30 minutes. Measurements, expressed in kcal, is given in the table below:
Jogs | Bike rides |
---|---|
314 | 294 |
340 | 317 |
331 | 317 |
333 | 310 |
329 | 327 |
322 | 300 |
332 | 293 |
330 | 321 |
338 | 307 |
325 | 304 |
The following R code was run:
x1=c(314,340,331,333,329,322,332,330,338,325)
x2=c(294,317,317,310,327,300,293,321,307,304)
var(x1)
var(x2)
t.test(x1,x2)
t.test(x1,x2,pair=T,mu=20)
with the following results:
> var(x1)
[1] 57.82222
> var(x2)
[1] 132
> t.test(x1,x2)
Welch Two Sample t-test
data: x1 and x2
t = 4.6823, df = 15.615, p-value = 0.0002658
alternative hypothesis: true difference in means is not equal to 0
95 percent confidence interval:
11.14535 29.65465
sample estimates:
mean of x mean of y
329.4 309.0
> t.test(x1,x2,pair=T,mu=20)
Paired t-test
data: x1 and x2
t = 0.1209, df = 9, p-value = 0.9064
alternative hypothesis: true difference in means is not equal to 20
95 percent confidence interval:
12.91852 27.88148
sample estimates:
mean of the differences
20.4
Consider only data for the bike rides. Denote the true mean energy consumption by bike rides $ \mu $. A 99% confidence interval for $ \mu $ is:
Question 4 of 7
Let $ X_ {1} $ describe the weight of a random cola bottle filled with 0.25 l. Let $ X_ {2} $ describe the weight of a random empty cola bottle. It is assumed that these variables are normally distributed and independent with mean and variance as given here:
\[{X_1}:\quad \;({\mu _{ {X_1}}};\sigma _{ {X_1}}^2) = (626.9 g;4.{2^2} {g^2})\;\quad \mbox{and} \quad {X_2}:\quad ({\mu _{ {X_2}}};\sigma _{ {X_2}}^2) = (364.7 g;3.{6^2} {g^2})\;\]The colas are sold in boxes of 24 bottles. It is assumed that the box weight is 1500 g (and potential variation of this number is ignored). The probability that the weight of a random box of filled colas is under 16500 g becomes:
Question 5 of 7
The probability density functions of three normal distributions are shown below:
It is given that the standard deviation of the distribution in the middle is $\sigma = 0.3$. If you have to mention the three distributions in order after the size of the standard deviation, where you mention the distribution with the lowest standard deviation first and the distribution with the largest standard deviation at last, the correct order is?
Question 6 of 7
In order for a taxi company to make money, the number of customers for a given taxi driver should at least be 4 per. hour. In a period of 3 hours, 9 costumers were observed at a random selected taxi driver. It is desired to investigate whether there is reason to believe that the taxi company lose money on this taxi driver in the long run?
The $p$-value for such a test is given by:
Question 7 of 7
The probability density function of a normal distribution is shown below:
It is given that the standard deviation of the distribution is $\sigma = 0.3$.
The 2.5% and 97.5% percentile for the distribution in the middle is approximately?