bda (version 10.1.9)

metamean.test: Test Equal Means

Description

To test the equality of two means based on two sequences of sample means.

Usage

metamean.test(x,n,group,s,mu, sigma,years,
    alternative = c("two.sided", "less", "greater"),
    conf.level=0.95, sizable=FALSE,legend.pos=2)

Arguments

x,n,s

Vectors of sample means, sample sizes, and sample standard deviations.s can be missing.

mu, sigma

The vectors of the mean and standard deviation values for the populations or much larger sample.

years

The years of the collected data. If missing, replace with a sequence of integers starting with 1.

group

A vector showing the group IDs. Must have two levels.

alternative

Type of test.

conf.level

Confidence level if the means.

sizable

A logical variable to control the size of the point symbols.

legend.pos

Position of the legend: 1=top right, 2=top left, 3=bottom left, 4=bottom right, 0=no legend.

Details

To be updated.