md_prec: Compute Precision Analyses for Mean Differences

Description Usage Arguments Value Examples

Description

Compute Precision Analyses for Mean Differences

Usage

1
md_prec(m1, m2, s1, s2, nlow, nhigh, propn1 = 0.5, ci = 0.95, by = 1)

Arguments

m1

Mean of first group

m2

Mean of second group

s1

Standard deviation of first group

s2

Standard deviation of second group

nlow

starting sample size

nhigh

ending sample size

propn1

Proportion in First Group

ci

Type of Confidence Interval (e.g., .95)

by

Incremental increase in sample (e.g. nlow = 10, nhigh = 24, by = 2, produces estimates of 10, 12, and 14)

Value

Precision Analyses for Mean Differences

Examples

1
2
md_prec(m1=2,m2 =0, s1=5, s2=5,nlow=100, nhigh =1600, propn1=.5, ci=.95, by=100)
md_prec(m1=0,m2 =0, s1=5, s2=5,nlow=100, nhigh =40000, propn1=.5, ci=.95, by=1000)

pwr2ppl documentation built on June 12, 2019, 5:03 p.m.