View source: R/konfound-glm-dichotomous.R
konfound_glm_dichotomous | R Documentation |
This function performs konfound analysis on a generalized linear model object with a dichotomous outcome. It uses 'broom' to tidy model outputs and calculates the sensitivity of inferences.
konfound_glm_dichotomous(
model_object,
tested_variable_string,
alpha,
tails,
to_return,
n_treat,
switch_trm,
replace
)
model_object |
The model object produced by glm. |
tested_variable_string |
The name of the variable being tested. |
alpha |
Significance level for hypothesis testing. |
tails |
Number of tails for the test (1 or 2). |
to_return |
The type of output to return. |
n_treat |
Number of treatment cases. |
switch_trm |
Term to switch for sensitivity analysis. |
replace |
Boolean indicating whether to replace cases or not. |
The results of the konfound analysis.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.