list of data.frames containing statistical information about the
proportion comparisons: 1) nhst = chi-square test of independence stat info
in a data.frame, 2) desc = descriptive statistics stat info in a data.frame
(note there could be more than 3 groups - groups i, j, and k are just
provided as an example), 3) std = standardized effect size and its
confidence interval in a data.frame, 4) count = numeric array with dim =
[X+1, 3, length(vrb.nm)]
of the X by 2 contingency table of counts
for each dummy variable with an additional row and column for totals (if
rtn.table
= TRUE), 5) percent = numeric array with dim = [X+1,
3, length(vrb.nm)]
of the X by 2 contingency table of overall percentages
for each dummy variable with an additional row and column for totals (if
rtn.table
= TRUE).
1) nhst = chi-square test of independence stat info in a data.frame
- est
average proportion difference absolute value (i.e., |group j - group i|)
se
NA (to remind the user there is no standard error for the test)
X2
chi-square value
df
degrees of freedom (of the nominal variable)
p
two-sided p-value
2) desc = descriptive statistics stat info in a data.frame (note there
could be more than 3 groups - groups i, j, and k are just provided as an example):
- prop_`lvl[k]`
proportion of group k
prop_`lvl[j]`
proportion of group j
prop_`lvl[i]`
proportion of group i
sd_`lvl[k]`
standard deviation of group k
sd_`lvl[j]`
standard deviation of group j
sd_`lvl[i]`
standard deviation of group i
n_`lvl[k]`
sample size of group k
n_`lvl[j]`
sample size of group j
n_`lvl[i]`
sample size of group i
3) std = standardized effect size and its confidence interval in a data.frame
- cramer
Cramer's V estimate
lwr
lower bound of Cramer's V confidence interval
upr
upper bound of Cramer's V confidence interval
4) count = numeric array with dim = [X+1, 3, length(vrb.nm)]
of the X
by 2 contingency table of counts for each dummy variable with an additional
row and column for totals (if rtn.table
= TRUE).
The 3+ unique observed values of data[[nom.nm]]
- plus the total - are
the rows and the two unique observed values of data[[vrb.nm]]
(i.e., 0
and 1) - plus the total - are the columns. The variables in
data[vrb.nm]
are the layers. The dimlabels are "nom" for the rows and
"x" for the columns and "vrb" for the layers. The rownames are 1. `lvl[i]`,
2. `lvl[j]`, 3. `lvl[k]`, 4. "total". The colnames are 1. "0", 2. "1", 3.
"total". The laynames are vrb.nm
.
5) percent = numeric array with dim = [X+1, 3, length(vrb.nm)]
of the
X by 2 contingency table of overall percentages for each dummy variable with
an additional row and column for totals (if rtn.table
= TRUE).
The 3+ unique observed values of data[[nom.nm]]
- plus the total - are
the rows and the two unique observed values of data[[vrb.nm]]
(i.e., 0
and 1) - plus the total - are the columns. The variables in
data[vrb.nm]
are the layers. The dimlabels are "nom" for the rows, "x"
for the columns, and "vrb" for the layers. The rownames are 1. `lvl[i]`, 2.
`lvl[j]`, 3. `lvl[k]`, 4. "total". The colnames are 1. "0", 2. "1", 3.
"total". The laynames are vrb.nm
.