win1Ftrends: Compute power for a One Factor Within Subjects Trends with up...

Description Usage Arguments Value Examples

Description

Compute power for a One Factor Within Subjects Trends with up to four levels. Takes means, sds, and sample sizes for each group. Alpha is .05 by default, alternative values may be entered by user

Usage

1
2
3
win1Ftrends(m1, m2, m3 = NA, m4 = NA, s1, s2, s3 = NULL, s4 = NULL,
  r12, r13 = NULL, r14 = NULL, r23 = NULL, r24 = NULL,
  r34 = NULL, n, alpha = 0.05)

Arguments

m1

Mean of first time point

m2

Mean of second time point

m3

Mean of third time point

m4

Mean of fourth time point

s1

Standard deviation of first time point

s2

Standard deviation of second time point

s3

Standard deviation of third time point

s4

Standard deviation of forth time point

r12

correlation Time 1 and Time 2

r13

correlation Time 1 and Time 3

r14

correlation Time 1 and Time 4

r23

correlation Time 2 and Time 3

r24

correlation Time 2 and Time 4

r34

correlation Time 3 and Time 4

n

Sample size for first group

alpha

Type I error (default is .05)

Value

Power for the One Factor Within Subjects Trends

Examples

1
2
win1Ftrends(m1=-.25,m2=-.15,m3=-.05,m4=.05,s1=.4,s2=.5,s3=.6,s4=.7,
r12=.50, r13=.30, r14=.15, r23=.5, r24=.30, r34=.50, n=25)

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