Closed danielinteractive closed 2 months ago
as by default we are conducting the "conditional prediction", not the "unconditional prediction", so the response is always required by default.
Thanks @clarkliming , I still think that this is a bug to the user. It should in that case just default to "unconditional prediction"?
Reprex:
fails with:
because
h_mmrm_tmb_data()
is invoked and this uses thefull_formula
which includes the response variable from the fit.Reported originally in https://github.com/vincentarelbundock/marginaleffects/pull/1000#issuecomment-2282352569