Question

Suppose you run an experiment, and observe the following values: 12, 20, 34, 45, 34, 36,...

Suppose you run an experiment, and observe the following values: 12, 20, 34, 45, 34, 36, 37, 50, 11, 32, 29 You will test the hypothesis that the average was 25 at alpha=0.05. #5.1) Write out the Null and Alternative hypotheses. Conduct the hypothesis test assuming normality. Use the “t.test” function. Do you reject or fail to reject the null? Solve using R.

Homework Answers

Answer #1

R CODE:

> # Let x denotes the values given

> x<-c(12,20,34,45,34,36,37,50,11,32,29)

> # Null hypothesis H0: average= 25

> # Alternative hypothesis H1: average is not equal to 25

> z<-t.test(x,alternative="two.sided",mu=25)

> z

OUTPUT:

One Sample t-test

data: x

t = 1.5881, df = 10, p-value = 0.1433

alternative hypothesis: true mean is not equal to 25

95 percent confidence interval:

22.61855 39.19963

sample estimates:

mean of x

30.90909

Result: Since P value > alpha, it implies that we fail to reject Ho at the alpha level of significance.

That means average = 25 according to the t-test.

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
Suppose you want to test how fair is the coin. You conduct the following experiment. You...
Suppose you want to test how fair is the coin. You conduct the following experiment. You flip the 2 coins multiple times and observe HH - 34 times, HT - 15 times, TH - 27 times, and TT - 14 times. What is the Test Statistics to test the Null Hypothesis that the coin is fair against the alternative hypothesis that the coin is unfair?
Suppose you want to test how fair is the coin. You conduct the following experiment. You...
Suppose you want to test how fair is the coin. You conduct the following experiment. You flip the 2 coins multiple times and observe HH - 33 times, HT - 29 times, TH - 24 times, and TT - 26 times. What is the Test Statistics to test the Null Hypothesis that the coin is fair against the alternative hypothesis that the coin is unfair?
A random sample of 36 values is drawn from a mound-shaped and symmetric distribution. The sample...
A random sample of 36 values is drawn from a mound-shaped and symmetric distribution. The sample mean is 14 and the sample standard deviation is 2. Use a level of significance of 0.05 to conduct a two-tailed test of the claim that the population mean is 13.5. (a) Is it appropriate to use a Student's t distribution? Explain. Yes, because the x distribution is mound-shaped and symmetric and σ is unknown.No, the x distribution is skewed left.    No, the x distribution...
A random sample of 36 values is drawn from a mound-shaped and symmetric distribution. The sample...
A random sample of 36 values is drawn from a mound-shaped and symmetric distribution. The sample mean is 9 and the sample standard deviation is 2. Use a level of significance of 0.05 to conduct a two-tailed test of the claim that the population mean is 8.5. (a) Is it appropriate to use a Student's t distribution? Explain. Yes, because the x distribution is mound-shaped and symmetric and σ is unknown.No, the x distribution is skewed left.    No, the x distribution...
A random sample of 36 values is drawn from a mound-shaped and symmetric distribution. The sample...
A random sample of 36 values is drawn from a mound-shaped and symmetric distribution. The sample mean is 11 and the sample standard deviation is 2. Use a level of significance of 0.05 to conduct a two-tailed test of the claim that the population mean is 10.5. (a) Is it appropriate to use a Student's t distribution? Explain. Yes, because the x distribution is mound-shaped and symmetric and σ is unknown.No, the x distribution is skewed left.     No, the x distribution...
A random sample of 36 values is drawn from a mound-shaped and symmetric distribution. The sample...
A random sample of 36 values is drawn from a mound-shaped and symmetric distribution. The sample mean is 8 and the sample standard deviation is 2. Use a level of significance of 0.05 to conduct a two-tailed test of the claim that the population mean is 7.5. (a) Is it appropriate to use a Student's t distribution? Explain. Yes, because the x distribution is mound-shaped and symmetric and σ is unknown. No, the x distribution is skewed left.     No, the...
Domestic 29 36 33 34 38 37 33 29 43 39 43 42 32 35 39...
Domestic 29 36 33 34 38 37 33 29 43 39 43 42 32 35 39 International 39 54 46 39 69 47 48 28 54 62 (1-a)Examine the data below showing the weights (in pounds) of randomly selected checked bags for an airline's flights on the same day. Click here for the data. Let μ1μ1 be the population mean pounds for International bags and μ2μ2 be the population mean pounds for Domestic bags. You are asked to test whether...
For one binomial experiment, n1 = 75 binomial trials produced r1 = 45 successes. For a...
For one binomial experiment, n1 = 75 binomial trials produced r1 = 45 successes. For a second independent binomial experiment, n2 = 100 binomial trials produced r2 = 65 successes. At the 5% level of significance, test the claim that the probabilities of success for the two binomial experiments differ. (a) Compute the pooled probability of success for the two experiments. (Round your answer to three decimal places.) (b) Check Requirements: What distribution does the sample test statistic follow? Explain....
does stress affect the recall ability of police eyewitnesses? An experiment tested the eyewitness memory a...
does stress affect the recall ability of police eyewitnesses? An experiment tested the eyewitness memory a week after nonstressful interview of a cooperative suspect. The memory of stressful interview of an uncooperative and belligerent suspect was also tested. The number of details recalled Nonstressed: n = 40 mean = 53.3 standard deviation = 11.6 Stressed: n = 40 mean = 45.3 standard deviation = 13.2 Is there enough evidence to indicate that the that nonstress suspect recalled more than the...
For one binomial experiment, n1 = 75 binomial trials produced r1 = 45 successes. For a...
For one binomial experiment, n1 = 75 binomial trials produced r1 = 45 successes. For a second independent binomial experiment, n2 = 100 binomial trials produced r2 = 65 successes. At the 5% level of significance, test the claim that the probabilities of success for the two binomial experiments differ.(a) Compute the pooled probability of success for the two experiments. (Round your answer to three decimal places.) (b) Check Requirements: What distribution does the sample test statistic follow? Explain. The...