fit_and_predict_probabilities | R Documentation |
This function fits a binary choice model and predicts probabilities for every observations.
fit_and_predict_probabilities(
formula,
data_used,
weights,
method = "logit",
return_model = FALSE,
newdata = NULL,
...
)
formula |
|
data_used |
|
weights |
weights variable |
method |
method to estimate conditional probabilities |
return_model |
boolean: If |
newdata |
|
... |
other parameters passed to the estimation function. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.