skew.sim: simulate / experiment with bootstrapping (non-parametric) of...

Description Usage Arguments Value

View source: R/tgears.R

Description

simulate / experiment with bootstrapping (non-parametric) of differences between two groups

Usage

1
skew.sim(data, y, x, rep = 1000, stat = "median")

Arguments

y

outcome variable to test differences on

x

grouping variable (coded 1 and 0 for reference group)

rep

number of bootstrap draws

stat

statistic to compare differences on

d

data that includes outcome and grouping variable

Value

returns rdf row with a p-value and lower and upper confidence interval limits


socioskop/ttools documentation built on Jan. 29, 2022, 3:08 a.m.