Question

A random sample of the ages of students who took Stat 3000 between 2012 and 2014...

A random sample of the ages of students who took Stat 3000 between 2012 and 2014 is: 19, 21, 26, 29, 30,

21, 24. Use R to carry out a hypothesis test to determine if the mean age of all students who took stat 3000

between 2012 and 2014 is different than 22. State your hypotheses and conclusions, attach your R code.

Homework Answers

Answer #1

using R

we have

> x=c( 19, 21, 26, 29, 30,21, 24)
> x
[1] 19 21 26 29 30 21 24
> t.test(x,mu=22,alternative = c("two.sided"))

   One Sample t-test

data: x
t = 1.4292, df = 6, p-value = 0.2029
alternative hypothesis: true mean is not equal to 22
95 percent confidence interval:
20.37232 28.19911
sample estimates:
mean of x
24.28571

the null and alternative hypothesis is

the p value from r output is 0.2029 since p value is large so we accept the null hypothesis and conclude that

the mean age of all students who took stat 3000 between 2012 and 2014 is same as 22

Know the answer?
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for?
Ask your own homework help question
Similar Questions
Data set for ages of students in stats class: 17, 18, 18, 18, 18, 18, 18,...
Data set for ages of students in stats class: 17, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 19, 19, 19, 19,19, 20, 20, 20, 21, 21, 21, 21, 21, 21, 22, 22, 22, 22, 23, 23, 23, 23, 24, 25, 25, 25, 26, 26, 27, 28, 28, 28, 28, 29, 29, 32, 36, 42 1) Compute the 5-number summary and create a modified box-plot, using the inner-quartile range to identify any outliers.
As of 2012, the proportion of students who use a MacBook as their primary computer is...
As of 2012, the proportion of students who use a MacBook as their primary computer is 0.37. You believe that at your university the proportion is actually different from 0.37. The hypotheses for this test are Null Hypothesis: p = 0.37, Alternative Hypothesis: p ≠ 0.37. If you randomly select 29 students in a sample and 13 of them use a MacBook as their primary computer, what is your test statistic and p-value?
A random sample of 22 STAT 250 students was collected and the file size of Data...
A random sample of 22 STAT 250 students was collected and the file size of Data Analysis 2 was recorded. The data was measured in megabytes. The instructors of the course claim that the file size will be different from 5 megabytes. Consider the population of all file sizes to be right skewed. Using a= 0.01, is there sufficient evidence to conclude that the mean file size of Data Analysis 2 is different from 5 megabytes? Conduct a full hypothesis...
Suppose a sample of 8 students were given a diagnostic test before studying a particular module...
Suppose a sample of 8 students were given a diagnostic test before studying a particular module and then again after completing the module. We want to find out if, in general, our teaching leads to improvements in students’ knowledge/skills (i.e. test scores). Student Pre-Module Score Post-Module Score 1 16 17 2 21 25 3 16 15 4 22 24 5 19 16 6 24 29 7 17 20 8 21 22 a. State the Null and the Alternative Hypotheses. b....
Please use excel: To assess the effectiveness of a cola video ad, a random sample of...
Please use excel: To assess the effectiveness of a cola video ad, a random sample of 38 individuals from a target audience was selected to participate in a copy test. Participants viewed two ads, one of which was the ad being tested. Participants then answered a series of questions about how much they liked the ads. An adindex measure was created and stored in Adindex; the higher the adindex value, the more likeable the ad. Compute descriptive statistics and perform...
4.         Suppose a sample of 8 students were given a diagnostic test before studying a particular module...
4.         Suppose a sample of 8 students were given a diagnostic test before studying a particular module and then again after completing the module. We want to find out if, in general, our teaching leads to improvements in students’ knowledge/skills (i.e. test scores).  (2,4,4)             Student            Pre-Module Score                    Post-Module Score             1                      16                                                        17             2                      21                                                        25             3                      16                                                        15             4                      22                                                        24             5                      19                                                        16             6                      24                                                        29             7                      17                                                        20             8                      21                                                        22                          a. State the Null and the Alternative Hypotheses. (2)             b. Gather the differences and show the test statistics and the find the standardized test statistic. (4)...
A random sample of 843 students between the ages of 20 and 24 at a large...
A random sample of 843 students between the ages of 20 and 24 at a large midwestern university completed a survey including questions about their sleep quality, moods, academic performance, physical health, and psychoactive drug use. Sleep quality was measured using the Pittsburgh Sleep Quality Index (PSQI), with students scoring less than or equal to five on the index classified as optimal sleepers, those scoring a 6 or 7 classified as borderline, and those scoring over 7 classified as poor...
A random sample of 850 students between the ages of 20 and 24 at a large...
A random sample of 850 students between the ages of 20 and 24 at a large midwestern university completed a survey including questions about their sleep quality, moods, academic performance, physical health, and psychoactive drug use. Sleep quality was measured using the Pittsburgh Sleep Quality Index (PSQI), with students scoring less than or equal to five on the index classified as optimal sleepers, those scoring a 6 or 7 classified as borderline, and those scoring over 7 classified as poor...
A random sample of 864 students between the ages of 20 and 24 at a large...
A random sample of 864 students between the ages of 20 and 24 at a large midwestern university completed a survey including questions about their sleep quality, moods, academic performance, physical health, and psychoactive drug use. Sleep quality was measured using the Pittsburgh Sleep Quality Index (PSQI), with students scoring less than or equal to five on the index classified as optimal sleepers, those scoring a 6 or 7 classified as borderline, and those scoring over 7 classified as poor...
4. A random sample of 859 students between the ages of 20 and 24 at a...
4. A random sample of 859 students between the ages of 20 and 24 at a large midwestern university completed a survey including questions about their sleep quality, moods, academic performance, physical health, and psychoactive drug use. Sleep quality was measured using the Pittsburgh Sleep Quality Index (PSQI), with students scoring less than or equal to five on the index classified as optimal sleepers, those scoring a 6 or 7 classified as borderline, and those scoring over 7 classified as...
ADVERTISEMENT
Need Online Homework Help?

Get Answers For Free
Most questions answered within 1 hours.

Ask a Question
ADVERTISEMENT