sigmaManyToOne {informativeSCI}R Documentation

Calculation of the Covariance Matrix for a Many-to-one-Comparison

Description

The function calculates the covariance matrix for many-to-one-comparisons. The covariance matrix is calculated for the point estimators, each defined by the difference between the empirical mean of one of the experimental groups and the empirical mean of the control group.

Usage

sigmaManyToOne(sampleSizes, sampleSizeControl, varObs, checkInput = TRUE)

Arguments

sampleSizes

A numeric vector indicating the sample size of each non-control group.

sampleSizeControl

A numeric indicating the sample size of the control group.

varObs

A positive numeric indicating the variance of the individual observations.

checkInput

A boolean specifying whether the entered values should be checked.

Value

Returns covariance matrix.

Examples

sigmaManyToOne(sampleSizes=c(89,95), sampleSizeControl=77,
 varObs=10)

[Package informativeSCI version 1.0.3 Index]