hypothesis_test_t_one_sample: Perform a one sample t test of one numerical variable against...

Description Usage Arguments Value Examples

View source: R/hypothesis_tests.R

Description

Perform a one sample t test of one numerical variable against hypothesised value (limit)

Usage

1
2
hypothesis_test_t_one_sample(dependent.var, independent.var = NULL,
  limit, design)

Arguments

dependent.var

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

independent.var

should be null ! For other functions: string with the column name in 'data' of the independent variable

limit

the value to test the dependent.var against

design

the svy design object created using map_to_design or directly with svydesign

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", 4, design)

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