View source: R/exploreInformWeight.R
sigmaManyToOne | R Documentation |
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.
sigmaManyToOne(sampleSizes, sampleSizeControl, varObs, checkInput = TRUE)
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. |
Returns covariance matrix.
sigmaManyToOne(sampleSizes=c(89,95), sampleSizeControl=77,
varObs=10)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.