JanaJarecki/cognitivemodels

Shortfall: no error with non-binary responses

FlorianSeitz opened this issue · 1 comments

shortfall(py ~ x1 + px + x2 + I(1-px), data = dt, asp = ~aspiration, fix = pars)

The shortfall model does not give any error, when non-binary responses are given in the left hand side of the formula. I'm not sure, whether an error or warning would make sense here? Or should we leave this option in case we have aggregate data with repeated measurement (e.g., in 0.6 of all cases participant A chose option X when choosing between X and Y)?

good point but in the case of the shortfall model the model predicts either utilities or choices, this is intentional because the utility-scale is between -inf and inf