Charting Data from a Java-based Probabilistic Model
In the chart below I have charted items scores against item number as a simple scatter, and before carrying out any Rasch analysis, I ran a simple regression on the data. The coefficient was unity (to 2 decimal places) and the intercept was 0.3. R squared was 0.97. This is a pretty good fit to the theoretical line predicted in the previous blog. When data from a Probabilistic Model fits well with a theoretical prediction it indicates that the generated dataset is large enough to be useful.
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh05JSv07esaWnOOVIq4kaXsvPzNFOF4FqRHYd0XxohRAV_E9ikOL1OtYg1jNVgrxwCNxdJ2183eDZ2FfT87-4vgXqYoRjIwpXEw2Jc-UviWyOsrtXEmcuJaQi2fmx0t1byIiBhwZIsKMc/s320/jblog35.gif)
Next I ran the "transformation" described in the Winsteps documentation. The formula for the transformation is:
y' = ln(y/(64 - y))
where y' is the transformed item score and y is the raw item score. The chart is shown below
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjxOqJlIBO3pS_kS37wFmVJeysK9doLSwq2k57Beucq5Is-BsvceFUsD_KMm_mdkRHJZxIjW8TQ0Q81BYSSohGb3ZJks-zZkJdNsRYetUH3-Kj-2yovo8hLVdgY5NmlyowOkxefmogC3Ds/s320/jblog36.gif)
When I generated this data I specified that the ability of the children was neutral, or zero logits on the Rasch scale. But this is a probabilistic model, so setting a parameter in the model will influence the results, but it will not guarantee any outcome. So let's have a look at the student results generated by the model.
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEipRlo3_q-ha-rHuPb5zxTjKg8-Ro4eexY1-k2XwH1gV01hIma5XNsEE9SMKfJGNFYswW5FNwy0iLArreHz3F8QfjcqqS_7TXWQoNmZysm5YaHlaugmjD1qpT0bR3DQQWCgrWzgc4eVDqM/s320/jblog37.gif)
The "expected (from the model) score" for each child is between 32 and 33, but the chart above shows the actual results scattered over a range from 24 to 39, and a mean score of 31.
Finally, the chart below shows the transformed scatter. Here again the mean at -0.057 is below the expected average of zero, and for record, the standard deviation is 0.18.
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj1_IVRClBJBS6TxcY9VEbGFeYPurGfrSTrrCgayEikpoKw3tSOGkn79PzYOs6AImi4uHC0RpFQVYeQlxxtbBzFzh6zJdp_Hc_t2DPdz1Fo-L8FAkAxciJiLB3OtX0VmCHHy-xqsLc04mc/s320/jblog38.gif)
In my next blog I shall apply Rasch based estimation to this data.
Comments