Diagnosing Separation Phenomena in Categorical Response Models


[Up] [Top]

Documentation for package ‘divoRce’ version 0.8-0

Help Pages

A B C D H I L M N O P Q R S T

-- A --

acl_Xstar Function to calculate the structure vector matrix X* for an adjacent-category link model.
Alligators Untabeled alligator food choice data

-- B --

bcl_Xstar Function to calculate the negative structure vector matrix X* for baseline-category outcomes.
b_Xstar Function to calculate the negative structure vector matrix X* for binary outcomes.

-- C --

checkovl General overlap check.
checksep General separation check.
checksep_acl Separation check for adjacent-category link models.
checksep_b Separation check for binary models.
checksep_bcl Separation check for baseline category models.
checksep_cl Separation check for cumulative link models.
checksep_osm Separation check for ordered stereotype models.
checksep_sl Separation check for sequential (continuation-ratio) models.
check_separation General separation check.
check_separation.bracl General separation check.
check_separation.brmultinom General separation check.
check_separation.character General separation check.
check_separation.clm General separation check.
check_separation.default General separation check.
check_separation.factor General separation check.
check_separation.formula General separation check.
check_separation.glm General separation check.
check_separation.integer General separation check.
check_separation.logical General separation check.
check_separation.matrix General separation check.
check_separation.multinom General separation check.
check_separation.numeric General separation check.
check_separation.osm General separation check.
check_separation.polr General separation check.
cl_Xstar Function to calculate the negative structure vector matrix X* for a cumulative link model.
create_bseq Creates a list of data for a sequence of binary models from a sequential (continuation ratio) model. It splits the data according to the forward sequential mechanism.
csepdat1 Toy data set with complete separation
csepdat2 Toy data set with complete separation
csepdatm Toy data set with complete separation
csepdato Toy data set with complete separation

-- D --

detect_sepcols Identify separation columns
detect_sepcols_acl Identify separation columns in adjacent-category models
detect_sepcols_b Identify separation columns for binary models
detect_sepcols_bcl Identify separation columns in baseline-category models
detect_sepcols_cl Identify separation columns in cumulative link models
detect_sepcols_osm Identify separation columns in ordered stereotype models
detect_sepcols_sl Identify separation columns in sequential models
detect_seprows Identify the rows in the design/structure vector matrix that cause separation. It calls lower level functions if given an argument or chooses based on the response type.
detect_seprows_acl Identify the rows in data matrix that cause separation in adjacent-category link ordinal response models.
detect_seprows_b Identify rows in the data matrix that cause separation for binary models.
detect_seprows_bcl Identify the rows in the data matrix that cause separation in baseline-category link categorical response models.
detect_seprows_cl Identify the rows in the data matrix that cause separation in cumulative link ordinal response models.
detect_seprows_osm Identify the rows in the data matrix that cause separation in ordered stereotype models.
detect_seprows_sl Detect design matrix rows with separation for sequential (continuation-ratio) ordinal response models.
diagnose_separation Detailed separation diagnostic for all categorical outcomes.
diagnose_separation.bracl Detailed separation diagnostic for all categorical outcomes.
diagnose_separation.brmultinom Detailed separation diagnostic for all categorical outcomes.
diagnose_separation.character Detailed separation diagnostic for all categorical outcomes.
diagnose_separation.clm Detailed separation diagnostic for all categorical outcomes.
diagnose_separation.default Detailed separation diagnostic for all categorical outcomes.
diagnose_separation.factor Detailed separation diagnostic for all categorical outcomes.
diagnose_separation.formula Detailed separation diagnostic for all categorical outcomes.
diagnose_separation.glm Detailed separation diagnostic for all categorical outcomes.
diagnose_separation.integer Detailed separation diagnostic for all categorical outcomes.
diagnose_separation.logical Detailed separation diagnostic for all categorical outcomes.
diagnose_separation.matrix Detailed separation diagnostic for all categorical outcomes.
diagnose_separation.multinom Detailed separation diagnostic for all categorical outcomes.
diagnose_separation.numeric Detailed separation diagnostic for all categorical outcomes.
diagnose_separation.osm Detailed separation diagnostic for all categorical outcomes.
diagnose_separation.polr Detailed separation diagnostic for all categorical outcomes.
diagsep Detailed separation diagnostic for all categorical outcomes.
diagsep_acl Detailed separation diagnostic for adjacent-category link ordinal response models.
diagsep_b Detailed separation diagnostic for binary outcomes.
diagsep_bcl Detailed separation diagnostic for baseline-category link models.
diagsep_cl Detailed separation diagnostic for cumulative link ordinal response models.
diagsep_osm Detailed separation diagnostic for ordered stereotype models.
diagsep_sl Detailed separation diagnostic for sequential (continuation-ratio) ordinal response models.

-- H --

HDSS Willingness to Share Health Data of Drexler (2025)

-- I --

iris2 Adapted Iris Dataset

-- L --

linearities This function calculates the linearities in the negative structure vector matrix X*, so the row vectors for which there is no separation. If this is an empty set or of length 0, then we have overlap.
linearities_acl This function calculates the linearities in the negative structure vector matrix X* for an adjacent-category link model, so the row vectors for which there is no separation. If this is an empty set or of length 0, then we have overlap.
linearities_b This function calculates the linearities in the negative structure vector matrix X* for a baseline-category link model, so the row vectors for which there is no separation. If this is an empty set or of length 0, then we have overlap.
linearities_bcl This function calculates the linearities in the negative structure vector matrix X* for a baseline-category link model, so the row vectors for which there is no separation. If this is an empty set or of length 0, then we have overlap.
linearities_cl This function calculates the linearities in the negative structure vector matrix X* for a cumulative link model, so the row vectors for which there is no separation. If this is an empty set or of length 0, then we have overlap.
linearities_osm This function calculates the linearities in the negative structure vector matrix X* for an ordered stereotype model, so the row vectors for which there is no separation. If this is an empty set or of length 0, then we have overlap.
linearities_sl This function calculates the linearities in the negative structure vector matrix X* for an sequential link model, so the row vectors for which there is no separation. If this is an empty set or of length 0, then we have overlap.

-- M --

make_yx This function is meant to set up a response variable and a design matrix from a formula-data combination for the pre-fit separation check functions.

-- N --

nsduh2019 A snapshot of the NSDUH 2019 data

-- O --

ohiovoters Voters in Ohio
osm_Xstar Function to calculate the negative structure vector matrix X* for an ordered stereotype model.
overlap_fc A fraction check for overlap.
overlap_qc A quick check for overlap.
ovldat1 Toy data set with overlap.
ovldat2 Toy data set with overlap.
ovldatm Toy data set with overlap.
ovldato Toy data set with overlap.

-- P --

print.sepmod Print generic for sepmod classes
print.sepmod_sl Print generic for sepmod_sl classes

-- Q --

qcsepdat1 Toy data set with quasi-complete separation
qcsepdat2 Toy data set with quasi-complete separation
qcsepdatm Toy data set with quasi-complete separation
qcsepdato Toy data set with quasi-complete separation

-- R --

reccone Calculates recession cone for categorical data models.
reccone_acl Calculates recession cone for adjacent-category link models.
reccone_b Calculates recession cone for baseline-category link models.
reccone_bcl Calculates recession cone for baseline-category link models.
reccone_cl Calculates recession cone for cumulative link models.
reccone_osm Calculates recession cone for ordered stereotype models.
reccone_sl Calculates recession cone for sequential link models.
recession_cone Calculates recession cone for categorical data models.
recession_cone.bracl Calculates recession cone for categorical data models.
recession_cone.brmultinom Calculates recession cone for categorical data models.
recession_cone.character Calculates recession cone for categorical data models.
recession_cone.clm Calculates recession cone for categorical data models.
recession_cone.default Calculates recession cone for categorical data models.
recession_cone.factor Calculates recession cone for categorical data models.
recession_cone.formula Calculates recession cone for categorical data models.
recession_cone.glm Calculates recession cone for categorical data models.
recession_cone.integer Calculates recession cone for categorical data models.
recession_cone.logical Calculates recession cone for categorical data models.
recession_cone.matrix Calculates recession cone for categorical data models.
recession_cone.multinom Calculates recession cone for categorical data models.
recession_cone.numeric Calculates recession cone for categorical data models.
recession_cone.osm Calculates recession cone for categorical data models.
recession_cone.polr Calculates recession cone for categorical data models.

-- S --

separation_columns Identify separation columns
separation_columns.bracl Identify separation columns
separation_columns.brmultinom Identify separation columns
separation_columns.character Identify separation columns
separation_columns.clm Identify separation columns
separation_columns.default Identify separation columns
separation_columns.factor Identify separation columns
separation_columns.formula Identify separation columns
separation_columns.glm Identify separation columns
separation_columns.integer Identify separation columns
separation_columns.logical Identify separation columns
separation_columns.matrix Identify separation columns
separation_columns.multinom Identify separation columns
separation_columns.numeric Identify separation columns
separation_columns.osm Identify separation columns
separation_columns.polr Identify separation columns
separation_qc A quick check for separation.
separation_rows Identify the rows in the design/structure vector matrix that cause separation. It calls lower level functions if given an argument or chooses based on the response type.
separation_rows.bracl Identify the rows in the design/structure vector matrix that cause separation. It calls lower level functions if given an argument or chooses based on the response type.
separation_rows.brmultinom Identify the rows in the design/structure vector matrix that cause separation. It calls lower level functions if given an argument or chooses based on the response type.
separation_rows.character Identify the rows in the design/structure vector matrix that cause separation. It calls lower level functions if given an argument or chooses based on the response type.
separation_rows.clm Identify the rows in the design/structure vector matrix that cause separation. It calls lower level functions if given an argument or chooses based on the response type.
separation_rows.default Identify the rows in the design/structure vector matrix that cause separation. It calls lower level functions if given an argument or chooses based on the response type.
separation_rows.factor Identify the rows in the design/structure vector matrix that cause separation. It calls lower level functions if given an argument or chooses based on the response type.
separation_rows.formula Identify the rows in the design/structure vector matrix that cause separation. It calls lower level functions if given an argument or chooses based on the response type.
separation_rows.glm Identify the rows in the design/structure vector matrix that cause separation. It calls lower level functions if given an argument or chooses based on the response type.
separation_rows.integer Identify the rows in the design/structure vector matrix that cause separation. It calls lower level functions if given an argument or chooses based on the response type.
separation_rows.logical Identify the rows in the design/structure vector matrix that cause separation. It calls lower level functions if given an argument or chooses based on the response type.
separation_rows.matrix Identify the rows in the design/structure vector matrix that cause separation. It calls lower level functions if given an argument or chooses based on the response type.
separation_rows.multinom Identify the rows in the design/structure vector matrix that cause separation. It calls lower level functions if given an argument or chooses based on the response type.
separation_rows.numeric Identify the rows in the design/structure vector matrix that cause separation. It calls lower level functions if given an argument or chooses based on the response type.
separation_rows.osm Identify the rows in the design/structure vector matrix that cause separation. It calls lower level functions if given an argument or chooses based on the response type.
separation_rows.polr Identify the rows in the design/structure vector matrix that cause separation. It calls lower level functions if given an argument or chooses based on the response type.
sepcols Identify separation columns
sepcols_acl Identify separation columns in adjacent-category models
sepcols_b Identify separation columns for binary models
sepcols_bcl Identify separation columns in baseline-category models
sepcols_cl Identify separation columns in cumulative link models
sepcols_osm Identify separation columns in ordered stereotype models
sepcols_sl Identify separation columns in sequential models
seprows Identify the rows in the design/structure vector matrix that cause separation. It calls lower level functions if given an argument or chooses based on the response type.
seprows_acl Identify the rows in data matrix that cause separation in adjacent-category link ordinal response models.
seprows_b Identify rows in the data matrix that cause separation for binary models.
seprows_bcl Identify the rows in the data matrix that cause separation in baseline-category link categorical response models.
seprows_cl Identify the rows in the data matrix that cause separation in cumulative link ordinal response models.
seprows_osm Identify the rows in the data matrix that cause separation in ordered stereotype models.
seprows_sl Detect design matrix rows with separation for sequential (continuation-ratio) ordinal response models.
Silvapulle Psychiatric Cases Classification based on GHQ of Silvapulle (1981)
struc_vec Function to calculate the structure vector matrix X* for categorical outcomes.
summary.sepmodb Summary generic for sepmodb classes

-- T --

titanic3 All people of age 3 in the Kaggle Titanic data set