Creates an object of class cgPairedDifferenceDescriptiveTable
, with the
following slots:
contents
The table of descriptive summary statistics
for each group, and also for paired differences. See below for the data frame structure
of the table.
settings
A list of settings carried from the
cgPairedDifferenceData
data
object. These are used
for the print.cgPairedDifferenceDescriptiveTable
method,
invoked for example when display="print"
.
The data frame structure of the descriptive table in a contents
slot consists of row.names
that specify the group or paired
difference, and these columns:
n
The sample size.
Min
The minimum value.
25%ile
The 25th percentile, estimated
with the quantile
function.
Median
The median value.
75%ile
The 75th percentile, estimated
with the quantile
function.
Max
The maximum value.
Mean
The arithmetic mean value.
StdDev
The standard deviation value.
StdErr
The standard error value.
If logscale=TRUE
, then two additional columns are added:
GeoMean
The geometric mean value of the group.
SEGeoMean
The estimated standard error associated
with the geometric mean. This is calculated with the Delta Method,
and will particularly lose accuracy in its useful approximation once the standard
error in the log scale exceeds 0.50. A warning message is
issued when this occurs.
The third row of simple difference summaries
has GeoMean
and SEGeoMean
are set to <NA>.
Fourth and fifth rows are also added with summaries of the paired
ratio differences and percent differences. The StdDev
and
StdErr
values are set to <NA> in these two rows.
The GeoMean
and SEGeoMean
values are calculated via the
the Delta Method, with the same caveats described above.