View source: R/decomposition.R
gen_decomposed_results_probit | R Documentation |
Given a properly expressed probit regression, decompose the results into an explained and unexplained parts.
gen_decomposed_results_probit( fitted.mdl, list_of_IVs, list_of_grouping_vars, values_of_grouping_vars )
fitted.mdl |
A probit regression object |
list_of_IVs |
A character vector indicator the predictor variables included in the probit model |
list_of_grouping_vars |
A character vector of grouping variables included in the probit model |
values_of_grouping_vars |
A vector containing all possible values of the grouping variable. |
A list containing two objects. One, the fitted OLS model based on the estimated log-odds continuous variable. Two, a data frame containing the decomposition comparing every possible combination of values for the grouping variable.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.