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
If something is burning and 20 acres a minute how many acers in burning a day
g100num [7]
28,800 acres burn per day or in a day.
7 0
3 years ago
State the domain and range for f(x) = -tan x
Elena-2011 [213]

Answer:The range is also the whole of R

Step-by-step explanation:

5 0
3 years ago
Read 2 more answers
Please Evaluate this equation
alexira [117]

Answer:

Step-by-step explanation:

1.169

8 0
2 years ago
Read 2 more answers
Nicki shows a magic trick to three of her freinds. Each of those freinds shows it to three more freinds. If the pattern is repea
Inga [223]

Answer:

109

Step-by-step explanation:

Hopw it helps :).

8 0
3 years ago
Solve for x.<br> 3(x - 4) = 2x + 6<br> Α. Ο<br> B. 2<br> C. 3.6<br> D. 10<br> E. 18
LekaFEV [45]
3(x - 4) = 3x - 12 (expand the brackets)
3x - 12 = 2x + 6
3x = 2x + 6 + 12 (put all of the integers on one side)
3x = 2x + 18 (simplify - collect like terms)
3x - 2x = 18 (put all of the unknowns on one side)
x = 18 (simplify - collect like terms)

Therefore, we know that x is equal to 18, and so the answer is E.
4 0
3 years ago
Read 2 more answers
Other questions:
  • The surface area of a cube can be found by using that expression 6X squared what is the surface area of a cube with a side of 1/
    11·1 answer
  • Which is the graph of f(x)=sqrt x?
    12·1 answer
  • Determine the domain and range of the relation {(-2, 4), (1, 3), (0, -4), (3, 2)}
    6·1 answer
  • Eric needs to order programs for the next school football game. Only 1 out of 2 people will buy a program for the game. If there
    11·1 answer
  • Find n=100 for #1<br> a. 1<br> b. 10<br> c. 5<br> d. 100
    15·1 answer
  • What is the area of a parallelogram with a base of 7 meters and a height of 6 meters?
    15·2 answers
  • 2/6 = 1/2 1/3 <br> which one is the answer
    10·1 answer
  • Priya found x=3 and x=-1 as solutions to 3x^2-6x-9=0. Is she correct sow how you know
    8·1 answer
  • Please help me i need answer
    11·1 answer
  • You roll a 6-sided die.<br> What is P(prime)?<br><br> Write your answer as a percentage.
    7·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!