Question

In: Statistics and Probability

STAT PatientID Age Sex County CardioRisk Height Weight BloodGroup Stroke RegularEx Group Cholesterol1 Cholesterol2 225 58...

STAT
PatientID Age Sex County CardioRisk Height Weight BloodGroup Stroke RegularEx Group Cholesterol1 Cholesterol2
225 58 Male Offaly Low 179.2 103.5 AB N N Placebo 6.1 4.6
226 61 Male Carlow Medium 174.9 63 AB Y N Control 2.2 5.7
227 57 Female Donegal Medium 161.9 76.1 B N Y Control 5.8 5
228 43 Male Offaly High 176 83.7 AB Y N Control 3.6 2.4
229 37 Female Longford Low 157.8 68 B N Y Control 4.9 6
230 29 Male Leitrim Medium 166.1 79.1 A Y Y Placebo 3.5 5.3
231 52 Male Cavan Low 167.6 60.4 A Y Y Placebo 2.9 4
232 47 Female Westmeath Low 167.8 63.6 B N Y Control 4 3.2
233 28 Male Wicklow Low 170.5 67.2 O Y N Control 4.2 4

The commands to these questions using rstudio

Q1

The researchers want to explore the relationship between Cholesterol level and BMI.

a. Using the cholesterol level before the study (Cholesterol1), compute the correlation coefficient between

BMI and cholesterol level.

b. Fit the regression line between BMI and cholesterol level, using cholesterol level as the response variable.

Write down the equation of the estimated regresison line and your specify your parameter values.

c. What is the value of the coefficient of determination?

d. Perform a model utility test. Write down the hypothesis your are testing, the value of the test statistic

and of the corresponding p-value. For a significance level of 0.05, what is the outcome of the test?

Solutions

Expert Solution

R-code:

data=read.table("clipboard",sep="\t",header=T)

BMI=data$Weight/((data$Height/100)^2) ## weight/(height in m.)^2
BMI

Cholesterol1=data$Cholesterol1
cor(BMI,Cholesterol1)## correlation
model=lm(Cholesterol1~BMI)## model fitting
summary(model)
anova(model)


Related Solutions

STAT PatientID Age Sex County CardioRisk Height Weight BloodGroup Stroke RegularEx Group Cholesterol1 Cholesterol2 225 58...
STAT PatientID Age Sex County CardioRisk Height Weight BloodGroup Stroke RegularEx Group Cholesterol1 Cholesterol2 225 58 Male Offaly Low 179.2 103.5 AB N N Placebo 6.1 4.6 226 61 Male Carlow Medium 174.9 63 AB Y N Control 2.2 5.7 227 57 Female Donegal Medium 161.9 76.1 B N Y Control 5.8 5 228 43 Male Offaly High 176 83.7 AB Y N Control 3.6 2.4 229 37 Female Longford Low 157.8 68 B N Y Control 4.9 6 230...
STAT101 PatientID Age Sex County CardioRisk Height Weight BloodGroup Stroke RegularEx Group Cholesterol1 Cholesterol2 225 58...
STAT101 PatientID Age Sex County CardioRisk Height Weight BloodGroup Stroke RegularEx Group Cholesterol1 Cholesterol2 225 58 Male Offaly Low 178.2 103.5 AB N N Placebo 6.1 4.6 226 61 Male Carlow Medium 173.9 63 AB Y N Control 2.2 5.7 227 57 Female Donegal Medium 160.9 76.1 B N Y Control 5.8 5 228 43 Male Offaly High 175 83.7 AB Y N Control 3.6 2.4 229 37 Female Longford Low 156.8 68 B N Y Control 4.9 6 230...
Clinical Note Age     58             Sex           M        Date Chief com
Clinical Note Age     58             Sex           M        Date Chief complaint "Pain on my chest" on and off for the past six months. History of present illness Mr. Solomon is a 58 year old insurance broker who presents tonight in the office following an episode of "chest pain" that he experienced earlier in the day during a golf game. Although he minimizes the severity of the pain and attributes it to being "out of shape," his wife insisted that he see a physician because he...
Client Age: 24 Height: 5’8” Weight: 109 lbs Sex: Female Race: White Family History This client...
Client Age: 24 Height: 5’8” Weight: 109 lbs Sex: Female Race: White Family History This client has no family history of cardiovascular disease. Medical History Present Conditions This woman’s resting heart rate (HR) is 65 bpm, and her resting blood pressure (BP) is 104/62 mmHg. She has a total cholesterol of 220 mg/dl. Her high-density lipoprotein (HDL) level is 45 mg/dl and triglycerides are 120 mg/dl. She recently had a maximal oxygen consumption test that indicates her VO2max is 48...
Patient Height is 5’5 weight:165lbs Age:70 sex: Female Code status: full code ​Braden Score: 22 Admitting...
Patient Height is 5’5 weight:165lbs Age:70 sex: Female Code status: full code ​Braden Score: 22 Admitting Diagnosis: R/O Ketoacidosis Chief Complaint: Weakness, thirsty, lethargy PMHx: NIDDM, Hypothyroidism, Hypertension PSHx: None ​ ​ ​Allergies: ACE Inhibitors, Penicillin Home Medications: Metformin 1000mg po twice daily with meals Levothyroxine 0.12 micrograms po once daily Losartan 100mg po once daily ​​​​​ Glasses: None    Upper partial dentures Vital Signs: 101.3°F, 100 apical pulse , Respirations 28, Blood Pressure 161/90, SaO2 – 94% ,Pain: none Hematology...
You are given a data set containing the height, weight, age, and blood pressure of a...
You are given a data set containing the height, weight, age, and blood pressure of a representative sample of people from a major metropolitan area. Comment on the suitability of using a statistically-based versus a cluster-based outlier detection scheme to identify people with anomalous characteristics for this data set.   
A pregnant female of age 38 years, her weight is 80 Kg and her height is...
A pregnant female of age 38 years, her weight is 80 Kg and her height is 160 cm, was admitted to hospital due to unknown reason high temperature 38 ºC, she had symptoms like night sweat, general weakness, weight loss of unknown reason, also non- itchy spots on her neck. The physician advised her to admit hospital for more investigations as she is pregnant in the 3rd trimester, after blood test, WBC count was 3500 /mm3 and Hb was 9...
Patients Profile Name: Patient James Age: 58 years old Sex: Male Nationality: Filipino Religion: Roman Catholic...
Patients Profile Name: Patient James Age: 58 years old Sex: Male Nationality: Filipino Religion: Roman Catholic Address: Quezon City Marital Status: Single Chief Complaints: “Sumasakit and dibdib ko. Nawawala pero pabalikbalik. Mga anim na buwan na na ganito and nararamdaman ko” (“Pain on my chest” on and off for the past six months”.) Admitting Diagnosis: Angina Pectoris History of Present Illness             Mr. James is a 58 year old insurance broker who seeks consultation to FUMC due to an episode...
Compare the height, weight (in inches), and age for Eagles versus Patriots, using t tests. Provide...
Compare the height, weight (in inches), and age for Eagles versus Patriots, using t tests. Provide the conclusions based on the t tests. Eagles Age Height (") 35 66    28 69    69    23 69    23 69    29 69    23 70    24 70    31 70    28 70    24 70    24 71    24 71    26 71    31 71    23 71    26 71    25 72    25 72    31 72    29 72    33 72    30 72    22 72    28 72    23 72    24 72   ...
Explain the correlation coefficient of determination. a. Height Vs. Weight with an alpha of 0.05/2 b. Weight vs age alfpha 0.01/2
Height Weight Age Shoe Size Waist Size Pocket Change 64 180 39 7 36 18 66 140 31 9 30 125 69 130 31 9 25 151 63 125 36 7 25 11 68 155 24 8 31 151 62 129 42 6 32 214 63 173 30 8 34 138 60 102 26 6 25 67 66 180 33 8 30 285 66 130 31 9 30 50 63 125 32 8 26 32 68 145 33 10 28...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT