descript {ltm} | R Documentation |
Computes descriptive statistics for dichotomous and polytomous response matrices.
descript(data, n.print = 10, B = 1000)
data |
a matrix or data.frame containing the manifest variables. |
n.print |
numeric indicating the number of pairwise associations with the highest p-values to be printed. |
B |
the B argument of chisq.test() . |
The following descriptive statistics are returned by descript()
:
Environment
are represented as 1, 2,
and 3).simulate.p.value
is turned to TRUE
in chisq.test()
,
using B
resamples.
An object of class descript
with components,
sample |
a numeric vector of length 2, with elements the number of items and the number of sample units. |
perc |
a numeric matrix containing the percentages of negative and positive responses for each item. If
data contains only dichotomous manifest variables the logit of the positive responses (i.e.,
second row) is also included. |
items |
a numeric matrix containing the frequencies for the total scores. |
pw.ass |
a matrix containing the p-values for the pairwise association between the items. |
n.print |
the value of the n.print argument. |
name |
the name of argument data . |
missin |
a numeric matrix containing the frequency and percentages of missing values for each item;
returned only if any NA 's exist in data . |
bisCorr |
a numeric vector containing sample estimates of the biserial correlation of dichotomous manifest variables with the total score. |
Dimitris Rizopoulos dimitris.rizopoulos@med.kuleuven.be
## Descriptives for Wirs data: descript(Wirs, 3)