Page 1 of 1

Element gradientObs not in model object

Posted: 10 Dec 2025, 15:49
by sbuescher
After estimating models using apollo, for example the example model in https://www.apollochoicemodelling.com/f ... variates.r, I cannot extract the element gradientObs from the model object.
According to the manual (https://www.apollochoicemodelling.com/f ... Apollo.pdf, p.210), it should be included in the model object of all models.
For a current project, I require the gradient contributions of individual observations.
Am I missing something, or has this feature been removed?
Thanks in advance for your help.

Re: Element gradientObs not in model object

Posted: 17 Dec 2025, 13:36
by stephanehess
hi

this was in an earlier version of Apollo, and is not currently implemented. It will be added again in the near future, but requires a change to the bgw optimiser first

Stephane

Re: Element gradientObs not in model object

Posted: 17 Dec 2025, 13:43
by sbuescher
Hello Stephane,
Thank you for your response and the clarification!
Is there currently any other way to extract the score contributions on the observational or the individual level?
Kind regards
Sebastian

Re: Element gradientObs not in model object

Posted: 28 Dec 2025, 14:51
by stephanehess
sorry, not at present. It should be possible in a month or so