Element stats

Description
To prompt descriptive statistics for the elements of a grid use the function statsElements. The following measures are returned:
 * item name
 * item number
 * number of valid cases
 * mean
 * standard deviation
 * trimmed mean (with trim defaulting to .1)
 * median (standard or interpolated)
 * mad: median absolute deviation (from the median)
 * minimum
 * maximum
 * skew
 * kurtosis
 * standard error

The corresponding function for construct statistics is statsConstructs.

R-Code
> statsElements(fbb2003)

Desriptive statistics for elements

var n mean  sd median trimmed  mad min max range  skew kurtosis   se (1) self                   1 9 3.44 1.81      3    3.44 1.48   1   6     5  0.30    -1.19 0.60 (2) my father             2 9 3.00 1.87      3    3.00 1.48   1   6     5  0.61    -0.29 0.62 (3) an old flame          3 9 4.89 1.45      5    4.89 1.48   3   7     4 -0.05    -1.50 0.48 (4) an ethical person     4 9 3.11 0.93      3    3.11 0.00   2   5     3  0.65     1.35 0.31 (5) my mother             5 9 4.11 1.69      5    4.11 2.97   2   7     5  0.12    -0.81 0.56 (6) a rejected teacher    6 9 4.33 2.35      5    4.33 2.97   1   7     6 -0.15    -1.89 0.78 (7) as I would love to b  7 9 3.44 2.35      3    3.44 2.97   1   7     6  0.19    -1.72 0.78 (8) a pitied person       8 9 4.44 1.42      5    4.44 1.48   2   7     5 -0.02     0.85 0.47

You can trim the length of the construct labels if desired. > statsElements(fbb2003, trim=10)

Desriptive statistics for elements

var n mean  sd median trimmed  mad min max range  skew kurtosis   se (1) self         1 9 3.44 1.81      3    3.44 1.48   1   6     5  0.30    -1.19 0.60 (2) my father   2 9 3.00 1.87      3    3.00 1.48   1   6     5  0.61    -0.29 0.62 (3) an old fla  3 9 4.89 1.45      5    4.89 1.48   3   7     4 -0.05    -1.50 0.48 (4) an ethical  4 9 3.11 0.93      3    3.11 0.00   2   5     3  0.65     1.35 0.31 (5) my mother   5 9 4.11 1.69      5    4.11 2.97   2   7     5  0.12    -0.81 0.56 (6) a rejected  6 9 4.33 2.35      5    4.33 2.97   1   7     6 -0.15    -1.89 0.78 (7) as I would  7 9 3.44 2.35      3    3.44 2.97   1   7     6  0.19    -1.72 0.78 (8) a pitied p  8 9 4.44 1.42      5    4.44 1.48   2   7     5 -0.02     0.85 0.47

And remove the index number for the constructs.

> statsElements(fbb2003, index=F)

Desriptive statistics for elements

var n mean  sd median trimmed  mad min max range  skew kurtosis   se self                   1 9 3.44 1.81      3    3.44 1.48   1   6     5  0.30    -1.19 0.60 my father             2 9 3.00 1.87      3    3.00 1.48   1   6     5  0.61    -0.29 0.62 an old flame          3 9 4.89 1.45      5    4.89 1.48   3   7     4 -0.05    -1.50 0.48 an ethical person     4 9 3.11 0.93      3    3.11 0.00   2   5     3  0.65     1.35 0.31 my mother             5 9 4.11 1.69      5    4.11 2.97   2   7     5  0.12    -0.81 0.56 a rejected teacher    6 9 4.33 2.35      5    4.33 2.97   1   7     6 -0.15    -1.89 0.78 as I would love to b  7 9 3.44 2.35      3    3.44 2.97   1   7     6  0.19    -1.72 0.78 a pitied person       8 9 4.44 1.42      5    4.44 1.48   2   7     5 -0.02     0.85 0.47

In case the results are needed for further processing, the printing to the console can be surpressed with output=0. The results are saved in the object d. > d <- statsElements(fbb2003, output=F) > d                        var n mean   sd median trimmed  mad min max range  skew kurtosis   se (1) self                   1 9 3.44 1.81      3    3.44 1.48   1   6     5  0.30    -1.19 0.60 (2) my father             2 9 3.00 1.87      3    3.00 1.48   1   6     5  0.61    -0.29 0.62 (3) an old flame          3 9 4.89 1.45      5    4.89 1.48   3   7     4 -0.05    -1.50 0.48 (4) an ethical person     4 9 3.11 0.93      3    3.11 0.00   2   5     3  0.65     1.35 0.31 (5) my mother             5 9 4.11 1.69      5    4.11 2.97   2   7     5  0.12    -0.81 0.56 (6) a rejected teacher    6 9 4.33 2.35      5    4.33 2.97   1   7     6 -0.15    -1.89 0.78 (7) as I would love to b  7 9 3.44 2.35      3    3.44 2.97   1   7     6  0.19    -1.72 0.78 (8) a pitied person       8 9 4.44 1.42      5    4.44 1.48   2   7     5 -0.02     0.85 0.47