How to set initial value for variable without regression formula in a non-hierarchical model? #546
Unanswered
SaschaFroelich
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Let's say I want to initialize
a
with a value of 0.7. In this thread, When I initialize like this:The initial value for
a
does not take effect, while the initial values set ininclude = [...
do. Prof. Frank also said in this thread that I shouldn't initialize a like I did above but instead do it ininclude = [...
, however that was for a hierarchical model, where I could specify a regression formula fora
like so:"formula": "a ~ 1 + (1|participant_id)"
Now in the present case however, I would like to fit only one individual participant and therefore, specify
a
without regressors. I have tried for example"formula": "a ~ 1"
, but this throws the errorAttributeError: 'Intercept' object has no attribute 'eval'
. Simply omittingformula
throws the errorTypeError: Prior.__init__() missing 1 required positional argument: 'name'
How can I initialize
a
in a flat model?Beta Was this translation helpful? Give feedback.
All reactions