|
Simulated data file = "" |
Up Previous Next |
A file of simulated data can be constructed from the measures estimated (or anchored) for the main analysis. It will have one simulated observation for each observation in the original data file. Each simulation is unique, so that multiple different simulations can be obtained with the Output Files menu clicking on Simulated Data file.
Simulated data file = filename
The simulated data can be analyzed using Data=filename in the original specification file (or enter at Extra specifications? prompt). Comment out any Dvalues= specifications in the original specification file.
The simulated data file has the basic Facets data format:
; Simulated data matching the empirical data structure
; Ratings of Scientists (edited to illustrate ambiguity in measurement) 09-02-2004 00:22:46
; matching: C:\FACETS\examples\subsets.txt
1,2,1,7 ; 9 ; 1,2,1 are facet elements. 7 is simulated. 9 is the original data value.
1,2,2,7 ; 7
1,2,3,4 ; 5
1,2,4,9 ; 8
1,2,5,3 ; 5
Example: Simulate and analyze 1000 Facets data sets from lfs.txt
Save the following as x.bat in c:\Facets\examples, and then double-click on x.bat.
SET /A COUNT=1
LOOP
echo Loop number %COUNT%
rem do this 1000 times
IF %COUNT% == 1001 GOTO END
rem generate simulate data file from lfs.txt
START /WAIT ..\Facets BATCH=YES lfs.txt specfile.out.txt simul=s%COUNT%.txt
rem analyze simulated file
START /WAIT ..\Facets BATCH=YES lfs.txt s%COUNT%.out.txt data=s%COUNT%.txt
SET /A COUNT=COUNT+1
GOTO LOOP
:END
PAUSE
Help for Facets Rasch Measurement Software: www.winsteps.com.