Generate simulated data from a binary (logistic) factor model with missing values.
generate_binary_data_miss(n = 100, p = 50, q = 3, miss_prop = 0.05)A named list with components:
Binary matrix (n x p). Generated 0/1 responses with missing values (NA).
Binary matrix (n x p). Complete data before missingness.
Integer. True number of factors used in simulation.
Numeric matrix. True latent factor scores.
Numeric matrix. True factor loadings.
Numeric vector (length p). Item intercepts.
Numeric. Proportion of entries set to missing.
Integer. Number of observations.
Integer. Number of variables.
Integer. True number of latent factors.
Numeric in (0,1). Proportion of missing values (default 0.05).