 class='op'>(</span><span class='fl'>0</span>, <span class='fl'>0.5</span><span class='op'>)</span><span class='op'>)</span>

<span class='co'># A differential item functioning (DIF) scenario with 15 items and 1000 persons</span>
<span class='co'># The last five items will have DIF with 0.3 logit. Group 0 will have 700 persons (reference group)</span>
<span class='co'># and Group 1 will have 300 persons (focal group)</span>
<span class='va'>data.dif</span> <span class='op'>&lt;-</span> <span class='fu'>simE