lnccbrown / HSSM

Development of HSSM package
Other
70 stars 10 forks source link

[Bug] key error upon initialization #426

Closed AlexanderFengler closed 2 weeks ago

AlexanderFengler commented 1 month ago
mDDMSession1Categorical=hssm.HSSM(
    data=dSession1Categorical,
    model="ddm",
    include=[
        {"name": "v",
            "formula": "v ~ 1 + highEffortLevel+highRewardAmount+scaledProbability+(1 + highEffortLevel+highRewardAmount+scaledProbability|id)",
        },
        {"name": "a",
            "formula": "a ~ 1 + (1|id)",
        },
        {"name": "z",
            "formula": "z ~ 1 +(1|id)",
        },
        {"name": "t",
            "formula": "t ~ 1 +(1|id)",
            "prior": {"name": "TruncatedNormal", "mu": .37, "sigma": 0.24, "lower": 0.2, "upper": 1}
        },
    ],
)
Screenshot 2024-05-12 at 11 25 29 AM