fit_and_predict_probabilities {ddecompose} | R Documentation |
Predict conditional probabilities
Description
This function fits a binary choice model and predicts probabilities for every observations.
Usage
fit_and_predict_probabilities(
formula,
data_used,
weights,
method = "logit",
return_model = FALSE,
newdata = NULL,
...
)
Arguments
formula |
|
data_used |
|
weights |
weights variable |
method |
method to estimate conditional probabilities |
return_model |
boolean: If |
newdata |
|
... |
other parameters passed to the estimation function. |
[Package ddecompose version 1.0.0 Index]