Question

In: Statistics and Probability

Flu 0-18 years 7 19-34 years 22 35-49 Years 40 50-64 Years 57 65 years or...

Flu
0-18 years 7
19-34 years 22
35-49 Years 40
50-64 Years 57
65 years or older 61
Total Cases 187

The age distribution has 20% of its citizens under the age of 18 and 13% over the age of 65.

Using this information, answer the following questions. Back up your conclusions with an appropriate test. To receive full credit, include the test statistic, p-value, expected counts and conclusion in plain English.

1. Does the age distribution statistically differ from the age distribution of the county?
2. Is there statistical evidence that people under the age of 18 are less affected?

Solutions

Expert Solution

Answer 1

Assume a level of significance of 5%.

(1) Null and Alternative Hypotheses
The following null and alternative hypotheses need to be tested:
H0: The age distribution is same as the age distribution of the country i.e. p1 =0.2, p2 =0.223333, p3​=0.223333, p4​=0.223333, p5 =0.13
Ha​: Some of the population proportions differ from the values stated in the null hypothesis

This corresponds to a Chi-Square test for Goodness of Fit.

(2) Rejection Region
Based on the information provided, the significance level is α=0.05, the number of degrees of freedom is df=n-1=5-1=4, so then the rejection region for this test is R={χ2:χ2>9.4877}.

(3) Test Statistics
The Chi-Squared statistic is computed as follows:


(4)P-value
The P-value is the probability that a chi-square statistic having 4 degrees of freedom is more extreme than 9.4877.
The p-value is p=Pr(χ2>95.0705)=0

(5) Decision about the null hypothesis
Since it is observed that χ2=95.0705>χc2​=9.4877, it is then concluded that the null hypothesis is rejected.

(6) Conclusion
It is concluded that the null hypothesis Ho is rejected. Therefore, there is enough evidence to claim that some of the population proportions differ from those stated in the null hypothesis, at the α=0.05 significance level. Hence the age distribution does statistically differ from the age distribution of the country.

Conditions
a. The sampling method is simple random sampling.
b. The variable under study is categorical.
c. The expected value of the number of sample observations in each level of the variable is at least 5.

The test run in excel with comprehensive formulas is:

Answer 2

Yes, there seems to be statistical evidence that people under the age of 18 are less affected. This is because the contribution of the people under age of 18 to the chi-square statistic is very significant at 24.7102.

Let me know in the comments if anything is not clear. I will reply ASAP! Please do upvote if satisfied!


Related Solutions

# R Hypothesis Tests install.packages("dplyr") tScore_before <- c(40, 62, 74, 22, 64, 65, 49, 49, 49)...
# R Hypothesis Tests install.packages("dplyr") tScore_before <- c(40, 62, 74, 22, 64, 65, 49, 49, 49) tScore_after <- c(68, 61, 64, 76, 90, 75, 66, 60, 63) # Create a data frame my_data <- data.frame(                 group = rep(c("Score Before", "Score After"), each = 9),                 scores = c(tScore_before, tScore_after)                 ) # Print all data print(my_data) #Compute summary statistics by groups library(dplyr) group_by(my_data, group) %>% summarise(     count = n(),     mean = mean(scores, na.rm = TRUE),     sd...
_ 18-22 23-35 36-49 50-64 65_and_over Several_times_a_day 21 18 9 2 1 About_once_a_day 27 39 13...
_ 18-22 23-35 36-49 50-64 65_and_over Several_times_a_day 21 18 9 2 1 About_once_a_day 27 39 13 3 2 3-5_times_per_week 31 44 31 6 3 1-2_times_per_week 30 70 34 15 5 Every_few_weeks 19 67 45 25 8 Less_Often 14 57 59 65 16 Never 5 15 44 68 21 How often do users of a certain social media post on the​ site? The accompanying table represents the frequency of posting for a sample of 932 respondents classified according to their age...
Ages Number of students 15-18 6 19-22 7 23-26 9 27-30 6 31-34 8 35-38 8...
Ages Number of students 15-18 6 19-22 7 23-26 9 27-30 6 31-34 8 35-38 8 Find the relative frequency for the class with lower class limit 15 Relative Frequency =  % Give your answer as a percent, rounded to two decimal places
Age Weight (pounds) 56 156 35 110 22 80 57 91 40 90 22 150 48...
Age Weight (pounds) 56 156 35 110 22 80 57 91 40 90 22 150 48 165 48 99 25 189 40 178 25 123 25 190 59 255 49 112 33 155 56 134 20 117 31 91 27 100 23 80 45 190 29 255 31 112 59 200 39 134 35 110 44 99 27 110 24 180 27 150    The data represents the age and weight (in pounds) of 30 Langley residents.   Create a model to...
) Let X ={35, 45, 39, 41, 41, 44, 46, 48, 49, 34, 12, 50, 20,...
) Let X ={35, 45, 39, 41, 41, 44, 46, 48, 49, 34, 12, 50, 20, 38, 40}(a.) Insert X into R. (a.) Find the mean of X. (b.) Depict X in a boxplot. (NOTE: This question should be answered entirely using code for R.)
Ages Number of students 15-18 5 19-22 6 23-26 3 27-30 9 31-34 9 35-38 6...
Ages Number of students 15-18 5 19-22 6 23-26 3 27-30 9 31-34 9 35-38 6 Find the relative frequency for the class with lower class limit 19 Relative Frequency = % Give your answer as a percent, rounded to two decimal places A Frequency Distribution Table using data This list of 16 random numbers has been sorted: 22 29 34 34 35 40 43 50 50 50 51 53 54 55 56 56 Fill in this table with the...
79, 19, 16, 64, 28, 28, 31,90, 60, 56, 31, 56, 22, 18, 45, 48, 17,...
79, 19, 16, 64, 28, 28, 31,90, 60, 56, 31, 56, 22, 18, 45, 48, 17, 63, 69, 17 with these number find a) Frequency distribution b)Frequency polygon c) less than cumulative frequency polgon.
Consider the following data set: {4, 7, 11, 12, 18, 19, 20, 22, 23, 25} Answer...
Consider the following data set: {4, 7, 11, 12, 18, 19, 20, 22, 23, 25} Answer the following questions. If necessary, round your answers to four decimal places. (a) Find the sample median of the data set. (b) How much can you increase the smallest value from the data set without getting the value of the sample median changed? (Enter NA if there is no limit to the amount.) (c) How much can you decrease the largest value from the...
Average Remaining Lifetimes for Men Age Years 0 75.8 15 61.5 35 41.7 65 16.0 75...
Average Remaining Lifetimes for Men Age Years 0 75.8 15 61.5 35 41.7 65 16.0 75 10.6 -Find the linear correlation coefficient. (Enter a number. Round your answer to four decimal places.) R= Speed (mph) 0.0 0.5 1.0 1.5 2.0 2.5 3.0 3.5 4.0 Pulse (bpm) 61 66 69 75 76 81 85 91 94 -Find the least-squares regression for these data where speed is the independent variable, x, and pulse rate in beats per minute (bpm) is the dependent...
old by years Interval Frequency 35-37 two 32-34 three 29-31 five 26-28 Six 23-25 four 20-22...
old by years Interval Frequency 35-37 two 32-34 three 29-31 five 26-28 Six 23-25 four 20-22 five 17-19 nine 14-16 Sixteen Calculate the above when Passport first used 1- what is the shape of the old distribution? 2- Which accurate statements can describe the relationship between the mean and median old? he mean and median are the same The mean is bigger than the median The mean is less than the median 3- Calculate percentile rank corresponding to the old...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT