53 female 22.88 1 yes 53 female 28.1 3 no 53 female 35.9 2 no 52 female 30.78 1 no 52 male 32.205 3 no southeast 23244.79 1225274 southwest 11741.73 3441278 southwest 11163.57 1593432 northeast 10797.34 1264962 northeast 52 female 37.4 0 no 51 female 18.05 0 no 51 female 37.73 1 no 50 female 27.83 3 no 49 female 27.17 0 no 49 male 30.3 0 no 11488.32 2607025 southwest 9634.538 4464892 northwest 9644.253 4549061 southeast 9877.608 2130658 southeast 19749.38 4234678 southeast 8601.329 824169 southwest 8116.68 3031233 1634107232 6 48 female 41.23 4 no northwest 11033.66 1024842 6 48 male 29.7 0 по southeast 7789.635 4789654 2 48 male 24.42 0 yes southeast 21223.68 3080591 0 48 male 28 1 yes 47 male 28.215 4 no southwest 23568.27 4722549 northeast 10407.09 3120831 5 2 47 female 33.915 3 no 46 female 27.74 0 no northwest 10115.01 2559317 northwest 8026.667 1050713 7 1 46 male 30.495 3 yes 46 female 33.44 1 no northwest 40720.55 2981834 southeast 8240.59 1141339 3 6 46 female 28.9 2 no 45 female 38.285 0 no 45 male 22.895 2 yes 45 female 28.6 44 male 31.35 2 no 1 yes southwest 8823.279 2585795 northeast 7935.291 2294907 northwest 21098.55 895129 southwest 8516.829 3777746 northeast 39556.49 1856206 6 5 4 0 2 44 male 39.52 0 no 44 female 26.41 0 no northwest 6948.701 1109831 northwest 7419.478 2674721 5 3 44 male 30.69 2 no southeast 7731.427 4788494 4 44 male 27.4 2 no southwest 7726.854 2268887 1 44 male 37.1 2 no southwest 7740.337 1095982 3 43 male 27.36 3 no northeast 8606.217 3290542 1 42 female 23.37 0 yes northeast 19964.75 4977763 2 42 female 26.6 0 yes 41 female 33.155 3 no northwest 21348.71 2649568 northeast 8538.288 3169987 5 4 41 female 32.965 0 по 41 male 21.78 1 no northwest 6571.024 1772573 southeast 6272.477 1065721 1 1 41 female 31.6 0 no 41 female 32.2 1 no 40 female 25.46 1 no southwest 6186.127 2242546 southwest 6775.961 3216343 northeast 7077.189 2113200 2 0 3 40 female 28.69 3 no northwest 8059.679 2169233 2 40 male 26.315 1 no northwest 6389.378 4622095 1 40 female 36.19 0 no southeast 5920.104 1152206 7 39 female 32.8 0 no southwest 5649.715 1626358 4 38 male 37.05 1 no northeast 6079.672 3440295 6 38 male 27.835 2 no northwest 6455.863 3543537 4 38 male 19.3 0 yes 38 male 34.7 2 no southwest 15820.7 3987506 southwest 6082.405 2994617 6 4 12:08 PM ΡΜΟ ← DOC-2024... age gender bmi children smoker region charges Income exercise 64 female 39.33 0 no 64 male 24.7 1 no northeast 14901.52 3353787 northwest 30166.62 2400650 5 7 64 female 31.3 2 yes 63 female 23.085 0 no 63 male 28.31 0 no 63 male 35.09 0 yes 63 male 41.47 0 no 63 female 37.7 0 yes 62 female 32.965 3 no southwest 47291.06 4291617 northeast 14451.84 1888365 northwest 13770.1 1171840 southeast 47055.53 4516302 southeast 13405.39 3836008 southwest 48824.45 2122159 northwest 15612.19 4719656 0 2 0 7 6 1 3 62 female 26.29 0 yes 61 female 22.04 0 по southeast 27808.73 4921421 northeast 13616.36 4501307 2 3 61 female 29.92 3 yes southeast 30942.19 4437090 7 61 male 31.57 0 no southeast 12557.61 2746221 7 61 female 39.1 2 no southwest 14235.07 2128182 2 60 female 36.005 0 no 60 male 28.595 0 no northeast 13228.85 4405039 northeast 6 30260 2314973 7 60 female 25.84 0 no 60 female 24.53 0 no northeast 28923.14 1481187 southeast 12629.9 1627313 3 4 60 male 39.9 0 yes 59 male 29.83 3 yes 59 female 26.505 0 по 59 female 27.72 3 no 58 female 31.825 2 no 58 male 36.955 2 yes 58 male 28.595 0 no 58 male 32.01 1 no southwest 48173.36 930570 northeast 30184.94 2495614 northeast 12815.44 1422067 southeast 14001.13 2860549 northeast 13607.37 2874608 northwest 47496.49 4923660 northwest 11735.88 3069717 southeast 11946.63 3748175 4 2 7 7 6 2 3 4 58 male 49.06 0 no 57 male 34.01 0 по southeast 11381.33 3225653 northwest 11356.66 2046973 3 6 57 female 31.16 0 yes northwest 43578.94 1956131 1 56 male 19.95 0 yes northeast 22412.65 1499709 1 56 female 26.6 1 no northwest 12044.34 3270314 1 56 female 39.82 0 no southeast 11090.72 3528862 0 56 male 40.3 0 no southwest 10602.39 2079407 1 56 female 27.2 0 no southwest 11073.18 3737777 0 55 female 32.775 2 no northeast 12268.63 4282553 1 55 female 26.98 0 no northwest 11082.58 2187901 1 55 male 38.28 0 по southeast 10226.28 2918888 7 55 male 37.3 0 по southwest 20630.28 1479150 3 55 female 29.7 2 no southwest 11881.36 4072898 6 54 male 33.63 1 no northwest 10825.25 1264433 0 54 female 31.9 3 no southeast 27322.73 2496625 4 54 female 30.8 3 no southwest 12105.32 3182989 4 54 male 39.6 1 no southwest 10450.55 1516160 3 54 male 53 female 29.2 24.795 1 no southwest 10436.1 2800337 4 1 no northwest 10942.13 4547711 4 53 female 37.43 1 no northwest 10959.69 2863432 6 C78
53 female 22.88 1 yes 53 female 28.1 3 no 53 female 35.9 2 no 52 female 30.78 1 no 52 male 32.205 3 no southeast 23244.79 1225274 southwest 11741.73 3441278 southwest 11163.57 1593432 northeast 10797.34 1264962 northeast 52 female 37.4 0 no 51 female 18.05 0 no 51 female 37.73 1 no 50 female 27.83 3 no 49 female 27.17 0 no 49 male 30.3 0 no 11488.32 2607025 southwest 9634.538 4464892 northwest 9644.253 4549061 southeast 9877.608 2130658 southeast 19749.38 4234678 southeast 8601.329 824169 southwest 8116.68 3031233 1634107232 6 48 female 41.23 4 no northwest 11033.66 1024842 6 48 male 29.7 0 по southeast 7789.635 4789654 2 48 male 24.42 0 yes southeast 21223.68 3080591 0 48 male 28 1 yes 47 male 28.215 4 no southwest 23568.27 4722549 northeast 10407.09 3120831 5 2 47 female 33.915 3 no 46 female 27.74 0 no northwest 10115.01 2559317 northwest 8026.667 1050713 7 1 46 male 30.495 3 yes 46 female 33.44 1 no northwest 40720.55 2981834 southeast 8240.59 1141339 3 6 46 female 28.9 2 no 45 female 38.285 0 no 45 male 22.895 2 yes 45 female 28.6 44 male 31.35 2 no 1 yes southwest 8823.279 2585795 northeast 7935.291 2294907 northwest 21098.55 895129 southwest 8516.829 3777746 northeast 39556.49 1856206 6 5 4 0 2 44 male 39.52 0 no 44 female 26.41 0 no northwest 6948.701 1109831 northwest 7419.478 2674721 5 3 44 male 30.69 2 no southeast 7731.427 4788494 4 44 male 27.4 2 no southwest 7726.854 2268887 1 44 male 37.1 2 no southwest 7740.337 1095982 3 43 male 27.36 3 no northeast 8606.217 3290542 1 42 female 23.37 0 yes northeast 19964.75 4977763 2 42 female 26.6 0 yes 41 female 33.155 3 no northwest 21348.71 2649568 northeast 8538.288 3169987 5 4 41 female 32.965 0 по 41 male 21.78 1 no northwest 6571.024 1772573 southeast 6272.477 1065721 1 1 41 female 31.6 0 no 41 female 32.2 1 no 40 female 25.46 1 no southwest 6186.127 2242546 southwest 6775.961 3216343 northeast 7077.189 2113200 2 0 3 40 female 28.69 3 no northwest 8059.679 2169233 2 40 male 26.315 1 no northwest 6389.378 4622095 1 40 female 36.19 0 no southeast 5920.104 1152206 7 39 female 32.8 0 no southwest 5649.715 1626358 4 38 male 37.05 1 no northeast 6079.672 3440295 6 38 male 27.835 2 no northwest 6455.863 3543537 4 38 male 19.3 0 yes 38 male 34.7 2 no southwest 15820.7 3987506 southwest 6082.405 2994617 6 4 12:08 PM ΡΜΟ ← DOC-2024... age gender bmi children smoker region charges Income exercise 64 female 39.33 0 no 64 male 24.7 1 no northeast 14901.52 3353787 northwest 30166.62 2400650 5 7 64 female 31.3 2 yes 63 female 23.085 0 no 63 male 28.31 0 no 63 male 35.09 0 yes 63 male 41.47 0 no 63 female 37.7 0 yes 62 female 32.965 3 no southwest 47291.06 4291617 northeast 14451.84 1888365 northwest 13770.1 1171840 southeast 47055.53 4516302 southeast 13405.39 3836008 southwest 48824.45 2122159 northwest 15612.19 4719656 0 2 0 7 6 1 3 62 female 26.29 0 yes 61 female 22.04 0 по southeast 27808.73 4921421 northeast 13616.36 4501307 2 3 61 female 29.92 3 yes southeast 30942.19 4437090 7 61 male 31.57 0 no southeast 12557.61 2746221 7 61 female 39.1 2 no southwest 14235.07 2128182 2 60 female 36.005 0 no 60 male 28.595 0 no northeast 13228.85 4405039 northeast 6 30260 2314973 7 60 female 25.84 0 no 60 female 24.53 0 no northeast 28923.14 1481187 southeast 12629.9 1627313 3 4 60 male 39.9 0 yes 59 male 29.83 3 yes 59 female 26.505 0 по 59 female 27.72 3 no 58 female 31.825 2 no 58 male 36.955 2 yes 58 male 28.595 0 no 58 male 32.01 1 no southwest 48173.36 930570 northeast 30184.94 2495614 northeast 12815.44 1422067 southeast 14001.13 2860549 northeast 13607.37 2874608 northwest 47496.49 4923660 northwest 11735.88 3069717 southeast 11946.63 3748175 4 2 7 7 6 2 3 4 58 male 49.06 0 no 57 male 34.01 0 по southeast 11381.33 3225653 northwest 11356.66 2046973 3 6 57 female 31.16 0 yes northwest 43578.94 1956131 1 56 male 19.95 0 yes northeast 22412.65 1499709 1 56 female 26.6 1 no northwest 12044.34 3270314 1 56 female 39.82 0 no southeast 11090.72 3528862 0 56 male 40.3 0 no southwest 10602.39 2079407 1 56 female 27.2 0 no southwest 11073.18 3737777 0 55 female 32.775 2 no northeast 12268.63 4282553 1 55 female 26.98 0 no northwest 11082.58 2187901 1 55 male 38.28 0 по southeast 10226.28 2918888 7 55 male 37.3 0 по southwest 20630.28 1479150 3 55 female 29.7 2 no southwest 11881.36 4072898 6 54 male 33.63 1 no northwest 10825.25 1264433 0 54 female 31.9 3 no southeast 27322.73 2496625 4 54 female 30.8 3 no southwest 12105.32 3182989 4 54 male 39.6 1 no southwest 10450.55 1516160 3 54 male 53 female 29.2 24.795 1 no southwest 10436.1 2800337 4 1 no northwest 10942.13 4547711 4 53 female 37.43 1 no northwest 10959.69 2863432 6 C78
MATLAB: An Introduction with Applications
6th Edition
ISBN:9781119256830
Author:Amos Gilat
Publisher:Amos Gilat
Chapter1: Starting With Matlab
Section: Chapter Questions
Problem 1P
Related questions
Question
100%
The Health Ministry in Bahamas is concerned with the high incidence of heart attacks and strokes over the last ten years. They are interested in determining the causal factors in order to develop appropriate mitigating strategies to combat these issues. A consultant was hired and data collected on 200 healthcare recipients. Using the data in the Microsoft Excel file attached you are required to use the knowledge you have acquired during the semester to answer the following question. Ensure that your responses are detailed and all the necessary steps are clearly outlined.
The Description of the variables in the data set is given below
• age: age of the respondent
• gender: female, male
• bmi: Body mass index, providing an understanding of body, weights that are relatively high or low relative to height,
• children: number of dependents
• smoker: smoker or non-smoker
• region: the respondent's residential area (northeast, southeast, southwest, northwest.
• charges: individual medical costs billed by health insurance
• income: respondent’s salary
• exercise: number of days of exercise per week
Question 1
i. At the 5% level of significance, conduct a hypothesis test to determine if the average age of respondents vary across region.
ii. Confirm test results in part (i) using JASP. Note: All JASP input files and output tables should be provided
Question 2
i. Derive a model for the estimation of the body mass index from the average income.
ii. Confirm test results in part (i) using JASP. Note: All JASP input files and output tables should be provided
iii. Is the model significant? Provide all steps.
Question 3
i. Using JASP, develop a model to determine if the medical cost is dependent on the income, age of respondents and the number of days of exercise per week. Is the model useful?
ii. Should any of the variables be removed from the model. In responding, construct and test any appropriate hypothesis.
iii. Would the addition of the body mass index improve the predictive power of the model? Explain.
Question 4
i. Using JASP, determine if there is a difference in the average medical cost by residential area.
ii. Which region(s) showed difference in the average medical cost by residential area. Explain.
Question 5
i. Conclude whether smoking is associated with residential area.
ii. Is there an association between the number of days of exercise and gender?
Expert Solution
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step by step
Solved in 2 steps
Recommended textbooks for you
MATLAB: An Introduction with Applications
Statistics
ISBN:
9781119256830
Author:
Amos Gilat
Publisher:
John Wiley & Sons Inc
Probability and Statistics for Engineering and th…
Statistics
ISBN:
9781305251809
Author:
Jay L. Devore
Publisher:
Cengage Learning
Statistics for The Behavioral Sciences (MindTap C…
Statistics
ISBN:
9781305504912
Author:
Frederick J Gravetter, Larry B. Wallnau
Publisher:
Cengage Learning
MATLAB: An Introduction with Applications
Statistics
ISBN:
9781119256830
Author:
Amos Gilat
Publisher:
John Wiley & Sons Inc
Probability and Statistics for Engineering and th…
Statistics
ISBN:
9781305251809
Author:
Jay L. Devore
Publisher:
Cengage Learning
Statistics for The Behavioral Sciences (MindTap C…
Statistics
ISBN:
9781305504912
Author:
Frederick J Gravetter, Larry B. Wallnau
Publisher:
Cengage Learning
Elementary Statistics: Picturing the World (7th E…
Statistics
ISBN:
9780134683416
Author:
Ron Larson, Betsy Farber
Publisher:
PEARSON
The Basic Practice of Statistics
Statistics
ISBN:
9781319042578
Author:
David S. Moore, William I. Notz, Michael A. Fligner
Publisher:
W. H. Freeman
Introduction to the Practice of Statistics
Statistics
ISBN:
9781319013387
Author:
David S. Moore, George P. McCabe, Bruce A. Craig
Publisher:
W. H. Freeman