2004-07-07 06:31:32 UTC
I got a solution. There is a error of the commands
options -default_model_dichotomous 1PL
It should be written istead of above command
set_default_model_dichtomous 1PL
(Here, delete "o" between dich and tomous)
And this command should appear before command allocate_items_dist
Therefore the example is
#
# mondaty.tcl
#
# Estimate item parameters for Form Y items
# using data for examinees who took Form Y.
# Example data from Chapters 4 and 6 Kolen and
# Brennan (1995)
# Write output to log file mondaty.out
output -log_file mondaty.log
# Get 1 PL item value instead of default 3 PL value
set_default_model_dichtomous 1PL
# 36 items to be modeled
allocate_items_dist 36
# Read examinee item responses from file mondaty.dat.
# Each record contains the responses to
# 36 items for an examinee in columns 1-36.
read_examinees mondaty.dat 36i1
# Compute starting values for item parameter estimates
starting_values_dichotomous
# Perform EM iterations for computing item parameter estimates.
# Maximum of 50 EM iterations.
EM_steps -max_iter 50
# Print item parameter estimates and discrete latent
# variable distribution.
print -item_param -latent_dist
# end of run
release_items_dist