Replies: 2 comments 5 replies
-
|
@chutcher thanks for flagging this. Do you mind sending the code snippet that defines the model? As a quick check in the meantime: If you run |
Beta Was this translation helpful? Give feedback.
-
|
Following the basic example of @clithero: Take a look at the graph of the model:
Focusing on The actual parameter Looking at the graph, we have Then we have You can confirm this by e.g., The two prints should be very close to each other. For contrast, if you set The graph you get is,
so there is no more Let me know if this helps. |
Beta Was this translation helpful? Give feedback.


Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I have been using hssm for several months now, but just recently had to reinstall it from scratch. The behaviour in estimating/reporting random effects is now different, and I am trying to understand why. In particular, when I estimate random effects from a model, and then output summaries of the model parameters, I am getting two sets of estimates for random effects, one set labeled as "offset" (what I am used to seeing), and the other without a label.
For example, I get the following for estimated random intercepts for v:
v_1|participant_id[ID1]
v_1|participant_id[ID2]
v_1|participant_id[ID3]
...
v_1|participant_id_offset[ID1]
v_1|participant_id_offset[ID2]
v_1|participant_id_offset[ID3]
These separate v_1 estimates are different for each participant ID ( v_1|participant_id[ID1] != v_1|participant_id_offset[ID1] ), and they are both different from the single v_1|participant_id_offset[ID1] that I estimated from the same data before I reinstalled everything.
I am running the same code as I was running before, just in the new environment (which may use newer versions of Python 3.10, etc.).
For reference, I reinstalled hssm using the instructions provided here (https://lnccbrown.github.io/HSSM/getting_started/installation/?utm_source=chatgpt.com#step-1-create-a-conda-environment), and used conda to create a new environment (on a Mac) with Python 3.10:
conda create -n hssm_env python=3.10
conda activate hssm_env
conda install -c conda-forge hssm
I get the same issue with Python 3.11.
Any ideas what could be causing this (and/or how to fix it)?
Beta Was this translation helpful? Give feedback.
All reactions