Question
Create a table in which you show the following: For each variable in the Patients dataset : Identify the variable as either categorical, numerical discrete,
Create a table in which you show the following: For each variable in the Patients dataset :
Identify the variable as either categorical, numerical discrete, or numerical continuous:
Identify the level of measurement of each variable (nominal, ordinal, interval, or ratio:
Create a bar chart comparing the average total charges between males and females:
Age (Years) | Sex (M/F/U) | Principal Payer | Total Charges | Drug Charges | Lab Charges | Imaging Charges |
78 | F | CARE | $ 5,418.85 | $ 68.70 | $ 273.50 | $ 832.00 |
74 | F | CARE | $ 4,575.10 | $ 58.65 | $ 439.50 | $ 725.00 |
89 | M | CARE | $ 12,031.18 | $ 230.28 | $ 816.50 | $ 187.00 |
81 | M | CARE | $ 3,617.84 | $ 142.89 | $ 387.00 | $ 93.50 |
87 | F | CARE | $ 12,806.88 | $ 889.23 | $ 795.50 | $ 827.50 |
65 | | CARE | $ 5,295.55 | $ 102.50 | $ 837.00 | $ 959.50 |
90 | M | CARE | $ 3,453.21 | $ 122.15 | $ 323.00 | $ 103.00 |
61 | M | BC | $ 1,760.03 | $ 161.18 | $ 35.00 | $ - |
90 | F | CARE | $ 3,290.40 | $ 235.65 | $ 243.00 | $ 117.50 |
78 | M | CARE | $ 6,253.65 | $ 103.05 | $ 487.50 | $ 941.00 |
78 | F | CARE | $ 3,896.16 | $ 229.06 | $ 222.00 | $ 93.50 |
71 | M | CARE | $ 1,795.35 | $ 52.05 | $ 58.00 | $ 216.00 |
76 | M | CARE | $ 9,265.17 | $ 211.37 | $1,626.50 | $ 1,255.00 |
76 | F | CARE | $ 3,282.90 | $ 298.40 | $ 381.50 | $ 214.00 |
79 | F | CARE | $ 9,565.83 | $ 477.03 | $ 974.00 | $ 214.00 |
72 | M | CARE | $ 3,782.15 | $ 166.85 | $ 345.00 | $ 93.50 |
72 | M | CARE | $ 6,384.28 | $ 342.98 | $ 644.85 | $ 307.50 |
64 | M | CARE | $ 4,904.25 | $ 208.65 | $ 768.00 | $ 832.00 |
72 | F | CARE | $ 4,169.92 | $ 545.15 | $ 375.50 | $ 557.00 |
69 | F | CARE | $ 5,204.41 | $ 510.01 | $ 870.50 | $ 158.00 |
63 | M | HMO | $ 6,740.00 | $ 480.20 | $1,091.50 | $ 925.50 |
Identify the level of measurement of each variable (nominal, ordinal, interval, or ratio)
Create a bar chart comparing the average total charges between males and females.
Step by Step Solution
3.53 Rating (160 Votes )
There are 3 Steps involved in it
Step: 1
Variable Type of variable Type of measurement Length of stay numeric discrete ratio 1 CV Days numer...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