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]
3 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]3 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
Help me simplify the following expression, show steps please
malfutka [58]

\frac{2x^3y^3}{4y^2} = \frac{x^3y^3}{2y^2} = \frac{x^3y}{2}

4 0
3 years ago
What is 5x2+10x2-8x2+4x4-x3
kotykmax [81]
I think it is 78 I hope is help you :)
6 0
3 years ago
Does Every positive real number have both a positive and negative cube root?
vovangra [49]
Yes. For example, 25. The square root of 25 is 5 because 5*5=25. Multiplying two negatives always= a positive, so -5*-5=25.
7 0
3 years ago
Read 2 more answers
If Triangle ABC is rotated 90 degrees clockwise about the origin, what will be the new coordinates of vertex B?
quester [9]

Answer:

ithe answer to your question is going to be c

6 0
3 years ago
Whats the y intercept and the rate of change please help me
GenaCL600 [577]
Y-intercept= 5
Rate of change= 3
6 0
2 years ago
Other questions:
  • Joanne slices a large banana bread into 10 pieces. There are 2 adults and 2 children who get a piece of banana bread. The rest o
    5·1 answer
  • Write the numbers in order from least to greatest.<br><br><br>3.4 2.9 √15 √6
    14·2 answers
  • Which expression is equivalent to (8^2)^-4
    5·1 answer
  • Solve for p: 5p+7c=2p
    6·1 answer
  • Maya bought 8 chicken wings for $8.80. If Maya spent $25.30, how many chicken wings did she buy?
    10·1 answer
  • If f(x) = 3x-2, then f (8) - f (-5) =​
    13·2 answers
  • What is the answer for -2x = 34
    12·2 answers
  • Burgers come in packs of 10. The cost of 10 burgers is £3.45. How much does 1 burger cost?
    9·1 answer
  • Use the drop-down menus to identify the values of the
    9·1 answer
  • If x:6 as 3:9, then x is equal to
    7·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!