Description Usage Arguments Details Value Examples
Simulate data with normally distributed predictors and binary response
1 |
N |
sample size |
beta |
coefficients (effect of informative predictors) |
noise |
variables (effect of uninformative predictors) |
corr |
Logical, if FALSE the function generates uncorrelated predictors, if TRUE the correlation between predictors is 0.5 by default and the user can supply a different value in the corr.effect argument. |
corr.effect |
the correlation between informative predictors. |
The response y follows a Binomial distribution with probability= exp(X*beta)/(1+exp(X*beta))
A data frame N x p, where p is the total number of informative and uninformative predictors. The first column of the dataframe is the binary response variable y
1 2 3 4 5 6 7 | |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.