[R] Model Comparision for case control studies in R

Ebert,Timothy Aaron tebert @end|ng |rom u||@edu
Wed Jun 15 15:46:54 CEST 2022

Disease status is missing from the sample data.
Are age, disease, smoking, and/or hypertension correlated in any way or are they independent (correlation=0)?
Are the correlations large enough to adversely influence your model?

-----Original Message-----
From: R-help <r-help-bounces using r-project.org> On Behalf Of anteneh asmare
Sent: Wednesday, June 15, 2022 7:29 AM
To: r-help using r-project.org
Subject: [R] Model Comparision for case control studies in R

[External Email]

model<-glm(y~age+factor(smoking)+factor(hypertension), data, family = binomial(link = "logit"),na.action = na.omit)
from above sample data I want to study a case-control study on male individuals with my response variable y, disease status (1=Case,
0=Control) with covariates age, smoking status(1=Yes, 0=No)  and hypertension, hypertensive (1=Yes, 0=No). I want to fit the model to predict the disease status using at least two different methods. And to make model comparisons. I think logistic regression will be the best fit for this case control study. Do we have other options in addition to logistic regression? My objective is to fit the model to predict the disease status using at least two different methods.
Kind regards,

R-help using r-project.org mailing list -- To UNSUBSCRIBE and more, see https://urldefense.proofpoint.com/v2/url?u=https-3A__stat.ethz.ch_mailman_listinfo_r-2Dhelp&d=DwICAg&c=sJ6xIWYx-zLMB3EPkvcnVg&r=9PEhQh2kVeAsRzsn7AkP-g&m=l7afPQ_gGAoV2EsNoYSYul0qAISEiXLmTmu0IQ03nZO4rcAi9xHZGsWwwig4oYOB&s=ztyDthknydhlcM49F33Gz6xRl6G7U9s8aIhB1VN-EKY&e=
PLEASE do read the posting guide https://urldefense.proofpoint.com/v2/url?u=http-3A__www.R-2Dproject.org_posting-2Dguide.html&d=DwICAg&c=sJ6xIWYx-zLMB3EPkvcnVg&r=9PEhQh2kVeAsRzsn7AkP-g&m=l7afPQ_gGAoV2EsNoYSYul0qAISEiXLmTmu0IQ03nZO4rcAi9xHZGsWwwig4oYOB&s=tcsGkhvtVvoVvb1Ehah-vLRC6an40rJXQXqqfX2f0gI&e=
and provide commented, minimal, self-contained, reproducible code.

More information about the R-help mailing list