Description Usage Arguments Value
f_beta0
is used by simulateSRS
to find the appropriate
intercept for a logistic regression model.
1 | f_beta0(beta0, margprob, beta1, margprob_parent)
|
beta0 |
The intercept |
margprob |
The marginal probability |
beta1 |
The regression coefficient of the parent variable |
margprob_parent |
The marginal probability of the parent |
The absolute difference between the desired marginal probability and the current marginal probability
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.