h2(#description). Description Test of homogeneity of a given factor variable split by another factor. h3(#variable-description). Variable description Analysing "gender" ("Gender") with _673_ valid values whether frequency counts are distributed equally across different categories of "dwell" ("Dwelling"). "dwell" has _3_ categories: * city * small town * village h3(#counts). Counts
Counted values: "dwell" and "gender"
  male female Missing Sum
*city* 338 234 27 599
*small town* 28 3 2 33
*village* 19 9 2 30
*Missing* 25 17 5 47
*Sum* 410 263 36 709
h3(#chi-squared-test). Chi-squared test Our "null hypothetis":http://en.wikipedia.org/wiki/Null_hypothesis says that the proportion of _gender_ is indentical in each categories of _dwell_.
Pearson's Chi-squared test: @table@
Test statistic df P value
16.18 6 _0.01282_ *
The chi-squared test returned the value of _16.18_ with a degree of freedom being _6_. Based on the returned "p value":http://en.wikipedia.org/wiki/P-value (_0.01282_) we could state that the null hypothesis is rejected.
This report was generated with "R":http://www.r-project.org/ (3.0.1) and "rapport":https://rapporter.github.io/rapport/ (0.51) in _0.298_ sec on x86_64-unknown-linux-gnu platform. !images/logo.png!