The hardware and bandwidth for this mirror is donated by dogado GmbH, the Webhosting and Full Service-Cloud Provider. Check out our Wordpress Tutorial.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]dogado.de.
Badges Confounding; Logistic regression; Cox proportional hazards model; Linear regression;
The ‘chest’ package systematically calculates and compares effect estimates from various models with different combinations of variables. It calculates the changes in effect estimates when each variable is added to the model sequentially in a step-wise fashion. Effect estimates here can be regression coefficients, odds ratios and hazard ratios depending on modelling methods. At each step, only one variable that causes the largest change among the remaining variables is added to the model. The final results from many models are summarized in one graph and one data frame table. This approach can be used for assessing confounding effects in epidemiological studies and bio-medical research including clinical trials.
You can install the released version of chest from CRAN with:
install.packages("chest")
library(chest)
library(ggplot2)
names(diab_df)
#> [1] "Endpoint" "mid" "Diabetes" "Age" "Sex" "BMI"
#> [7] "Married" "Smoke" "CVD" "Cancer" "Education" "Income"
#> [13] "t0" "t1"
A data frame ‘diab_df’ is used to examine the association between
Diabetes
and mortality Endpoint
. The purpose
of using this data set is to demonstrate the use of the functions in
this package rather than answering any research questions.
‘chest_glm’ is slow. We can use indicate = TRUE
to
monitor the progress.
<- c("Age", "Sex", "Married", "Smoke", "Education")
vlist <- chest_glm(crude = "Endpoint ~ Diabetes", xlist = vlist,
results data = diab_df, indicate = TRUE)
<- c("Age", "Sex", "Married", "Smoke", "Education")
vlist <- chest_cox(crude = "Surv(t0, t1, Endpoint) ~ Diabetes",
results xlist = vlist, data = diab_df)
chest_plot(results)
chest_forest(results)
<- chest_clogit(crude = "Endpoint ~ Diabetes + strata(mid)",
results xlist = vlist, data = diab_df)
<-c("Age", "Sex", "Married", "Cancer", "CVD","Education", "Income")
vlist<- chest_lm(crude = "BMI ~ Diabetes", xlist = vlist, data = diab_df)
results chest_plot(results)
These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.