Use R with proptendtest or glm After the blood has been pump

Use R with prop.tend.test or glm

After the blood has been pumped from the heart, and the pressure is at its lowest point, a low blood pressure in the left ventricle is desirable. This left ventricular end diastolic pressure [LVEDP] is measured in millimeters of mercury (mmHg). LVEDP Usual 0-12 13-18 19-24 224 Operative Mortality Yes No % operative mortality X2 34.49 p=1.6E-7 56 43 22 26 3151692 416 3452 692 762 416 2.5 28 5.9 ? 2.5

Solution

What doo you want to get from the R ?

Do you need the value of the unknown (?) or want me to run the Chi-Square test.

Here is the code for Chi-Square test -

yes <- c( 56, 43, 22, 26 )
no <- c( 3452, 1692, 762, 416 )
prop.test(yes, no)
prop.trend.test(yes, no)
prop.trend.test(yes, no, c(0,0,0,1))

And the output is -

Use R with prop.tend.test or glm After the blood has been pumped from the heart, and the pressure is at its lowest point, a low blood pressure in the left ventr

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site