
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 typical subject: in structural modelog kat its population value, in descriptive mode the random slopes at zero; no id column needed). This is not the population-averaged choice probability, which integrates over the random effects and is flatter.- ...
Unused.