calc_fc {BayesianPower} | R Documentation |
Compute the complexity or fit for two hypotheses.
Description
Compute the complexity or fit for two hypotheses.
Usage
calc_fc(hyp, hyp2, means, sds, nsamp = 1000)
Arguments
hyp |
A constraint matrix defining H1. |
hyp2 |
A constraint matrix defining H2 OR a character |
means |
A vector of posterior or prior means |
sds |
A vector or posterior or prior standard deviation |
nsamp |
A number. The number of prior or posterior samples to determine the fit and complexity |
Value
A vector. The proportion of posterior samples in agreement with H1 and with H2
[Package BayesianPower version 0.2.3 Index]