calc_fc: Compute the complexity or fit for two hypotheses.

Description Usage Arguments Value

View source: R/utils.R

Description

Compute the complexity or fit for two hypotheses.

Usage

1
calc_fc(hyp, hyp2, means, sds, nsamp = 1000)

Arguments

hyp

A constraint matrix defining H1.

hyp2

A constraint matrix defining H2 OR a character 'u' or 'c' specifying an unconstrained or complement hypothesis

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


BayesianPower documentation built on July 1, 2020, 6:02 p.m.