hypothesis_test_t_two_sample: Perform a two sample t test of one numerical variable across...

Description Usage Arguments Value Examples

View source: R/hypothesis_tests.R

Description

Perform a two sample t test of one numerical variable across mutliple groups

Usage

1
hypothesis_test_t_two_sample(dependent.var, independent.var, design)

Arguments

dependent.var

string with the column name in 'data' of the dependent variable. Should be numerical.

design

the svy design object created using map_to_design or directly with svydesign

independen.var

string with the column name in ‘data' of the independent variable. Should be a ’select one' with few (<15) categories.

Value

A list with the results of the test (T-value, p value, etc.) or the error message.

Examples

1
## Not run: hypothesis_test_t_two_sample("males_13_15", "resp_gender", design)

mabafaba/hypegrammaR documentation built on Oct. 2, 2019, 11:33 a.m.