Question

Write R code for to concule whether to accept or reject the null hypothesis for the...

Write R code for to concule whether to accept or reject the null hypothesis for the following question:

A manufacturer claims that the thickness of the steel plates it produces is 61 mils (thousandth of an inch). Car manufacturer's quality control officer regularly checks the claim. From a recent shipment he took a random sample of 50 plates: the sample mean and variance are 61.3 and 1.22, respectively. In order to verify that the manufacturer's claim is accurate, what should his null hypothesis be and should it be accepted at 10% significance level?

Homework Answers

Answer #1

Solution:

Here, we have to use one sample t-test for a population mean.

Null hypothesis: H0: The thickness of the steel plates is 61 mils.

Alternative hypothesis: Ha: The thickness of the steel plates is different from 61 mils.

H0: µ = 61 versus Ha: µ ≠ 61

Test statistic = t = (Xbar - µ)/[S/sqrt(n)]

We are given

Xbar = 61.3, S2 =1.22, S = sqrt(1.22) = 1.104536, n=50, α = 0.10

Required R codes are given as below:

> xbar=61.3

> s=1.104536

> mu=61

> n=50

> t=(xbar - mu)/(s/sqrt(n))

> df= n-1

> p = dt(t,df)

> t

[1] 1.920553

> df

[1] 49

> p

[1] 0.06466888

We get P-value = 0.06 < α = 0.10

So, we reject the null hypothesis H0

Null hypothesis should not be accepted at 10%

There is insufficient evidence to conclude that the thickness of the steel plates is 61 mils.

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
I. State null and alternative hypotheses. II. Decide on the significance level, α. III. Compute the...
I. State null and alternative hypotheses. II. Decide on the significance level, α. III. Compute the value of the test statistic. IV. Determine the critical value(s). V. If the value of the test statistic falls in the rejection region, reject H0. VI. Interpret the result of the hypothesis test. Question: . A manufacturer claims that the thickness of the spearmint gum it produces is 7.5 one-hundredths of an inch. A quality control specialist regularly checks this claim. On one production...
Interpreting a Decision In Exercises 43–48, determine whether the claim represents the null hypothesis or the...
Interpreting a Decision In Exercises 43–48, determine whether the claim represents the null hypothesis or the alternative hypothesis. If a hypothesis test is performed, how should you interpret a decision that (a) rejects the null hypothesis? (b) fails to reject the null hypothesis? Writing Hypotheses: Backpack Manufacturer A backpack manufacturer claims that the mean life of its competitor’s backpacks is less than 5 years. You are asked to perform a hypothesis test to test this claim. How would you write...
(can you please explain your work) A manufacturer claims that the thickness of the spearmint gum...
(can you please explain your work) A manufacturer claims that the thickness of the spearmint gum it produces is 7.5 one-hundredths of an inch. A quality control specialist regularly checks this claim. On one production run, he took a random sample of 10 pieces of gum and measured their thickness. The sample mean is 7.55 and sample standard deviation is 0.1027. Let ? denote the population mean of the thickness. Answer questions 4 – 8. 4. ________ Formulate hypothesis that...
For each of the following, state the null hypothesis and the alternative hypothesis: a. Means sales...
For each of the following, state the null hypothesis and the alternative hypothesis: a. Means sales of Celebrity Living over the years have been 1.25 million per week. A manager claims that sales have increased. H0: μ           less-than or equal to, less-than, greater-than or equal to  1.25 H1: μ greater-than, equal to, not equal to  1.25 b. The manager of Little Cakes Inc. states that an average of 1,500 muffins is sold each week in the retail store. One of the...