A researcher conjectures that cities in the more populous states
of the United States tend to
have higher costs for hospital rooms. Using “city data” that
accompany this text, select a
random sample of ten cities from the six most populous states
(California, Texas, New York,
Florida, Pennsylvania and Illinois). Then take a random sample of
ten cities from the remaining
states in the data set. For each of the twenty cities, record the
average daily cost of a private
hospital room. Assume that such costs are approximately normally
distributed for all cities in
each of the two groups of states. Further assume that the cities
you selected make random
samples of all cities for the two groups of states and that the
standard deviations for the two
groups are unequal and unknown. (When samples are unequal and
unknown, it is said that they are
independent of each other. So when calculating the degrees of
freedom use the formula below
to calculate df. You still use the same confidence interval and t -
test statistic as per your
notes).
Steps for Hypothesis Test for Independence: (σ1 and σ'2unknown
and unequal)
(The t - distribution)
1. state the null and alternative hypothesis
2. find the degrees of freedom when the population standard
deviations are unknown and
unequal.
3. find your critical value(s) of t given the level of significance
and degrees of freedom.
4. find the estimate of the standard deviation.
5. find the test statistic for t.
6. Find the confidence interval using 95% for the “city data”
7. make a decision with a brief summary of your data analysis
HELP ME PLEASE!!!
To carry out the hypothesis test assuming unequal variance for the cities data, the Welch's two sample t test need to be performed to compare the two sample means while assuming unequal variance.
(First take random sample of cities data, let
Group 1: random sample of ten cities from the six most populous
states (California, Texas, New York, Florida, Pennsylvania and
Illinois) where mean = and
standard deviation =
and sample size,
=
10
Group 2: random sample of ten cities from the other states where
mean = and
standard deviation =
and sample size,
=
10
Now, the test is performed in following steps,
Step 1: The Null and Alternative Hypotheses


Step 2: Select the appropriate test statistic and level of significance.
The t statistic is used to compare the two population means. The t statistic is computed using the formula,


This t-statistic follows a t distribution with degrees of freedom

Step 3: State the decision rules.
The decision rules state the conditions that if,
,
Step 4: Compute the appropriate test statistic and make the decision.
The t statistic is,


The P-value for the t statistic is obtained using the t distribution table for t and degree of freedom = df
Decision:
If the null hypothesis rejected, we can support the claim that cities in the more populous states of the United States tend to have higher costs for hospital rooms
The confidence interval for difference in means is obtained using the formula,

A researcher conjectures that cities in the more populous states of the United States tend to have higher costs for hospital rooms. Using “city data” that accompany this text, select a random sample o...
A random sample of 49 measurements from a population with population standard deviation o 3 had a sample mean of x, 9. An independeent random sample of sample mean of x, 11. Test the claim that the population means are 64 measurements from a second population with population standard deviation a2 4 had different. Use level of significance 0.01. (a) What distribution does the sample test statistic follow? Explain. The student's t. We assume that both population distributions are approximately...
Use the following information to answer questions 25-31 A traveler wants to know if the prices of hotels are different. She samples 10 cities and finds the prices below. Use a paired-sample t-test to determine whether the difference between hotel prices is significant at the a 0.01 confidence level Cities Atlanta Boston Chicago Dallas Denver Indianapolis Los Angeles New York City 517 Philadelphia Washington, DC 251 Hyatt Regency prices in dollars Hilton prices in dollars 90 273 204 303 189...
Consider independent random samples from two populations that are normal or approximately normal, or the case in which both sample sizes are at least 30. Then, if σ1 and σ2 are unknown but we have reason to believe that σ1 = σ2, we can pool the standard deviations. Using sample sizes n1 and n2, the sample test statistic x1 − x2 has a Student's t distribution where t = x1 − x2 s 1 n1 + 1 n2 with degrees...
. Estimating the mean height of men in your city (a) Select a random sample of 25men from a city or use a public website to get a sample of men's heights. Record the men's heights in inches (b) Describe how the sample is obtained (c) Make a stemplot for the data (d) Find the mean and standard deviation of the 25men's heights inches e)finches (f) Give an85% confidence interval for the mean height of all men in the city...
Data were gathered from a simple random sample of cities. The variables are Violent Crime (crimes per 100,000 population), Police Officer Wage (mean $/hr), and Graduation Rate (%). Use the accompanying regression table to answer the following questions consider the coefficient of Graduation Rate. Complete parts a through e Dependent variable is: Violent Crime R squared=36.1 R squared (adjusted)equals=38.2% s=129.6 with 37 degrees of freedom Variable Coeff SE (Coeff) t-ratio P-value Intercept 1391.86 187 .88 7.41 < 0.0001 Police Officer...
Data Summaries Sample Mean Sample Std Dev Sample Size 79.998 11.588 1000 Hypothesis Testing Confidence Interval Creation Level of Confidence: 95% Alpha (a) Value: 0.05 MOE 0.719 9 - MOE: 79.279 9 + MOE: 80.717 Confidence Interval Question What is the confidence interval telling you about the population parameter? Use the formula: df = n-1 Use the formula: (9-4_0)/(s/sqrt(n)) Degrees of Freedom: Alpha (a) Value: Test Statistic Value: Is your test statistic a z value or at value? P-Value Method...
Given X, and x, distributions that are normal or approximately normal with unknown o, and on, the value of t corresponding to X, - X, has a distribution that is approximated by a Student's t distribution. We use the convention that the degrees of freedom is approximately the smaller of n - 1 and n, - 1. However, a more accurate estimate for the appropriate degrees of freedom is given by Satterthwaite's formula: 2 2 xn2 522 +$22) d.f. z...
the minimum wage in 15 states Name of state Data value State 1 Alabama 2.2 State 2 Arkansas 0.7 State 3 Connecticut 0.9 State 4 Florida 6.6 State 5 Idaho 0.6 State 6 Iowa 1.2 State 7 Louisiana 2.9 State 8 Massachusetts 1.9 State 9 Mississippi 1.3 State 10 Nebraska 0.5 State 11 New Jersey 2.2 State 12 North Carolina 4.6 State 13 Oklahoma 1.4 State 14 Rhode Island 0.4 State 15 Tennessee 3.4 Analysis: Compute the mean and standard...
2. Table 1 below shows data from a survey of a random sample of people in the United States in November of 2016 (the Current Population Survey). You arc asked to do a two-sided hypothcsis test to test the null hypothesis Put another way Wherc pv21 is the probability that a randomly chosen 21 year old votes and p.25 1s the proba- pv.21-pu ,25 bility that a randomly chosen 25 year old votes a) If you assume the null hypothesis...
UCLA College of Business obtained the following results from two independent random samples on the salaries of a recent graduating class: Sample Economics (1) Majors Sample Marketing (2) Majors Sample Size Economics Majors =36Sample Size Marketing Majors =54Mean Sample Economics = $51,230 ...