fit_XCI_E_model
returns model fitting results for each SNP understanding as XCI-E type.
fit_XCI_E_model(resp, os, ostime, snp, gender, male, female, covars, model,
data)
Response variable for continuous or binary model fitting.
Survival indicator, 1 for death, 0 for censoring.
Duration time of survival.
Single SNP name.
Gender variable.
Male indicator in gender variable.
Female indicator in gender variable.
Covariates list.
Fitting model type. For 'linear', fitting linear model. For 'binary', fitting logistic regression model. For 'survival', fitting survival model.
Data set.
It returns estimated parameters, confidence interval and P value for each variable. Baseline model and full model maximum likelihood estimation are provided.
lm{stats}
for linear model, glm{stats}
for logistic regression model, and coxph{survival}
for survival model.