Assignments

1. Younger people cruises
The data for this assignment are listed in the Excel file Younger people cruises.
The cruise ship business is rapidly increasing. Although cruises have long been associated with seniors, it now appears that younger people are choosing a cruise as their vacations. To determine whether this is true, an executive for a cruise line sampled passengers 2 years ago and this year and determined their ages.
a. Formulate the null hypothesis H_0 and the alternative hypothesis H_1.
b. For the inference about comparing the population means of two independent populations (which is the case here) it is important to know whether the population variances are equal. Explain why. A test determines that the population variances may be assumed to be equal. Which test is used and explain why it comes to this conclusion?
c. Do these data allow the executive to infer that cruise ships are attracting younger customers at a 1% significance level? Explain your answer.
d. Estimate with 99% confidence the difference in ages between this year and 2 years ago.

Solution

2. Reaction time cell phones
The data for this assignment are listed in the Excel file Reaction time cell phones.

Studies seem to indicate that using a cell phone while driving is dangerous. One reason for this is that the driver’s reaction time may slow while he or she is talking on the phone.
Researchers at Miami (Ohio) University measured the reaction times of a sample of drivers who owned a cell phone. A number of them (the Phone data) were tested while on the phone, and the others (the No Phone data) were tested while not on the phone.
We want to find out whether the reaction times are slower for drivers using cell phones. The significance level is \alpha=0.05.
a. Explain why we should consider the two groups of drivers as two independent populations.
b. An important decision is whether you may assume equal or unequal variances of both populations. It appears that it is allowed to assume equal variances. How could you find out that you are allowed to use the equal-variances test statistic?
c. What is the equal-variance test statistic and explain the formula.
d. Can we conclude that reaction times are slower for drivers using cell phones?

Solution.
a. Data from one group are independent from the data from the other group. The sizes of these two samples are not equal.
b. The two tail F-test is for testing equal variances with \displaystyle{H_0: \frac{s^2_1}{s^2_2}=1} and \displaystyle{H_1: \frac{s^2_1}{s^2_2}\neq1}. With Excel select Data, Data Analysis, F-test Two-Sample for Variances. The test statistic is F=0.73 with p-value =0.0699>0.05, so there is no reason to reject H_0, and equal variances may be assumed.
c. H_0: \mu_1\leq\mu_2; H_1: \mu_1>\mu_2
The test statistic (pooled variance) is: t=7.54 and the p-value =0 (may be computed either manually or by Excel).
d. The value of the test statistic is far in the rejection region and thus we reject H_0. We may conclude that \mu_1>\mu_2. The reaction times are slower for drivers using cell phones.

3. Difference in debt
The data for this assignment are listed in the Excel file Difference in debt.
Are Americans more deeply in debt this year compared to last year? To help answer this question, a researcher randomly sampled the same Americans (heads of a household) this year and last year. For each, the ratio of debt payments to household income was recorded.
a. What kind of test is most appropriate?
b. Formulate the test statistic, and the null hypothesis H_0  and the alternative hypothesis H_1.
c. Can we infer at a 5% significance level that the ratios are higher this year than last?

Solution.
a. In this case we are dealing with a matched pairs experiment: same heads of the household are sampled twice.
b. The test statistic of a matched pairs experiment is \displaystyle{t=\frac{\hat{x}_D-\mu_D}{s_D/\sqrt{n_D}}}, where \displaystyle{\hat{x}_D} denotes the sample mean of the differences, s_D the sample standard deviation and n_D  the numbers of households. The null hypothesis is H_0: \mu_D=0; \H_1: \mu_D>0.
c. The test statistic is \displaystyle{t=\frac{0.0422-0}{0.1634/\sqrt{38}}=1.59}. It is a one-sided test and thus the critical region is t>t_{0.05;37}\approx1.690. The test statistic is not in the rejection region and thus there is not enough evidence to conclude that the ratios are higher this year than last.
Also, Data Analysis | t-test matched pairs experiment can be used, with almost similar results.

4. Healthy companies
The data for this assignment is listed in the Excel file Healthy companies.
In what ways are companies that fail different from those that are healthy?
To answer this question, one study compared various characteristics of 68 healthy and 33 failed mutually independent firms. One of the variables was the ratio of current assets to current liabilities. Roughly speaking, this is the amount that the firm is worth divided by what it owes.
The question of interest is whether or not the mean ratio of current assets to current liabilities is different for the two groups. The significance level is 5%.
a. Formulate the null and alternative hypotheses.
b. The population variances of both populations may be assumed to be not equal. How can you verify this and give the relative results.
c. Based on the result of b. we may apply the ‘compare two means’ t-test. Explain how you did this and give the result.
Excel may be used whenever you like.

Solution.
a. H_0: \mu_{healthy}=\mu_{failed}; H_1: \mu_{healty}\neq\mu_{failed}.
b. Apply the F-test Two-Sample for Variances. It appears that the variance of the healthy firms equals 0.4087 and of the failed firms 0.2314. so \displaystyle{F=\frac{0.4087}{0.2314}=1.7658}. The critical value equals F_{67;32;0.025}\approx{1.92}. Since 1.7658<1.92 the test statistic F does not fall into the rejection region. There is evidence that the variances do not differ.
c. The test statistic is (according to Excel’s t-Test: Two-Sample Assuming Equal Variances): 7.17. The rejection region is t>t_{0.025;99}\approx{1.98} The test statistic falls into the rejection region and H_0 must be rejected: the means are not equal.

5. Brass mailboxes
The data for this assignment are listed in the Excel file Brass mailboxes.
A manufacturer of outdoor brass mailboxes has received numerous complaints about premature corrosion. The manufacturer has identified the cause of the problem as the low-quality lacquer used to coat the brass. He decides to replace his current lacquer supplier with one of five possible alternatives. To judge which is the best, he uses each of the five lacquers to coat 25 brass mailboxes and puts all 125 mailboxes outside. He records, for each, the number of days until the first sign of corrosion is observed.
The manufacturer wants an answer to the question: is there sufficient evidence at the 1% significance level to allow him to conclude that differences exist between the five lacquers? In order to find an answer to this question he applies ANOVA.
Normality of the populations is assumed.
a. Use Descriptive Statistics in Data Analysis to determine the variances of the data of each lacquer. Take the two variances that differ most: V(lacquer 2) and V(lacquer 5) and show that these two variances may be assumed to be equal at the 5% significance level. Give the results.
b. We use Excel to apply ANOVA. Determine the null and alternative hypothesis and find the F-value and the corresponding p-value. Explain why the null hypothesis is rejected.

Solution.
a. V(lacquer2)=1719,91 and V(lacquer5)=841.777.
The result of Excel’s two-sample variance test is F=2.04 with p=0.08654 . We may conclude at the 5% significance level that lacquer 2 and lacquer 5 have equal variances and thus that the variances of all lacquers may be assumed to be equal.
b. H_0: all means are equal, H_1: at least one mean differs from the others. The ANOVA test has the result F=3.32 with p-value 0.0129 (>0.01). Since the manufacturer wants to use a 1% significance level there is not enough evidence to allow the manufacturer to conclude that differences exist between the five lacquers.

0
Web Design BangladeshWeb Design BangladeshMymensingh