5. Check the assumptions of the linear model with appropriate plots. 6. Produce an appropriate interval to find the range of breath- alyzer results you would expect 95% of the time for an indi- vidual with a BAC of 20mg/100ml 1 % Read in data 2 blood alcohol readtable ('blood alcohol.csv'); 3 4 % Scatterplot " 6% Fit linear regression 7 blood alcohol 1m; N 9 % Diagnostics 10 11 % Predict 12 [fit, interval] = using matlab, BAC BRAC 0 64 1 114 6 98 21 153 23 160 37 268 36 230 38 216 54 321 58 325 63 352 70 389 72 377 77 403 89 466 93 483 Sixteen male volunteers were randomly allocated one of 16 drinks containing from 0 to 20 units of 5.5 ml of 80 proof liquor. After one hour, they took the breathalyzer test and provided a blood sample. The data is in a CSV file called blood alcohol.csv. It has two columns: BAC: blood alcohol concentration for subject in mg alcohol in 100 ml of blood. BrAC breathalyzer result. * Analysis of dataset For this section, you will need to write a script and submit it to Matlab Grader. The script should: 1. Read in the dataset. 2. Produce a scatterplot of BrAC against BAC. 3.Describe the relationship. 4. Fit an appropriate linear model so that you can predict BrAC from a given BAC.
5. Check the assumptions of the linear model with appropriate plots. 6. Produce an appropriate interval to find the range of breath- alyzer results you would expect 95% of the time for an indi- vidual with a BAC of 20mg/100ml 1 % Read in data 2 blood alcohol readtable ('blood alcohol.csv'); 3 4 % Scatterplot " 6% Fit linear regression 7 blood alcohol 1m; N 9 % Diagnostics 10 11 % Predict 12 [fit, interval] = using matlab, BAC BRAC 0 64 1 114 6 98 21 153 23 160 37 268 36 230 38 216 54 321 58 325 63 352 70 389 72 377 77 403 89 466 93 483 Sixteen male volunteers were randomly allocated one of 16 drinks containing from 0 to 20 units of 5.5 ml of 80 proof liquor. After one hour, they took the breathalyzer test and provided a blood sample. The data is in a CSV file called blood alcohol.csv. It has two columns: BAC: blood alcohol concentration for subject in mg alcohol in 100 ml of blood. BrAC breathalyzer result. * Analysis of dataset For this section, you will need to write a script and submit it to Matlab Grader. The script should: 1. Read in the dataset. 2. Produce a scatterplot of BrAC against BAC. 3.Describe the relationship. 4. Fit an appropriate linear model so that you can predict BrAC from a given BAC.
Advanced Engineering Mathematics
10th Edition
ISBN:9780470458365
Author:Erwin Kreyszig
Publisher:Erwin Kreyszig
Chapter2: Second-order Linear Odes
Section: Chapter Questions
Problem 1RQ
Related questions
Question
not use ai please
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 with 2 images
Recommended textbooks for you
Advanced Engineering Mathematics
Advanced Math
ISBN:
9780470458365
Author:
Erwin Kreyszig
Publisher:
Wiley, John & Sons, Incorporated
Numerical Methods for Engineers
Advanced Math
ISBN:
9780073397924
Author:
Steven C. Chapra Dr., Raymond P. Canale
Publisher:
McGraw-Hill Education
Introductory Mathematics for Engineering Applicat…
Advanced Math
ISBN:
9781118141809
Author:
Nathan Klingbeil
Publisher:
WILEY
Advanced Engineering Mathematics
Advanced Math
ISBN:
9780470458365
Author:
Erwin Kreyszig
Publisher:
Wiley, John & Sons, Incorporated
Numerical Methods for Engineers
Advanced Math
ISBN:
9780073397924
Author:
Steven C. Chapra Dr., Raymond P. Canale
Publisher:
McGraw-Hill Education
Introductory Mathematics for Engineering Applicat…
Advanced Math
ISBN:
9781118141809
Author:
Nathan Klingbeil
Publisher:
WILEY
Mathematics For Machine Technology
Advanced Math
ISBN:
9781337798310
Author:
Peterson, John.
Publisher:
Cengage Learning,