Relative Content

Tag Archive for stanpystan

Problem with Matrix Multiplication in cmdstanpy

I am trying to do a bayesian linear regression of an target variable (pred_Factor) with the indipendend variable (expl_factor), where i want prediction for each category combination coming from variable cat_1 (which has 2 categories coded in 0 and 1) and cat_2 (which has 4 categories coded 0-3).