Explained variance logistic/ordered multinomial models estimated with MCMC [VPC?]
Posted: Thu Jul 27, 2017 2:04 pm
Suppose I would want to say something about "explained variance" at level 1 and level 2 in my models, after adding a bunch of variables.
For instance, I first run a model with binary outcome Y with only cons (and variance at individual and school level).
Then I run a model with the same outcome Y, cons (variance at individual and school level), and 2 predictors (x1, x2).
I want to say something about the effect size, so I want to say how much variance in Y I have explained by x1 and x2 (i.e., how much variance at individual level and school level).
How could I do this (and test for significance as well) when I run models with MCMC with R2MLwin?
Follow up question:
I at first thought I might be able to use VPC for this (but that doesn't make sense, because it always adds up to 1 for the 2 levels).
But now I am wondering how I can calculate the VPC at all for MCMC logistic models (e.g., for model binomialMCMC from the manual).
I would be happy with any advise!
For instance, I first run a model with binary outcome Y with only cons (and variance at individual and school level).
Then I run a model with the same outcome Y, cons (variance at individual and school level), and 2 predictors (x1, x2).
I want to say something about the effect size, so I want to say how much variance in Y I have explained by x1 and x2 (i.e., how much variance at individual level and school level).
How could I do this (and test for significance as well) when I run models with MCMC with R2MLwin?
Follow up question:
I at first thought I might be able to use VPC for this (but that doesn't make sense, because it always adds up to 1 for the 2 levels).
But now I am wondering how I can calculate the VPC at all for MCMC logistic models (e.g., for model binomialMCMC from the manual).
I would be happy with any advise!