0 votes

I am conducting a power calculation for a Stan model using brm() (https://www.rdocumentation.org/packages/brms/versions/2.12.0/topics/brm) and wp.regression(). My model has an ordered factor as the outcome variable and therefore uses family ‘cumulative’. However, I am having trouble calculating the model's R^2 statistic because the function bayes_R2() does not accept input from a model with an ordinal outcome variable / cumulative family type. Is there another way to compute the R^2 statistic for this type of model?

in Use of WebPower by (170 points)

1 Answer

0 votes
wp.regression is for continuous outcomes. WebPower supports logistic regression with a binary outcome and one predictor with different distributions but does not support regression with a categorical outcome.
by (1.8k points)