1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Vladimir79 [104]
2 years ago
15

A company with a large fleet of cars wants to study the gasoline usage. They check the gasoline usage for 50 company trips chose

n at random, finding a mean of 27.02 mpg and sample standard deviation is 5.83 mpg. d. Please use R to construct a (two-sided) 88% CI for the mean of the general gasoline usage. Then for this answer, provide the lower bound of the CI and round to 2 decimal places. Please do not use the automagic R function. Only use functions that we've covered in class (or else you won't get credit).
Mathematics
1 answer:
Nookie1986 [14]2 years ago
6 0

Answer:

The 95% confidence interval is given by (25.71536 ;28.32464)

And if we need to round we can use the following excel code:

round(lower,2)

[1] 25.72

round(upper,2)

[1] 28.32

And the interval would be (25.72; 28.32)  

Step-by-step explanation:

Notation and definitions  

n=50 represent the sample size  

\bar X= 27.2 represent the sample mean  

s=5.83 represent the sample standard deviation  

m represent the margin of error  

Confidence =88% or 0.88

A confidence interval is "a range of values that’s likely to include a population value with a certain degree of confidence. It is often expressed a % whereby a population means lies between an upper and lower interval".  

The margin of error is the range of values below and above the sample statistic in a confidence interval.  

Normal distribution, is a "probability distribution that is symmetric about the mean, showing that data near the mean are more frequent in occurrence than data far from the mean".  

Calculate the critical value tc  

In order to find the critical value is important to mention that we don't know about the population standard deviation, so on this case we need to use the t distribution. Since our interval is at 88% of confidence, our significance level would be given by \alpha=1-0.88=0.12 and \alpha/2 =0.06. The degrees of freedom are given by:  

df=n-1=50-1=49  

We can find the critical values in R using the following formulas:  

qt(0.06,49)

[1] -1.582366

qt(1-0.06,49)

[1] 1.582366

The critical value tc=\pm 1.582366  

Calculate the margin of error (m)  

The margin of error for the sample mean is given by this formula:  

m=t_c \frac{s}{\sqrt{n}}  

m=1.582366 \frac{5.83}{\sqrt{50}}=14.613  

With R we can do this:

m=1.582366*(5.83/sqrt(50))

m

[1] 1.304639

Calculate the confidence interval  

The interval for the mean is given by this formula:  

\bar X \pm t_{c} \frac{s}{\sqrt{n}}  

And calculating the limits we got:  

27.02 - 1.582366 \frac{5.83}{\sqrt{50}}=25.715  

27.02 + 1.582366 \frac{5.83}{\sqrt{50}}=28.325

Using R the code is:

lower=27.02-m;lower

[1] 25.71536

upper=27.02+m;upper

[1] 28.32464

The 95% confidence interval is given by (25.71536 ;28.32464)  

And if we need to round we can use the following excel code:

round(lower,2)

[1] 25.72

round(upper,2)

[1] 28.32

And the interval would be (25.72; 28.32)  

You might be interested in
POINTSS GIVEAWAY!!!!!!!!!!! WHOEVER GETS THEM, YAYYY AND FOR THOSE WHO DONT I HOPE BOTH SIDES OF YOUR PILLOW ARE COOL TONIGHT, R
IRINA_888 [86]

Answer:

lets go

Step-by-step explanation:

5 0
2 years ago
Read 2 more answers
Which is equivalent to 9+2i -(6+ 4i)?<br> [A] 3-212<br> [C] 15+6i<br> [B] 3-6<br> [D] 3-2i
Vinvika [58]
It's D, 3-2i.

Hope this helps
8 0
3 years ago
Please help i really need it, i will give brainliest to the right answers
Dmitry_Shevchenko [17]

Answer:

-292 1/2

Step-by-step explanation:

PEMDAS

Perenthesis

2 To the power of 4 = 16 + 1/4 = 16/1 + 1/4 X -18

4 0
2 years ago
10-<br> 5-<br> -10<br> -5<br> 5<br> 10<br> -10-<br> What is the equation
SOVA2 [1]

Answer:

-30

Step-by-step explanation:

6 0
3 years ago
Read 2 more answers
What is 75/8 as a mixed number
stich3 [128]

9 and 3/8 is 75/8 as a mixed #.
5 0
2 years ago
Other questions:
  • Name three numbers between 0.33 and 0.34
    6·1 answer
  • Susan has 2/3 of an hour left to make cards. It takes her about 1/6 of an hour to make each card. About how many cards can she m
    9·2 answers
  • Literal equations I=pry solve for p
    8·1 answer
  • A loan of $25,475 is taken out at 4.6% interest, compounded annually. If no payments are
    13·1 answer
  • What is the GCF of 104 and 117
    15·1 answer
  • A collector bought a rare coin for $30. The coin is now valued at $37.50. What is the percent increase in value?​
    15·1 answer
  • What is the length (in centimeters) of side PR of the triangle? 36 centimeters 42 centimeters 60 centimeters 84 centimeters
    7·2 answers
  • PLEASE HELP ASAP PLEASE PLEASE PLEASE
    10·1 answer
  • The temperature was 68°F. Later that day the temperature was 82°F. How much does the temperature need to rise or fall to return
    8·2 answers
  • Jeremy find the cost by adding the percents. 25% off of $60 is equal to 15% off of $60, then subtracting 10% from that cost is e
    14·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!