version = 6.0 infile 'C:\Users\decar\Desktop\Choice\Algebra_TF\algebra_TF_resp.dat' quote = single model options maxthreads=all; algorithm tolerance=1e-08 emtolerance=0.01 emiterations=550 nriterations=50 ; startvalues seed=0 sets=16 tolerance=1e-05 iterations=50; bayes categorical=1 variances=1 latent=1 poisson=1; montecarlo seed=0 sets=0 replicates=500 tolerance=1e-08; quadrature nodes=11; missing excludeall; output parameters=last standarderrors profile probmeans=posterior predictionstatistics setprofile setprobmeans; choice = 1 ; variables caseid case; groupid person; choicesetid item ; dependent ch choice; independent itemno nominal; attribute _Constants_, signal; latent del ordinal 2 score =(0 1), theta group continuous; equations (1)theta; del <- 1 + (+) theta; ch <- _Constants_|itemno + (+)del signal |itemno; end model