Predicting method for objects of class "sbchoice".
1 2 3
an object of class "sbchoice".
a data frame containing new data to predict. If
type of prediction (utility or probability).
optional arguments. Currently not in use.
predict() for S3 object "sbchoice" calculates predicted values
according to the fitted model that is included in
object. The values are
predicted with the original data used for fitting the model if
newdata = NULL,
otherwise with a new data assigned to
The current function does not estimate standard errors of predicted values.
newdata = NULL and
type = utility, a vector containing utility
values of choosing Yes under bid values is returned. When
newdata = NULL
type = probability, a vector containing probabilities of choosing Yes
is returned. When a new data is assigned to
newdata, a vector containing
utility values of choosing Yes (
type = utility) or probability of
choosing Yes (
type = probability) under the new data is returned.
## See Examples in sbchoice.