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
- 7 x2<br>15<br>3<br>2 +7 x - 5<br>3<br>15<br>12​
jeka94

Answer:What number must be multiplied by 3 to obtain 15? ... Example 11 A student solved the equation 5x - 3 = 4x + 2 and found an answer of x = 6. ... Example 12 3x = 6 and 2x + 1 = 5 are equivalent because in both cases x = 2 is a solution. ... + 3x = 7x + 2 - 4x can be changed to a simple equation x = 3, and the equation x = 3 is .

Step-by-step explanation:

7 0
3 years ago
An artist wishes to make a painting in the shape of a golden rectangle, based on the theory that this shape is the most pleasing
Arisa [49]
C because 9 x 12 is 108 and so it’s c but I’m sorry if this is wrong
5 0
3 years ago
I don’t know the answer
anastassius [24]
I THINK IT IS B

B) D(X)= X-8x4 
7 0
3 years ago
HELP IMMEDIATELY, ILL GIVE BRAINLY!!!!!!
klio [65]

Step-by-step explanation:

nodndnsjsjjsjsjjsjsjsjjsjdjjdjdkd

7 0
3 years ago
HELP pleaseee ASAP I’m stuck
Blizzard [7]

Step-by-step explanation:

using trig, tangent is equal to opposite over adjacent.

in this case, the angle is 45, opposite is 7, and adjacent is a.

thus tan 45° = 7/a

solve for a to get a = 7/tan 45° = 4.32

6 0
3 years ago
Other questions:
  • Solve for x.<br> -2(x-7)=16
    12·1 answer
  • 983488 divided by 1188. What's the remainder? DON'T USE A CALCULATOR!! NO DECIMALS!
    6·2 answers
  • #6 I’m begging for help. Geometry is not my thing :(
    11·1 answer
  • Omar is on a diet to lose some weight. He is losing weight at a rate of 2 pounds per week. After 6 weeks, his weight is 204 poun
    12·1 answer
  • How many 1 /6 yard strips can be made from cutting a 2/ 3 yd of fabric?
    6·1 answer
  • Use the formula d=rt to find the value of the missing variable. r=3 mph, t=9 hours find d= mi
    7·2 answers
  • lin is shopping for a couch with her dad and hears him ask the salesperson how much is your commission the salesperson says that
    15·2 answers
  • Tell whether the given value is a solution of the inequality. 5x-17&gt;62;x=13
    5·1 answer
  • Explain what it means to be a solution when there are two lines on a graph
    9·1 answer
  • You roll a 6 sided die what is p(prime)
    8·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!