Probit-Inverse of Group-Level Normal Distribution
Transform latent group-level normal distribution (latent-trait MPT) into mean and SD on probability scale.
probitInverse(mu, sigma, fittedModel = NULL)
mu |
latent-probit mean of normal distribution |
sigma |
latent-probit SD of normal distribution |
fittedModel |
optional: fitted traitMPT model. If provided, the bivariate inverse-probit transform is applied to all MCMC samples (and |
implied mean and SD on probability scale
####### compare bivariate vs. univariate transformation probitInverse(mu=.8, sigma=c(.25,.5,.75,1)) pnorm(.8) # full distribution prob <- pnorm(rnorm(10000, .8, .7)) hist(prob, 80, col="gray", xlim=0:1) ## Not run: # transformation for fitted model mean_sd <- probitInverse(fittedModel=fit) summarizeMCMC(mean_sd) ## End(Not run)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.