
Predict from a structural choice discounting model
Source:R/dd-choice-methods.R
predict.beezdiscounting_choice.RdPredict from a structural choice discounting model
Arguments
- object
A
beezdiscounting_choiceobject.- newdata
Optional data frame.
NULLuses the fitting data. A suppliednewdatamust use the package's canonical column names (id,ss_amount,ll_amount,delay, plus any factor/covariate columns).- type
"prob"(default; fitted choice probabilities P(LL) on(0,1)) or"parameters"(the per-subject parameter tibble).- level
For
type = "prob":"subject"(default; conditions on each subject's estimated random intercept, requires the id column) or"population"(random effects set to zero - the population-mean curve; no id column needed).- ...
Unused.