项目分析
计算公式
符号
| 符号 | 含义 |
|---|---|
| J | 量表题项数 |
| xij | 第 i 人在第 j 题上的得分 |
| Si | 第 i 人的量表总分 |
| Q27、Q73 | 总分的 27%、73% 分位点 |
| nL、nH | 低分组、高分组人数 |
| XL、XH | 低分组、高分组在某题上的得分 |
| sp2 | 两组合并方差 |
| CR | 决断值(独立样本 t 统计量) |
| rj | 第 j 题与量表总分的 Pearson 相关 |
核心公式
公式 (1.1):量表总分与分组
\[
S_{i}=\sum_{j=1}^{J}x_{ij},\qquad \text{low group}:S_{i}\le Q_{27},\qquad \text{high group}:S_{i}\ge Q_{73}
\]
公式 (1.2):决断值 CR
\[
CR=\frac{\bar X_{H}-\bar X_{L}}{\sqrt{s_{p}^{2}\left(\frac{1}{n_{H}}+\frac{1}{n_{L}}\right)}},\qquad s_{p}^{2}=\frac{(n_{H}-1)s_{H}^{2}+(n_{L}-1)s_{L}^{2}}{n_{H}+n_{L}-2},\qquad \mathrm{df}=n_{H}+n_{L}-2
\]
公式 (1.3):题总相关
\[
r_{j}=\frac{\sum_{i=1}^{n}(x_{ij}-\bar x_{j})(S_{i}-\bar S)}{\sqrt{\sum_{i=1}^{n}(x_{ij}-\bar x_{j})^{2}\sum_{i=1}^{n}(S_{i}-\bar S)^{2}}}
\]
参考文献
- Kelley, T. L. (1939). The selection of upper and lower groups for the validation of test items. Journal of Educational Psychology, 30(1), 17–24.
- Nunnally, J. C., & Bernstein, I. H. (1994). Psychometric theory (3rd ed.). McGraw-Hill.
- Boateng, G. O., Neilands, T. B., Frongillo, E. A., Melgar-Quiñonez, H. R., & Young, S. L. (2018). Best practices for developing and validating scales for health, social, and behavioral research: A primer. Frontiers in Public Health, 6, 149.
算法参数
| 参数 | 取值 | 默认 | 影响 |
|---|---|---|---|
| 分组分界 | 27 / 25(百分数) | 27 | 决定总分低/高分组的切点;25 表示 25%/75% 分位。 |
验证报告
数据与 R 包
提示词
I1–I6 是 6 道量表题,按总分 27%/73% 分位分高低分组,做项目分析。
R 代码
d <- read.csv("item_analysis.csv")
total <- rowSums(d)
lo <- quantile(total, 0.27); hi <- quantile(total, 0.73)
g <- ifelse(total <= lo, "L", ifelse(total >= hi, "H", "M"))
cat("cut", lo, hi, "n_low", sum(g == "L"), "n_high", sum(g == "H"), "\n")
for (v in names(d)) {
x <- d[[v]]
tt <- t.test(x[g == "H"], x[g == "L"], var.equal = TRUE)
ct <- cor.test(x, total)
cat(v, mean(x[g == "L"]), sd(x[g == "L"]), mean(x[g == "H"]), sd(x[g == "H"]),
unname(tt$statistic), tt$p.value, unname(ct$estimate), ct$p.value, "\n")
}
对比结果
| 指标 | SPSSAU | R | 差值 |
|---|---|---|---|
| 低分组界值 | 16.0000000000 | 16.0000000000 | 0 |
| 高分组界值 | 20.2700000000 | 20.2700000000 | 0 |
| 低分组 n | 29.0000000000 | 29.0000000000 | 0 |
| 高分组 n | 27.0000000000 | 27.0000000000 | 0 |
| I1 的 CR | 8.6923963355 | 8.6923963355 | 4.95e−11 |
| I6 的 CR | 4.0863186272 | 4.0863186272 | 3.29e−11 |
| I6 的题总相关 | 0.3897992597 | 0.3897992597 | 4.47e−11 |
结论:两个分界值、两组人数、6 个决断值 CR 与 6 个题总相关均与 R 一致,最大差 ≤5e−11(SPSSAU 按 10 位小数输出)。所有 CR 的 p 值在 SPSSAU 显示 <0.001,R 全精度最大为 1.46e−4,均小于 0.001;I6 的题总相关最低(0.3898),略低于 0.4 的经验门槛。
引用SPSSAU. 项目分析:计算公式与参数[EB/OL]. SPSSAU算法手册, 2026-11-20. https://www.spssau.com/algorithm/questionnaire/item_analysis.html.