Pearson's Chi-squared Test for Count Data
twoWayTable.HH
is an original Rcmdr.HH function. It reads
the active dataset and constructs the table using xtabs
.
enterTable.HH
is an original Rcmdr.HH function. It opens a window
where the user may enter a table manually.
analyzeTwoWayTable.HH
is an additional function. It uses the
active dataset as the table.
All three produce identical output, a two-way table, row and column summaries, and the chi square test.
twoWayTable.HH()enterTable.HH()
analyzeTwoWayTable.HH()
John Fox jfox@mcmaster.ca. additional entry options by Richard M. Heiberger <rmh@temple.edu>.