lnccbrown / lnccbrown/HSSM

Default priors are the same for the centered and non-centered parametrization

Open
#685 1 comment 0 reactions 1 assignee Claimed by @AlexanderFengler View on GitHub
Dominant language
Python
Stars
124
Forks
24
Avg merge
19h 32m
Merged PRs (30d)
60

Description

In Version: 0.2.4 changing noncentered from True to False does not change priors on random effects:

```python
# Non-centered
cav_data = hssm.load_data("cavanagh_theta")
model = hssm.HSSM(
data=cav_data,
model = 'ddm',
loglik_kind="approx_differentiable",
noncentered = True,
include=[
{
"name": "v",
"formula": "v ~ 1 + theta + (1 + theta | participant_id) ",
"link": "identity",
},
],
)
model
```

```python
# Ccentered
cav_data = hssm.load_data("cavanagh_theta")
model = hssm.HSSM(
data=cav_data,
model = 'ddm',
loglik_kind="approx_differentiable",
noncentered = False,
include=[
{
"name": "v",
"formula": "v ~ 1 + theta + (1 + theta | participant_id) ",
"link": "identity",
},
],
)
model
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.