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
Sliva [168]
3 years ago
9

This problem uses the teengamb data set in the faraway package. Fit a model with gamble as the response and the other variables

as predictors. (a) Predict the amount that men with average (given the data) status, income and verbal score would gamble along with an appropriate 95% confidence interval for the mean amount. (b) Repeat the prediction for men with maximal values (for this data) of status, income and verbal score. Which confidence interval is wider and why is the result expected?
Mathematics
1 answer:
hichkok12 [17]3 years ago
4 0

Answer:

A. 95% confidence interval of gamble amount is (18.78277, 37.70227)

B. The 95% confidence interval of gamble amount is (42.23237, 100.3835)

C. 95% confidence interval of sqrt(gamble) is (3.180676, 4.918371)

D. The predicted bet value for a woman with status = 20, income = 1, verbal = 10, which shows a negative result and does not fit with the data, so it is inferred that model (c) does not fit with this information

Step-by-step explanation:

to)

We will see a code with which it can be predicted that an average man with income and verbal score maintains an appropriate 95% CI.

attach (teengamb)

model = lm (bet ~ sex + status + income + verbal)

newdata = data.frame (sex = 0, state = mean (state), income = mean (income), verbal = mean (verbal))

predict (model, new data, interval = "predict")

lwr upr setting

28.24252 -18.51536 75.00039

we can deduce that an average man, with income and verbal score can play 28.24252 times

using the following formula you can obtain the confidence interval for the bet amount of 95%

predict (model, new data, range = "confidence")

lwr upr setting

28.24252 18.78277 37.70227

as a result, the confidence interval of 95% of the bet amount is (18.78277, 37.70227)

b)

Run the following command to predict a man with maximum values ​​for status, income, and verbal score.

newdata1 = data.frame (sex = 0, state = max (state), income = max (income), verbal = max (verbal))

predict (model, new data1, interval = "confidence")

lwr upr setting

71.30794 42.23237 100.3835

we can deduce that a man with the maximum state, income and verbal punctuation is going to bet 71.30794

The 95% confidence interval of the bet amount is (42.23237, 100.3835)

it is observed that the confidence interval is wider for a man in maximum state than for an average man, it is an expected data because the bet value will be higher than the person with maximum state that the average what you carried s that simultaneously The, the standard error and the width of the confidence interval is wider for maximum data values.

(C)

Run the following code for the new model and predict the answer.

model1 = lm (sqrt (bet) ~ sex + status + income + verbal)

we replace:

predict (model1, new data, range = "confidence")

lwr upr setting

4,049523 3,180676 4.918371

The predicted sqrt (bet) is 4.049523. which is equal to the bet amount is 16.39864.

The 95% confidence interval of sqrt (wager) is (3.180676, 4.918371)

(d)

We will see the code to predict women with status = 20, income = 1, verbal = 10.

newdata2 = data.frame (sex = 1, state = 20, income = 1, verbal = 10)

predict (model1, new data2, interval = "confidence")

lwr upr setting

-2.08648 -4.445937 0.272978

The predicted bet value for a woman with status = 20, income = 1, verbal = 10, which shows a negative result and does not fit with the data, so it is inferred that model (c) does not fit with this information

You might be interested in
Find x<br>1. x + 10 &lt; -7<br>2. -3x - 4 &gt; 5<br>Help me please
oksian1 [2.3K]

1)

x+10<-7

bring 10 to the other side

x<-10-7

x<-17

2)

-3x-4>5

bring -4 to the other side

-3x>9

divide -3 at the other side, since it is negative it changes to less than

x<-3

8 0
2 years ago
Oranges cost 85 cents each.
Naily [24]

Answer:

11

Step-by-step explanation: 100 cents- $1

85 x 85 x 85 x 85 x 85 x 85 x 85 x 85 x 85 x 85 x 85 = 935

935 or 9.35 dollars

8 0
3 years ago
Read 2 more answers
Solve for x 10x+1=12x-5
Verdich [7]

Answer:

x=3

Step-by-step explanation:

1) 10x+1-1 = 12x-5-1, this becomes a new equation

Equation: 10x = 12x-6

2) 10x-12x = 12x-12x-6, this become a new equation

Equation: -2x = -6

3) Divide both sides by -2: -2x/2 = -6/2

4) Once you simplify, you will get x=3

Hope this helps!

6 0
3 years ago
If v = 36 cm, w = 24 cm, x = 30 cm, y = 39 cm, and z = 15 cm, what is the surface area of the geometric shape formed by the net?
Rashid [163]

Answer:144i think

Step-by-step explanation:

Literally just added number

6 0
3 years ago
Student scores on exams given by a certain instructor have mean 74 and standard deviation 14. This instructor is about to give t
natali 33 [55]

Answer:

a) Hence the probability that the average test score in the class of size 25 exceeds 80.

P ( X > 74) = 0.9838

P ( Z > 2.14) = 0.0162

b) Hence the probability that the average test score for the class of size 64

P ( X > 74) = 0.9838

P ( Z > 2.14) = 0.0003

c) Probability of the difference exceeding 2.2 = 0.9936

P (Z < 2.49) = 0.0064

Step-by-step explanation:

Let's assume a normal distribution.

Now,

a) For a class of 25

P ( X > 74) = P (Z > 80 - 74/ 14\sqrt(25) )\\\\= P (Z < 6 / 2.8)\\\\= P ( Z < 2.14)\\= 0.9838\\

P ( Z > 2.14) = 1- 0.9838\\= 0.0162

b)

Similarly:

For the class of 64

P ( X > 74) = P (Z > 80 - 74/ 14\sqrt(64) )\\\\= P (Z < 6 / 1.75)= P ( Z < 3.428)\\= 0.9838\\

P ( Z > 2.14) = 1- 0.9997\\= 0.0003

c) Probability of the difference exceeding 2.2

= P (Z > 2.2/\sqrt{14 * {(1/25) + (1/64}\\

= P (Z > 2.49)\\= 0.9936

P (Z < 2.49)

= 1 - 0.9936

= 0.0064

3 0
3 years ago
Other questions:
  • Please help :) ...........
    5·1 answer
  • Mrs.bell has a 256 ounce of soil. What is the greatest number of 6 ounce pots she can completely fill with soil.
    15·1 answer
  • Which of these statements about algebra are true?
    5·2 answers
  • Which is greater, the greatest whole number with 4 digits or the least whole number with 5 digits? Explain
    6·1 answer
  • Multiples of 3 are always multiples of 6.
    7·2 answers
  • Calculate the line integral of the vector field  F  = xy i  + (x − y) j  along C, the triangle composed of three segments. C1 is
    7·1 answer
  • Z-m=z+bx for x. please help me i really need help
    8·1 answer
  • Put 12/15,3/5,7/15,3/7 in smallest to greatest order
    12·2 answers
  • Can you please help me ​
    12·1 answer
  • NEED HELP ASAP, I WILL GIVE YOU BRAINLIEST
    7·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!