Description Usage Arguments Value Examples
View source: R/hypothesis_tests.R
Perform a one sample t test of one numerical variable against hypothesised value (limit)
1 2 | hypothesis_test_t_one_sample(dependent.var, independent.var = NULL,
limit, design)
|
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 |
A list with the results of the test (T-value, p value, etc.) or the error message.
1 | ## Not run: hypothesis_test_t_two_sample("males_13_15", 4, design)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.