Skip to contents

A 5-item data set analyzed by Bartholomew (1998). Data contains dichotomous responses (endorsement vs non-endorsement) from 1490 German respondents to five statements on perceptions of social life.

References

Bartholomew, D., J. (1998). Scaling unobservable constructs in social science. Journal of the Royal Statistical Society - Series C, 47, 1-13.

Author

Phil Chalmers rphilip.chalmers@gmail.com

Examples


# \donttest{
# tabular format
data(SLF)
SLF
#>    social1 social2 social3 social4 social5 freq
#> 1        0       0       0       0       0  156
#> 2        0       0       0       0       1   26
#> 3        0       0       0       1       0   14
#> 4        0       0       0       1       1    9
#> 5        0       0       1       0       0  127
#> 6        0       0       1       0       1   26
#> 7        0       0       1       1       0   66
#> 8        0       0       1       1       1   16
#> 9        0       1       0       0       0  174
#> 10       0       1       0       0       1   35
#> 11       0       1       0       1       0   36
#> 12       0       1       0       1       1   13
#> 13       0       1       1       0       0  208
#> 14       0       1       1       0       1   65
#> 15       0       1       1       1       0  195
#> 16       0       1       1       1       1  129
#> 17       1       0       0       0       0    8
#> 18       1       0       0       0       1    2
#> 19       1       0       0       1       0    1
#> 20       1       0       0       1       1    3
#> 21       1       0       1       0       0    4
#> 22       1       0       1       0       1    4
#> 23       1       0       1       1       0   18
#> 24       1       0       1       1       1    9
#> 25       1       1       0       0       0    8
#> 26       1       1       0       0       1    2
#> 27       1       1       0       1       0    5
#> 28       1       1       0       1       1    3
#> 29       1       1       1       0       0   19
#> 30       1       1       1       0       1   10
#> 31       1       1       1       1       0   31
#> 32       1       1       1       1       1   68

# full dataset
full <- expand.table(SLF)
itemstats(full)
#> $overall
#>     N mean.total sd.total std.alpha alpha SEM.alpha mean.r  sd.r
#>  1490      2.166    1.324     0.534 0.536     0.902  0.187 0.076
#> 
#> $itemstats
#>            N K  mean    sd cor_if_rm   smc alpha_if_rm
#> social1 1490 2 0.131 0.337     0.251 0.080       0.510
#> social2 1490 2 0.672 0.470     0.227 0.057       0.527
#> social3 1490 2 0.668 0.471     0.335 0.139       0.458
#> social4 1490 2 0.413 0.493     0.420 0.191       0.397
#> social5 1490 2 0.282 0.450     0.281 0.088       0.493
#> 

mod <- mirt(full)
plot(mod, type = 'trace')


# }