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
You throw two four-sided dice. Let the random variable X represent the maximum value of the two dice. Compute E(X). Round your a
Troyanec [42]

Answer:

E(X)=3.125

Step-by-step explanation:

We are given that two four sided dice.

Then , the sample space

{(1,1),(1,2),(1,3),(1,4),(2,1),(2,2),(2,3),(2,4),(3,1),(3,2),(3,3),(3,4),(4,1),(4,2),(4,3),(4,4)}

Total number of outcomes=16

Let the random variable X represent the maximum value of the two dice

Outcomes                            X                                 P(X)

(1,1)                                          1                                 1/16

(1,2),(2,1),(2,2)                                   2                        3/16

(1,3),(2,3),(3,1),(3,2),(3,3)                    3                           5/16  

(1,4),(3,4) ,(2,4),(4,1),(4,2),(4,3),(4,4)    4                            7/16

Using the probability formula

P(E)=\frac{Favorable\;outcomes}{Total\;number\;of\;outcomes}

Now,

E(X)=\sum_{i=1}^{n}x_iP(x_i)

E(x)=1(1/16)+2(3/16)+3(5/16)+4(7/16)

E(x)=\frac{1+6+15+28}{16}

E(x)=\frac{50}{16}=3.125

7 0
3 years ago
Two Social Security numbers (see Exercise 8.12) match zeros if a digit of one number is zero iff the corresponding digit of the
Roman55 [17]

Answer:

Proved

Step-by-step explanation:

From the given parameters, we have:

n = 9 i.e. the length of each security numbers

r = 2 i.e. 2 security numbers

Required

In 513 security numbers, 2 must have matching zeros

To do this, we make use of Pigeonhole principle.

First, we calculate the number of all security numbers not having matching zeros.

Each of the 9 digits can be selected in 2 ways.

2 ways implies that each digit is either 0 or not

So, total selection is:

Total = 2^9

Total = 512

Apply Pigeonhole principle

The principle states that: suppose there are n items in m containers, where n>m, then there is at least one container that contains more than 1 item.

This means that if there are 512 security number without matching zeros, then there is 1 (i.e. 512 + 1) with matching zeros.

512 + 1 = 513

8 0
3 years ago
Find the arc measure of AB.<br> The measure of arc AB = ______ degrees
mariarad [96]
The picture is difficult to read, but it looks like
  ∠ADB = 2x²
  ∠ACB = 10x
These two angles have equal measure, so you have
  2x² = 10x
  2x(x -5) = 0 . . . . . subtract 10x and factor
  x = 0, or x = 5

The measure of arc AB is twice the measure of either inscribed angle, so would be
  arc AB = 2×10x
  = 2×10×5
  = 100 . . . . . degrees

Arc AB is 100°.
7 0
3 years ago
Who want to help ???
Fiesta28 [93]
For a set of trials P_{desired}=\frac{desired}{total}. In this case our desired out come is all multiples of 3: 3,6,9 and 12. The total number of outcomes can be found as 100 by adding up all the frequencies. Thus our experimental probability is P_{x=3n}=\frac{6+14+12+1}{100}=\frac{33}{100}=33\%.
8 0
3 years ago
Chip earns a base salary of $250 per month as a salesman.In addition to the salary he earns $20 per product that he sells.If his
neonofarm [45]

Answer:112.5

Step-by-step explanation

Subtract the Base amount from his goal and then divide the remaining amount to get how many products he must sell

3 0
3 years ago
Other questions:
  • Which expression stands for 32 more than a number d?
    8·2 answers
  • Calculate the principal from the given interest, rate, and time.
    14·2 answers
  • Which is greater 0.75 or 3 over 16
    14·1 answer
  • What is the answer to this math problem, g=c+x
    8·1 answer
  • Convert to the given unit.<br> 3 T=___lb
    14·1 answer
  • Fine dy/dx if x/(x-y) =log[a/(x-y)​
    11·1 answer
  • Perimeter of a rectangle is 96m. if it's length is 3 times it's width , then find it's length and breadth.​
    10·1 answer
  • Write an expression for the following. "The sum of a number and 12 times 4
    14·1 answer
  • What is the value of x in the solution of the system of equations below?<br>8x-y=20<br>Y=3x​
    6·2 answers
  • PLEASE HELP!!!!<br> I did the math and I got 84, is it correct?
    15·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!