as.mudfold: Function for calculating MUDFOLD statistics for a given...

Description Usage Arguments Details Value Author(s) References See Also Examples

View source: R/as.mudfold.R

Description

This function calculates the MUDFOLD statistics for proximity item response data, whose columns are assumed to be ordered to the order they are provided. The resulting object from the as.mudfold function is an object of S3 class .mdf, for which generic functions print, summary, and plot are available.

Usage

1
as.mudfold(x,estimation="rank")

Arguments

x

: A binary matrix or data frame containing the responses of nrow(x) persons to ncol(x) items. Missing values in x are not allowed.

estimation

: This argument controls the nonparametric estimation method for item and subject locations. By deafult this argument equals to "rank" and implies that a Van Schuur's rank based estimator will be used for estimating the item parameters which are later used as thresholds in order to estimate subject 's parameters. The user can set this argument to "quantile" and then an estimator based on item rank quantiles proposed by Johnson is applied.

Details

The function as.mudfold calculates MUDFOLD statistics for a given scale. Descriptive statistics, scalability coefficients, iso statistic values, are calculated and the user can obtain a summary table with the summary function which is designed for .mdf class objects.

Value

The function as.mudfold returns a list object of class mdf with the same components as the core function mudfold except the information that concerns the item selection algorithm. The list contains the following:

dat

The data in which MUDFOLD method has been fitted.

starting.items

The starting set of items.

no.items

The number of items in the starting set (i.e., equal to ncol(x)).

sample.size

The number of respondents.

Best.triple

NA

iterations.in.sec.step

NA

mdfld.order

The item order on the unidimensional scale.

length.scale

The number included in the scale (length(mdfld.order)).

item.popularities

Observed proportion of positive responses for the items included in the scale.

item.freq

Observed frequency of positive responses for the items in MUDFOLD scale.

Obs.err.item

Observed response errors for each item included in the scale.

Exp.err.item

Expected response errors for each item included in the scale.

H.item

Scalability coefficient for each item included in the scale.

Item.ISO

Iso statistic for each item included in the scale.

Obs.err.scale

Observed response errors for the estimated scale.

Exp.err.scale

Expected response errors for the estimated scale

Htotal

Scalability coefficient for the estimated scale.

Isototal

Iso statistic for the estimated scale.

Cond.Adjacency.matrix

Conditional adjacency matrix (CAM) for the estimated scale.

Adjacency.matrix

Adjacency matrix for the estimated scale.

Dominance.matrix

Dominance matrix for the MUDFOLD scale.

star

A matrix with stars placed at the maxima locations of each row of the conditional adjacency matrix.

Correlation.matrix

Correlation matrix for the MUDFOLD scale.

uniq

The set of unique triples. From this set, the best minimal scale for the first step of the item selection algorithm is determined.

est.parameters

A list with two components. The first component refers to item parameters and the other to the subject parameters. The estimates have been obtained with a user specified nonparametric estimation method.

call

The function call.

Author(s)

Spyros E. Balafas (auth.), Wim P. Krijnen (auth.), Wendy J. Post (contr.), Ernst C. Wit (auth.)

Maintainer: Spyros E. Balafas (s.balafas@rug.nl)

References

W.H. Van Schuur.(1984). Structure in Political Beliefs: A New Model for Stochastic Unfolding with Application to European Party Activists. CT Press.

W.J. Post. (1992). Nonparametric Unfolding Models: A Latent Structure Approach. M & T series. DSWO Press.

W.J. Post. and T.AB. Snijders. (1993).Nonparametric unfolding models for dichotomous data. Methodika.

M.S. Johnson. (2006). Nonparametric Estimation of Item and Respondent Locations from Unfolding-type Items. Psychometrica

See Also

mudfold

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
## Not run: 
## pick a number for setting the seed
n.seed <- 11

## Simulate an unfolding scale
simulation <- mudfoldsim(p=6, n=100, gamma1=5, gamma2=-10, zeros=FALSE,seed=n.seed)

## get the data
dat <- simulation$dat

## true order
true_order <- simulation$true_ord

## check MUDFOLD statistics for the simulated order
mud_stats1 <- as.mudfold(dat,estimation="rank")

# get the summary table
summary(mud_stats1)

## check MUDFOLD statistics for the true item order
mud_stats2 <- as.mudfold(dat[,true_order],estimation="rank")

# get the summary table
summary(mud_stats2)

## End(Not run)

SpyrosBalafas/mudfold documentation built on May 19, 2019, 2:53 a.m.