Description Usage Arguments Details Value Author(s) References Examples
This function incorporates a two step algorithm that determines an unfolding scale from observed binary data x
. In the first step of the algorithm the best scale consisting of 3
items is determined, while in the second step, the scale obtained in the first step is expanded iteratively by adding the best fitting item in each iteration. The first step of the algorithm can be skiped with the argument start
which can be used by setting manually an ordered item set that will be extended in the second step of the item selection algorithm. The resulting scale consists of the best m
fitting items based on scalability criteria (where m
≤ ncol(x)
).
In mudfold
function, the user can specify a value λ_1 that will be used as a lower boundary in the scalability criteria of the search algorithm. By default, the lower boundary for the scalability coefficients is lambda1=0.3
(Mokken,1971). The user can choose a second value λ_2 (usually negative) that will be used as a lower boundary only for the second step of the algorithm (by default, lambda2=0
). The parameter λ_2 is used mostly, in order to relax the first scalability criterion of the second step. Generally, values greater than 0.3 for λ_1, and λ_2 lead to very strict criteria while negative values relax these criteria.
Moreover, the user is able to choose between two nonparametric estimation methods in order to obtain individual and item scale parameters that are estimated based on the resulting item order. The default setting (i.e., estimation="rank"
) uses an estimation proposed by Van Schuur based on item ranks. Alternatively, an estimation method described by M.S. Johnson, which uses item quantiles for estimating person parameters, can be used by setting estimation="quantile"
.
1 |
x |
: A binary matrix or data frame containing the responses of |
estimation |
: This argument controls the nonparametric estimation method for item and subject locations. By deafult this argument equals to |
lambda1 |
: User specified numerical value that is used as a lower boundary for the scalability criterion of the first step of the item selection algorithm, and in the item scalability criterion at the end of the scale expansion. Default value is λ_1=0.3 but it can be any value between -∞ and 1 (i.e., λ_1 \in ≤ft(-∞,1\right]). The higher the value of λ_1 the stricter the scalability criteria of the algorithm. |
lambda2 |
: User specified numerical value that controls explicitly the first scalability criterion of the scale expansion. In the default settings λ_2=0, however, the user can choose a negative value for λ_2, which leads to less strict scalability criterion in the beginning of the scale expansion. |
start |
: A pressumably ordered character vector containing column names of |
check |
: A logical argument. If |
In the first stage, mudfold
function seeks the best ordered triple of items. The best triple of items is called best unique triple and has to fullfil certain scalability criteria in order to be chosen as the best elementary scale. Specifically, the scalability coefficient of the best unique triple has to be higher than a user specified parameter λ_1.
In the second stage of the algorithm the best elementary scale is extended by adding the best fitting item in each replication of the algorithm based again on scalability criteria. The user can potentially specify an explicit lower boundary for the first scalability criterion of the second step through a parameter λ_2.
The parameters λ_1,λ_2 can take any value in ≤ft(-∞,1\right]. Values larger than 0.3 for the λ's lead to very strict scalability criteria.
The function mudfold
returns a list object of class mdf
with the following components:
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 |
sample.size |
The number of respondents. |
Best.triple |
The best minimal scale (triple of items) determined in the first step of the item selection algorithm. |
iterations.in.sec.step |
Number of iterations in the second step of MUDFOLD method. |
mdfld.order |
The item order resulted from the item selection algorithm. |
length.scale |
The number included in the scale ( |
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. |
Spyros E. Balafas (auth.), Wim P. Krijnen (auth.), Wendy J. Post (contr.), Ernst C. Wit (auth.)
Maintainer: Spyros E. Balafas (s.balafas@rug.nl)
Mokken, R. J. (1971). A theory and procedure of scale analysis: With applications in political research (Vol. 1). Walter de Gruyter.
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
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 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 | ## Not run:
#####################################
#### MUDFOLD method on real data ####
#####################################
### MUDFOLD method on ANDRICH data (see Post and Snijders pp.147) ###
data(ANDRICH)
## fit MUDFOLD on ANDRICH data ##
fit_andr <- mudfold(ANDRICH)
## generic functions for the S3 class .mdf object fit ##
# print
fit_andr
# summary
summary(fit_andr)
# plot
plot(fit_andr)
### MUDFOLD method on EURPAR2 data ###
data("EURPAR2")
## fit MUDFOLD on EURPAR2 data ##
fit_eurp <- mudfold(EURPAR2)
# print
print(fit_eurp,Diagnostics = TRUE)
# summary
summary(fit_eurp)
# plot
plot(fit_eurp)
### MUDFOLD method on Plato7 data ###
data("Plato7")
## transform to binary data
## using as threshold the mean
## per row of Plato7
dat_plato <- pick(Plato7)
## fit MUDFOLD on Plato7 data ##
fit_plato <- mudfold(dat_plato)
# print
print(fit_plato)
# summary
summary(fit_plato)
# plot
plot(fit_plato)
##########################################
#### MUDFOLD method on simulated data ####
##########################################
### Data with the responses of
### n=3000 on p=20 items
simulation1 <- mudfoldsim(p=20, n=3000, pgamma1=2, pgamma2=-10, zeros=FALSE,seed = 1)
dat_sim1 <- simulation1$dat
## fit MUDFOLD on simulated data ##
fit.sim1 <- mudfold(dat_sim1)
# print
fit.sim1
# summary
summary(fit.sim1)
# plot
plot(fit.sim1)
### Data with the responses of
### n=3000 on p=26 items
simulation2 <- mudfoldsim(p=26, n=3000, gamma1=2, gamma2=-10, zeros=FALSE,seed = 1)
dat_sim2 <- simulation2$dat
## fit MUDFOLD on simulated data ##
fit.sim2 <- mudfold(dat_sim2)
# print
fit.sim2
# summary
summary(fit.sim2)
# plot
plot(fit.sim2)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.