Answered step by step
Verified Expert Solution
Question
1 Approved Answer
In the following data, examine whether age, gender and last year's cost predict next year's cost.If you are using R code make sure that you
In the following data, examine whether age, gender and last year's cost predict next year's cost.If you are using R code make sure that you reformat currency into a number.
Case | Male | Over 65 Years | High Cost User | Cost |
1 | 0 | 1 | 1 | $15,908.23 |
2 | 0 | 1 | 1 | $15,854.54 |
3 | 1 | 0 | 1 | $13,835.52 |
4 | 1 | 1 | 1 | $36,924.08 |
5 | 1 | 1 | 1 | $36,375.16 |
6 | 1 | 0 | 1 | $13,204.80 |
7 | 0 | 1 | 1 | $15,979.89 |
8 | 0 | 0 | 1 | $5,212.88 |
9 | 1 | 0 | 1 | $13,440.35 |
10 | 0 | 0 | 1 | $5,282.95 |
11 | 0 | 1 | 1 | $15,039.82 |
12 | 0 | 0 | 1 | $5,917.86 |
13 | 1 | 0 | 1 | $13,189.88 |
14 | 1 | 0 | 1 | $13,306.49 |
15 | 1 | 1 | 1 | $36,664.41 |
16 | 0 | 1 | 1 | $15,360.99 |
17 | 1 | 1 | 0 | $11,736.55 |
18 | 1 | 0 | 0 | $3,237.33 |
19 | 0 | 1 | 0 | $4,945.47 |
20 | 1 | 0 | 0 | $3,872.95 |
21 | 1 | 0 | 0 | $3,502.09 |
22 | 0 | 1 | 0 | $4,730.09 |
23 | 0 | 0 | 0 | $1,078.25 |
24 | 1 | 1 | 0 | $11,644.10 |
25 | 1 | 0 | 0 | $3,212.69 |
26 | 1 | 0 | 0 | $3,389.80 |
27 | 1 | 0 | 0 | $3,710.19 |
28 | 1 | 0 | 0 | $3,446.79 |
29 | 1 | 1 | 0 | $11,638.81 |
30 | 0 | 1 | 0 | $4,442.27 |
31 | 1 | 1 | 0 | $11,958.27 |
32 | 0 | 0 | 0 | $1,603.49 |
33 | 0 | 1 | 0 | $4,568.77 |
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started