Skip to contents

Calculates the proportion of variance accounted for and its confidence interval in a factorial or mixed design.

Usage

# S3 method for data.frame
estimateMeansFactorial(frame, by, conf.level=.95, ...)

# S3 method for formula
estimateMeansFactorial(formula, by, conf.level=.95, ...)

# S3 method for wsm
estimateMeansFactorial(moments, corrs, conf.level=.95, ...)

# S3 method for bsm
estimateMeansFactorial(moments, conf.level=.95, ...)

Arguments

frame

a set of (non-empty) numeric vectors of data values

formula

a formula of the form lhs ~ rhs where lhs is a numeric variable giving the data values and rhs a factor giving the corresponding groups

moments

a matrix/frame of descriptive/summary statistics

corrs

a matrix/frame of correlations for the data set

by

a blocking factor

conf.level

confidence level of the interval

Value

The returned frame contains the following components:

Est

the proportion of variance accounted for

LL

the lower limit of the confidence interval for the proportion of variance accounted for

UL

the upper limit of the confidence interval for the proportion of variance accounted for