0 votes
416 views
in Use of WebPower by htrier (170 points)

Hello,
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?

1 Answer

0 votes
by johnny (3.3k points)
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.
...