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
A certain shampoo is available in two sizes. A 12.6-ounce bottle costs $2.37. A 25.3-ounce bottle costs $5.24.
neonofarm [45]

Answer:

The 12.6 oz bottle

Step-by-step explanation:

0.19/oz for the 12.6 oz

0.21/oz for the 25.3 oz

4 0
3 years ago
Please need answer help help?!?!?
hjlf

Answer:

5

Step-by-step explanation:

5 0
3 years ago
Read 2 more answers
Wesley can use the equation y=3x to calculate how far he has walked, where y represents the number of miles walked, and x repres
arlik [135]

16.5/3 = 5.5

Step-by-step explanation:

becuase he needs to walk 16.5 miles. and he can walk 3 miles per x(hour)

you need to devide distance by speed to get time.

5 0
2 years ago
in your own words explain the place value relationship when the same two digits are next to each other in a multi digit number
zavuch27 [327]
I'll use 44.  
This number broken down means 4 in the 10's place and 4 in the ones place
 4(10)+4(1)= 40+4=44
4 0
3 years ago
How do i find the scale factor of
astraxan [27]
If you’re looking for x it would be -4/3
8 0
2 years ago
Other questions:
  • 37.5 x 10(-6) in scientific notation?
    9·2 answers
  • A=?,b=12mm,h=7.5mm WHAT IS THE ANSWER TO THIS PROBLEM
    7·1 answer
  • -5/2n-5 + 2n/2n-5. Step by step explanation??
    10·1 answer
  • 8. Three groups of 10 kids. The average weight of a kid in each
    5·1 answer
  • If 5 hotdogs and 15 hamburgers cost 29.50 and 10 hot dogs and 15 hamburgers cost 56.25. how much are the hot dogs and how much a
    5·1 answer
  • While chasing its prey, a cheetah is running slowly and then increases its speed by 50.6 miles per hour to reach a top speed of
    14·1 answer
  • How much will you pay when a $54<br> shirt has a 5% tax?
    11·1 answer
  • Plz plz plz help plz :( i only need 4
    5·1 answer
  • If we have a square with an area of 75 square meters, what would the side length be?
    12·2 answers
  • What are the coordinates of the point on the directed line segment from (-7,-9) to (-2,4) that partitions the segment into a rat
    9·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!