1. First, calculate p, the probability of CHD-1 in each level of BP Status. Take advantage of the fact that the mean of a
1. First, calculate p, the probability of CHD-1 in each level of BP Status. Take advantage of the fact that the mean of a 0/1 variable is the probability or percentage of observations equaling 1. a. Use HEARTLIB.MYHEART as the input dataset. b. Compute the mean of CHD for each level of BP Status and output these to WORK.OUT1. Blood Pressure Status High Normal Optimal Gsas THE POWER TO KNOW.5 Framingham Heart Study: Descriptive Analysis The MEANS Procedure Analysis Variable: CHD Industry Applied Activity N Obs N Mean Std Dev 2267 2267 0.3581826 0.4795720 2143 2143 0.2398507 0.4270918 799 799 0.1539424 0.3611196 Minimum Maximum 0 1.0000000 0 1.0000000 0 1.0000000 Obs BP_Status _TYPE_ _FREQ_ CHD_Mean 1 High 1 2267 0.35818 2 Normal 1 2143 0.23985 3 Optimal 1 799 0.15394 c. How many rows are in your dataset? Are there any extra rows in your output dataset that you did not anticipate? There are 3 rows in the dataset and no there are no extra rows that I didn't anticipate. d. What is the name of the variable that contains the probability of CHD=1 for each level of BP Status?
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Sure here is the corrected answer based on the given reason for rejection Detail ...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