ttestfromMeans: Function ttestfromMeans

Description Usage Arguments Value Note Author(s) Source

Description

This function calculates a t-test for the means, standard deviations, and sample sizes of two groups, and prints the results.

Usage

1
ttestfromMeans(x1, x2, sd1, sd2, n1, n2)

Arguments

x1

mean of group 1.

x2

mean of group 2.

sd1

standard deviation of group 1.

sd2

standard deviation of group 2.

n1

sample size of group 1.

n2

sample size of group 2.

Value

None

Note

Permission to publish under MIT license granted by Andy Field. Copyright remains with the authors of the function.

Author(s)

Field, Andy. Miles, Jeremy. Field, Zoƫ.

Source

Field, Andy. (2012) 'Discovering Statistics Using R', p. 375. London, England: SAGE.


Frostarella/DSUR.noof documentation built on June 2, 2019, 5:53 p.m.