sig.matrix: Calculate a matrix of significance test results for all...

Description Usage Arguments Value

Description

Calculate a matrix of significance test results for all possible values

Usage

1
2
sig.matrix(n.control, n.treatment, level = 0.975, prior, posterior,
  treat.beta.prior.par = c(1, 1), mc.cores = 1, check.xt, check.xs)

Arguments

n.control

Number of patients in the control group

n.treatment

Number of patients in the treatment group

level

Significance level to test (default 0.975)

prior

Prior on binomial probability parameter of the control group

posterior

List of posterior functions, one for each outcome in the control arm. (Default length=n.control+1)

treat.beta.prior.par

Paramters for beta prior on treatment group probability parameter

mc.cores

Number of cores to use for mclapply

check.xt

Optional argument to specify which outcomes in the treament arm should be considered. Otherwise 0:n.treatment

check.xs

Optional argument to specify which outcomes in the control arm should be considered. Otherwise 0:n.control

Value

A matrix of TRUE/FALSE values of size n.control+1 x n.treatment+1


StudyPrior documentation built on May 2, 2019, 5:54 p.m.