Skip to contents

Provides a statistical significance test for each group or level mean.

Usage

# S3 method for data.frame
testMeansSet(frame, mu=0, ...)

# S3 method for formula
testMeansSet(formula, mu=0, ...)

# S3 method for wsm
testMeansSet(moments, mu=0, ...)

# S3 method for bsm
testMeansSet(moments, mu=0, ...)

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

mu

a number indicating the true/hypothesized value of the mean

Value

The returned frame contains the following components:

M

the means for the variables or groups

SE

the standard errors for the variables or groups

df

the degrees of freedom for the variables or groups

t

the t values for the means

p

the p values for the means