| multi_class_lr {fuzzyforest} | R Documentation | 
Multinomial Logistic Regression
Description
Function to generate multi-class data from a multinomial logistic regression. Assumes there are 5 classes. Only supports two modules for now. Currently this function is used for testing.
Usage
multi_class_lr(n, mod1_size = 10, mod2_size = 10, rho = 0.8,
  beta = NULL)
Arguments
| n | Sample size. | 
| mod1_size | Size of first module. | 
| mod2_size | Size of second module. | 
| rho | Correlation of covariates. | 
| beta | A matrix of parameters. | 
Value
list with design matrix X, outcome y, and beta.
Note
This work was partially funded by NSF IIS 1251151 and AMFAR 8721SC.
[Package fuzzyforest version 1.0.8 Index]