# indt: Compute power for an Independent Samples t-test Takes means,... In pwr2ppl: Power Analyses for Common Designs (Power to the People)

## Description

Compute power for an Independent Samples t-test 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 4 5 6 7 8 9``` ```indt( m1 = NULL, m2 = NULL, s1 = NULL, s2 = NULL, n1 = NULL, n2 = NULL, alpha = 0.05 ) ```

## Arguments

 `m1` Mean of first group `m2` Mean of second group `s1` Standard deviation of first group `s2` Standard deviation of second group `n1` Sample size for first group `n2` Sample size for second group `alpha` Type I error (default is .05)

## Value

Power for Independent Samples t-test

## Examples

 ```1 2``` ```indt(m1=22,m2=20,s1=5,s2=5,n1=99,n2=99) indt(m1=1.3, m2=0, s1=4,s2=1,n1=78,n2=234) ```

### Example output

```Equal Variance Power for n1 = 99 ,n2 = 99 with d = 0.4 = 0.8
Unequal Variance Power for n1 = 99, n2 = 99, with d = 0.4 = 0.8
Equal Variance Power for n1 = 78 ,n2 = 234 with d = 0.598 = 0.995
Unequal Variance Power for n1 = 78, n2 = 234, with d = 0.371 = 0.801
```

pwr2ppl documentation built on April 4, 2021, 9:06 a.m.