hypothesis_test_chisquared_select_multiple: Perform a chi squared test on a select multiple question...

Description Usage Arguments Value Examples

View source: R/hypothesis_tests.R

Description

Perform a chi squared test on a select multiple question against a select one question.

Usage

1
2
hypothesis_test_chisquared_select_multiple(dependent.var,
  dependent.var.sm.cols, independent.var, design, questionnaire = NULL)

Arguments

dependent.var

string with the column name in ‘data' of the dependent variable. Should be a ’select multiple'.

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 (Chi Squared statistics, p value) or the error message.

Examples

1
## Not run: hypothesis_test_chisquared_select_one("population_group", "resp_gender", design)

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