-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstandardizeContrast.Rd
40 lines (32 loc) · 1.69 KB
/
standardizeContrast.Rd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
% File man/standardizeContrast.Rd
% Part of the DEVISE package, https://github.com/cwendorf/DEVISE
\name{standardizeContrast}
\alias{standardizeContrast}
\alias{standardizeMeansContrast}
\title{Standardize Contrast}
\description{Provides the standardized effect size and its confidence interval for the contrast.}
\usage{
\method{standardizeContrast}{data.frame}(frame, contrast, mu=0, conf.level=.95, ...)
\method{standardizeContrast}{formula}(formula, contrast, mu=0, conf.level=.95, ...)
\method{standardizeContrast}{wsm}(moments, corrs, contrast, mu=0, conf.level=.95, ...)
\method{standardizeContrast}{bsm}(moments, contrast, mu=0, conf.level=.95, ...)
}
\arguments{
\item{frame}{a set of (non-empty) numeric vectors of data values}
\item{formula}{a formula of the form \code{lhs ~ rhs} where \code{lhs} is a numeric variable giving the data values and \code{rhs} a factor giving the corresponding groups}
\item{moments}{a matrix/frame of descriptive/summary statistics}
\item{corrs}{a matrix/frame of correlations among the measures}
\item{contrast}{a vector of codes for the contrast among all means}
\item{mu}{a number indicating the true/hypothesized value of the mean contrast}
\item{conf.level}{confidence level of the interval}
}
\value{
The returned frame contains the following components:
\item{d}{the standardized mean contrast}
\item{SE}{the standard errors of the standardized mean contrast}
\item{LL}{the lower limit of the confidence interval of the standardized mean contrast}
\item{UL}{the upper limit of the confidence interval of the standardized mean contrast}
}
\references{
Bonett, D. G. (2008). Confidence intervals for standardized linear contrasts of means. Psychological Methods, 13(2), 99-109.
}