公卫人

 找回密码
 立即注册

QQ登录

只需一步,快速开始

查看: 92|回复: 8
打印 上一主题 下一主题

[求助] SF-12和SF12V2量表的评分方法

[复制链接]
跳转到指定楼层
1#
程梦娇 发表于 2019-9-18 21:42:34 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式

注册后推荐绑定QQ,之后方才可以使用下方的“用QQ帐号登录”。

您需要 登录 才可以下载或查看,没有帐号?立即注册

x
本帖最后由 程梦娇 于 2019-9-18 21:43 编辑
$ _9 z: @8 F- T$ A, F3 G, [1 @" j6 h
请教各位大神,SF-12和SF-12V2的生理质量评分和心理质量评分的计分方法,我在知乎上看到一个同学发的计分方法,但是他的应该是SF12的,因为第4,5,6,7题是两个选项而我的是五个选项,我在网上百度不到,丁香园上要丁香币才能下载附件,求大神告知一下我,万分感谢!
2#
epiman 发表于 2019-9-19 11:04:23 | 只看该作者
SF-12 V2(第二版本,目前常用)
9 B3 F2 u! p4 p& L: a
4 `9 [/ b1 c! ]。 N$ R6 x0 v! R$ [% y9 b" {
SF-36v2计分说明(2018APR19-Revised)
: g: {; a6 C$ @& ]
# d" C# `# K: }$ V- a8 v
2 [$ `  {6 l" tAdvantages of Norm-Based Scoring
7 K+ R5 i6 Z3 X% |8 r# Z: j+ e' K(NBS).pdf
% S% m( X% L1 T" O9 E: {' G+ i5 [' H
/ Q( y0 F3 W( MThe standard algorithm for deriving summary scores for the SF-12v2 relies on scoring coefficients developed for the SF-36v1. The SF-12v2 items are only a subset of the items in the corresponding SF-36 scales, and changes from SF-36v1 have been made in item wording and response scales.
/ v* d7 }% a' I3 d  G& l" \出处:. K: Z/ S: m2 j
- O0 o, ]9 k( i

6 r; o6 h# C: D( {4 Z2 E+ v+ cStata 实现,代码如下:& D3 f6 `, S  _
  1. //演示数据$ a- e  g7 O6 C3 t, h
  2. . input id i1 i2a i2b i3a i3b i4a i4b i5 i6a i6b i6c i72 E9 z% Y' ^$ D, \' O3 j
  3. 1 1 1 1 1 1 1 1 1 1 1 1 1
    6 ^" J9 |/ p; g- q6 t
  4. 2 1 1 3 3 3 3 3 3 3 3 3 3 / F7 ?3 Q4 f6 c5 e- J5 g3 b+ f6 ~* {
  5. 3 1 1 . 3 3 3 3 3 3 3 3 3: U+ K. ^0 S2 C! [
  6. 4 5 5 1 1 1 . . . . . . .' O9 {% [* H& [: u
  7. end0 z2 C1 g- T6 B8 ^
  8. . ssc install sf12, replace //安装第三方命令
    9 c' b+ z) |  b' r0 ?
  9. . sf12 i1 i2a i2b i3a i3b i4a i4b i5 i6a i6b i6c i7) ]8 ?2 C& j3 @8 i. s& Y
  10. . format pf-agg_ment %6.2f9 c2 f- w( V" V! J, C6 b
  11. . list id pf rp bp gh vt sf re mh agg_phys agg_ment, noobs
    5 n- h6 w2 A6 }' D  z$ T
复制代码

7 p- g) Q' i5 O  V$ V注意顺序:$ w  V; U* S, y6 g# E' s$ I$ p  S5 v/ Y
sf12 takes 12 variables in correct order (i1 i2a i2b i3a i3b i4a i4b i5 i6a i6b i6c i7), validate the variables with respect to sf12 requirements. Only rows that are correct are used for calculating the sf12 t scores.
9 ^5 z: |。 w- K* O* \9 j6 x
) w, B& L! g& e2 p: o。 P1 o出处:
7 P: z6 b; r  }2 _* O! e3 ?1 `: [6 g. }4 `2 X  f) _

; p6 ~* Q% _) U9 r/ Q0 o6 {8 H

Norm-based Scoring (NBS).pdf

101.21 KB, 下载次数: 0, 下载积分: 钢镚 -1 分

3#
epiman 发表于 2019-9-19 11:05:21 | 只看该作者
SPSS 实现,代码如下:/ ^6 F# S/ H* D/ w2 v* W4 I4 S
$ D  ?; P9 g& j- w; J# C
  1. *t2qf01=in general, would you say your health is=GH1 (General health)
    " }; _1 k  v, \0 d4 d$ {! _
  2. *t2qf02=moderate activities=PF02 (Physical Functioning)$ x" h* T- K# v
  3. *t2qf03=climbing several flights of stairs=PF04 (Physical Functioning)' d8 Y" u% d9 Z* \4 N8 B  V
  4. *t2qf04=accomplished less due than you would like=RP2 (Role-Physical)4 P  m4 r8 `2 y. N6 K. J
  5. *t2qf05=limited in kind of work or activities=RP3 (Role-Physical)
    ( v1 r4 U' g5 b; r3 u! V6 s& W& u
  6. *t2qf06=accomplish less than you would like=RE2 (Role-Emotional)2 o; `% \# }/ ~9 U
  7. *t2qf07=dont do work or other activities as carefully as usual=RE (RE3?) (Role-Emotional)
    # N9 t0 ~9 ~3 x* D5 v+ F4 H
  8. *t2qf08=how much did pain interfere with normal work=BP2 (Body Pain); V( P* `! J3 g" v6 k
  9. *t2qf09=how much time health interferes w/social activities=SF2 (Social Functioning)
    6 p3 i6 o。 @% s+ c1 A
  10. *t2qf10=calm and peaceful=MH3 (Mental Health)
    ) A- v2 n, g# a  Q' @* `
  11. *t2qf11=have a lot of energy=VT2 (Vitality)
    % o' P, ]# q' ~" @# ?6 }! O
  12. *t2qf12=downhearted and blue=MH4 (Mental Health)$ g% ?* _* {) z. I' S
  13. *************Short Form 12 (version 1): Ware JE, Kosinski M, and Keller SD A - 12-Item Short-Form Health
    8 r3 c$ K; B3 W, \2 O  [8 j( K6 j
  14. Survey: Construction of scales and preliminary tests of reliability and validity Medical Care, 1996;34(3):220-
    1 R# u" o" [* ?。 u3 n! T
  15. 233.
    + N0 J) `/ {% u
  16. *******Ware JE, Kosinski M, Keller SDSF-12: how to score the SF-12 physical and mental health summary
    2 K/ Z( F7 w/ q' _
  17. scales. 3rd edition. Lincoln (RI): QualityMetric Incorporated; 1998.$ I0 b1 w& R# Y8 a- z# G/ x+ G4 Y1 V7 l
  18. *********on-line scoring software, now available for SF-12v2.
    $ V9 V0 J! G" E3 y6 g5 P
  19. missing values t2qf01 to t2qf12 (997,998).4 t! u2 M  Y" a# b
  20. * Fra STEP 1: DATA CLEANING/ REVERSE SCORING.% }, a5 S# S; b4 H  z- [! q2 G! h
  21. RECODE t2qf01 (1=5) (2=4) (3=3) (4=2) (5=1) INTO t2qf01_a .
    9 c9 O  b2 K) v) s7 o
  22. RECODE t2qf08 (1=5) (2=4) (3=3) (4=2) (5=1) INTO t2qf08_a .: K5 Z1 P6 H4 Y: y. T$ d
  23. RECODE t2qf10 (1=6) (2=5) (3=4) (4=3) (5=2) (6=1) INTO t2qf10_a .
    : X0 |) J5 y1 u, Z7 h4 u5 W! G( I
  24. RECODE t2qf11 (1=6) (2=5) (3=4) (4=3) (5=2) (6=1) INTO t2qf11_a .* i, }# A7 W) ~0 }$ G2 W7 }
  25. * STEP 2: CREATE INDICATOR VARIABLES FROM ITEM RESPONSE CHOICES.
    * f# |( ?3 L" `8 U: {* P/ x
  26. *PF02..' h  ~6 _; t  @5 z# r1 R
  27. RECODE t2qf02 (MISSING=SYSMIS) (1=1) (ELSE=0) INTO PF02_1 .
    . `2 ~; U+ {/ n1 e0 f6 N
  28. RECODE t2qf02 (MISSING=SYSMIS) (2=1) (ELSE=0) INTO PF02_2 .7 n; [+ H0 ?  F2 Q2 h
  29. *PH04..5 z5 ~  b  x9 y) N" {  d
  30. RECODE t2qf03 (MISSING=SYSMIS) (1=1) (ELSE=0) INTO PF04_1 .: |; n4 ^& P4 o, g7 C
  31. RECODE t2qf03 (MISSING=SYSMIS) (2=1) (ELSE=0) INTO PF04_2./ b3 Z* |9 m& c1 {8 y
  32. *RP2..! m; t$ C6 f, t' z
  33. RECODE t2qf04 (MISSING=SYSMIS) (1=1) (ELSE=0) INTO RP2_1 .
    6 o# G5 b, N- b0 P: v  m; {9 Z. a
  34. *RP3..
    ) x  h/ u* O" X% v
  35. RECODE t2qf05 (MISSING=SYSMIS) (1=1) (ELSE=0) INTO RP3_1 .% T; E+ K' T# y
  36. *BP2..
    + `2 g( f+ R9 L
  37. RECODE t2qf08 (MISSING=SYSMIS) (1=1) (ELSE=0) INTO BP2_1 ." x9 w% g4 k" p7 h' v9 c7 k3 R
  38. RECODE t2qf08 (MISSING=SYSMIS) (2=1) (ELSE=0) INTO BP2_2 .* F7 t$ B  w/ E% x1 N* ]
  39. RECODE t2qf08 (MISSING=SYSMIS) (3=1) (ELSE=0) INTO BP2_3 .+ j! S! D) b, p3 Y
  40. RECODE t2qf08 (MISSING=SYSMIS) (4=1) (ELSE=0) INTO BP2_4 .9 K6 O% Z( K5 a  b5 o" h- H  F4 K
  41. *GH1..- C5 O  [8 _* a
  42. RECODE t2qf01_a (MISSING=SYSMIS) (1=1) (ELSE=0) INTO GH1_1 ." I" ^3 F/ K7 |, L2 g
  43. RECODE t2qf01_a (MISSING=SYSMIS) (2=1) (ELSE=0) INTO GH1_2 .
    , H, H; G! {+ _/ A
  44. RECODE t2qf01_a (MISSING=SYSMIS) (3=1) (ELSE=0) INTO GH1_3 .7 i8 @$ R! R3 G/ ^/ A% _" ?
  45. RECODE t2qf01_a (MISSING=SYSMIS) (4=1) (ELSE=0) INTO GH1_4 .- B9 ^0 m- Y$ Z! e5 g: E- ~
  46. *MH3..
    4 j& S! ?: \/ `6 q7 s/ S
  47. RECODE t2qf10_a (MISSING=SYSMIS) (1=1) (ELSE=0) INTO MH4_1 .' m% |. j- f$ [3 @& x5 D
  48. RECODE t2qf10_a (MISSING=SYSMIS) (2=1) (ELSE=0) INTO MH4_2 .
    3 o4 A. k+ X2 @. O; ^5 n) G2 i
  49. RECODE t2qf10_a (MISSING=SYSMIS) (3=1) (ELSE=0) INTO MH4_3 .) h% g+ v. u" X' u
  50. RECODE t2qf10_a (MISSING=SYSMIS) (4=1) (ELSE=0) INTO MH4_4 .
    " {" P/ `3 m0 O1 D
  51. RECODE t2qf10_a (MISSING=SYSMIS) (5=1) (ELSE=0) INTO MH4_5 ." `* J- ^7 B, I+ Z* s6 M: l
  52. *MH4..
    3 H2 t. i" k' ]1 @3 c$ U/ F
  53. RECODE t2qf12 (MISSING=SYSMIS) (1=1) (ELSE=0) INTO MH3_1 .0 ?( W. L  j7 w5 Y% l  ]1 p1 P* k
  54. RECODE t2qf12 (MISSING=SYSMIS) (2=1) (ELSE=0) INTO MH3_2 .
    ) Y" J, G8 g3 r$ e, H
  55. RECODE t2qf12 (MISSING=SYSMIS) (3=1) (ELSE=0) INTO MH3_3 .4 b9 U0 X7 J% A4 K* |
  56. RECODE t2qf12 (MISSING=SYSMIS) (4=1) (ELSE=0) INTO MH3_4 .% s- M  c$ [4 a9 V0 D% `
  57. RECODE t2qf12 (MISSING=SYSMIS) (5=1) (ELSE=0) INTO MH3_5 .
    # b% ~* }( I, \3 D& A
  58. *RE2..
    7 ]/ B  j; }  c9 j- g: g
  59. RECODE t2qf06 (MISSING=SYSMIS) (1=1) (ELSE=0) INTO RE2_1 .
    ; A/ ^' L# r2 q8 K! r9 `" M
  60. *RE3..5 @$ \9 I  X6 E2 E5 w
  61. RECODE t2qf07 (MISSING=SYSMIS) (1=1) (ELSE=0) INTO RE3_1 .9 l6 f, M! d2 G" @8 o: e
  62. *SF2..
    6 t/ G& S0 s) T: q) r, M+ R
  63. RECODE t2qf09 (MISSING=SYSMIS) (1=1) (ELSE=0) INTO SF2_1 ./ U( ]+ N4 @- a: `" B, {/ T
  64. RECODE t2qf09 (MISSING=SYSMIS) (2=1) (ELSE=0) INTO SF2_2 .
    ' `" h9 _; q1 n& o$ `
  65. RECODE t2qf09 (MISSING=SYSMIS) (3=1) (ELSE=0) INTO SF2_3 .6 U: z5 v5 t* `1 M; G
  66. RECODE t2qf09 (MISSING=SYSMIS) (4=1) (ELSE=0) INTO SF2_4 .3 C+ |( H2 @" O3 {+ q! k* |" k
  67. *VT2..
    3 l" q: E& R. X" U3 x
  68. RECODE t2qf11_a (MISSING=SYSMIS) (1=1) (ELSE=0) INTO VT2_1 .' @  Z& L4 w& e0 o
  69. RECODE t2qf11_a (MISSING=SYSMIS) (2=1) (ELSE=0) INTO VT2_2 .
    0 Z9 d. ~& M+ V; \
  70. RECODE t2qf11_a (MISSING=SYSMIS) (3=1) (ELSE=0) INTO VT2_3 .
    % Q3 j. Q/ R6 Y$ h+ {7 M- o. c
  71. RECODE t2qf11_a (MISSING=SYSMIS) (4=1) (ELSE=0) INTO VT2_4 .
    % R6 T7 g! o" G, J* `
  72. RECODE t2qf11_a (MISSING=SYSMIS) (5=1) (ELSE=0) INTO VT2_5 .
    1 n! Q' v6 @* J/ i4 B& |7 Z% e
  73. execute.
    5 @4 O" b7 \' x
  74. * STEP 3: WEIGHTING AND AGGREGATION OF INDICATOR VARIABLES USING PHYSICAL AND
    6 X8 O% w0 J- N1 A, A0 T: u
  75. MENTAL REGRESSION WEIGHTS *.8 L. H: X& S- j6 T. F+ ~1 ^1 }! t
  76. COMPUTE prePCS12RAW = (-7.23216*PF02_1) + (-3.45555*PF02_2) +
    7 K8 Y: [7 c% S* M  C
  77. (-6.24397*PF04_1) + (-2.73557*PF04_2) + (-4.61617*RP2_1) +1 c5 u  r* K: r5 L+ u! t
  78. (-5.51747*RP3_1) + (-11.25544*BP2_1) + (-8.38063*BP2_2) +: W- R$ \' b8 Y1 M' X
  79. (-6.50522*BP2_3) + (-3.80130*BP2_4) + (-8.37399*GH1_1) +3 r0 y4 T- f5 p, X; X
  80. (-5.56461*GH1_2) + (-3.02396*GH1_3) + (-1.31872*GH1_4) +
    3 d7 V6 O) e7 k' t
  81. (-2.44706*VT2_1) + (-2.02168*VT2_2) + (-1.6185*VT2_3) +
    9 p  I# ^+ z/ o0 }! l2 x5 T
  82. (-1.14387*VT2_4) + (-0.42251*VT2_5) + (-0.33682*SF2_1) +
    4 Z: Z2 p. X9 v) {' u* `7 w
  83. (-0.94342*SF2_2) + (-0.56193*SF2_3) + (-0.18043*SF2_4) +
    4 Z! W, n0 \6 m/ S2 V2 V( s) {2 r& u
  84. (3.04365*RE2_1) + (2.32091*RE3_1) + (3.46638*MH3_1) +
    / G. H" |: t- s8 j" I7 E4 I& Z
  85. (2.90426*MH3_2) + (2.37241*MH3_3) + (1.36689*MH3_4) +' i3 e3 K0 o% G
  86. (0.66514*MH3_5) + (4.61446*MH4_1) + (3.41593*MH4_2) +; Q! ]3 ?; Z" ]& M4 E$ c$ i) w
  87. (2.34247*MH4_3) + (1.28044*MH4_4) + (0.41188*MH4_5) .1 g) C  }3 L: i1 i$ j3 v
  88. execute.
    : f, z3 q2 u4 x+ W
  89. COMPUTE preMCS12RAW = (3.93115*PF02_1) + (1.8684*PF02_2) +, [6 G( W6 A2 ^9 {
  90. (2.68282*PF04_1) + (1.43103*PF04_2) + (1.4406*RP2_1) +0 |9 ~" Q) t2 M1 k" R1 A! q- V% d
  91. (1.66968*RP3_1) + (1.48619*BP2_1) + (1.76691*BP2_2) +% c; c" w' _, [% p# O0 H
  92. (1.49384*BP2_3) + (0.90384*BP2_4) + (-1.71175*GH1_1) +
    ' X  w4 W3 m5 m2 K4 ]
  93. (-0.16891*GH1_2) + (0.03482*GH1_3) + (-0.06064*GH1_4) +4 F- O0 r* k- Z5 ?$ J* I
  94. (-6.02409*VT2_1) + (-4.88962*VT2_2) + (-3.29805*VT2_3) +1 @' q& D) A$ v5 C3 X. E) B( A- r
  95. (-1.65178*VT2_4) + (-0.92057*VT2_5) + (-6.29724*SF2_1) +
    6 E/ G4 k2 r- r3 f( g% ]& P9 j% R& _
  96. (-8.26066*SF2_2) + (-6.94676*SF2_3) + (-5.63286*SF2_4) +; N9 E8 w0 h0 L# s: H) v) ?& F
  97. (-6.82672*RE2_1) + (-5.69921*RE3_1) + (-10.19085*MH3_1) +
    : P1 i$ S& ]6 g! }- d" }4 f( y/ a
  98. (-7.92717*MH3_2) + (-6.31121*MH3_3) + (-4.09842*MH3_4) +* K6 E( P) \0 h& P0 m" A, l/ d, Y
  99. (-1.94949*MH3_5) + (-16.15395*MH4_1) + (-10.77911*MH4_2) +
    ) G) X8 B& b+ ], I2 O5 o
  100. (-8.09914*MH4_3) + (-4.59055*MH4_4) + (-1.95934*MH4_5) .# \- j' \& A* S
  101. * STEP 4: NORM-BASED STANDARDIZATION OF SCALE SCORES .3 y' \1 y, e& m8 w/ j0 M
  102. COMPUTE PCS12 = prePCS12RAW + 56.57706 .2 J% v; O7 i) t5 m: X
  103. COMPUTE MCS12 =preMCS12RAW + 60.75781 .# y( h/ u* C/ O4 W7 o1 H/ ], K# x
  104. EXECUTE.' o: r0 s/ g. W5 @: l  d# h
  105. var lab PCS12 'SF-12 norm-based standardization physical health'.5 `6 s% O! T# |
  106. var lab MCS12 'SF-12 norm based standardization mental health'.8 \5 n$ U5 J6 P5 B
  107. EXECUTE.
复制代码

$ n; ?; V) a9 ?0 J" z/ R0 I+ c
( v6 w2 e& R; z  t" p# U6 r; N: D出处:
+ I& x9 r; ^$ q8 l% W6 I
4#
epiman 发表于 2019-9-19 11:11:11 | 只看该作者
SAS实现,代码如下:$ z% a  Q/ m  |- P

, ~3 V* E' T$ T。 P& V9 V) `
  1. OPTIONS LS=132 PS=53 NOCENTER;
    8 P( X$ Z; b6 Z8 o" c5 I, y# x9 g6 L
  2. 0 \. l4 V& @9 c; k: N& d4 X
  3. *****************************************************************;' v8 N3 F  J% y# N
  4. * SF12V2-1.SAS
    + Y8 x7 H  v+ b( h4 M! ]! b
  5. * SAS CODE FOR SCORING 12-ITEM HEALTH SURVEY VERSION 2.0
    3 y) E" Z; ]/ g( a) ^; i- p1 p
  6. * WRITTEN BY K. SPRITZER, 6/23/2003
    " }; v$ W# X( g, U
  7. * MODIFIED: 6/28/2004
    ) ]# K: P% ]7 p$ G
  8. *****************************************************************;: x& J: s' l+ M* t! ^2 e
  9. 6 @5 E% U+ K% C& z5 {* i6 \/ C4 O2 L9 p
  10. /* INPUT TEST DATA */
    ( F4 ?4 ^2 F& O9 s. y# N
  11. /* INCLUDES SOME OUT OF RANGE DATA FOR TESTING */- ^! t% k5 U) O2 u8 i4 b+ M/ V
  12. DATA TEMP1;
    5 x; R5 @  [5 j% I  h6 x
  13. INPUT I1-I12;
    : D% D: d+ g: a
  14. CARDS;  ?+ r; `* y( W! o7 R$ E7 x: I
  15. 1 1 1 1 1 1 1 1 1 1 1 17 t- E8 U$ g% c% J' z( B3 d& k
  16. 1 1 3 3 3 3 3 3 3 3 3 3
    ; @5 \0 l& F, ?( P5 L
  17. 1 1 . 3 3 3 3 3 3 3 3 38 F6 P. u8 z+ C% Y) b4 S
  18. 5 5 1 1 1 . . . . . . .2 r& g" e# u% `* R9 [/ A' ]5 U
  19. ;- Y. Z5 _: L, S# L; U, ]- o8 }( e
  20. RUN;
    # h, }4 ~8 {+ `- x! I5 X

  21. . I, V( K2 o0 y) z. Y6 b5 D
  22. DATA TEMP1;2 A4 M# D/ ?& W& e4 b! b& w
  23. /** RENAME ITEMS TO CONFORM TO SURVEY **/4 L# J& d1 v# `9 x
  24. SET TEMP1(RENAME=(
    ' o! h; P9 g. Y/ ]0 x
  25. I1  =I1
    5 |- V2 C" j8 {3 l& z/ Q# l。 R
  26. I2  =I2A
    : S  \+ R) t+ I; {+ N2 s
  27. I3  =I2B9 b( f. w8 r  R  Y/ |
  28. I4  =I3A
    # z  f2 P% G2 `( n
  29. I5  =I3B
    + Z- f: k! |) w. e& A3 f5 P
  30. I6  =I4A
    ! i8 [5 \; Z4 W! K0 P5 F. `
  31. I7  =I4B
    / E& ?! r& K) \* g
  32. I8  =I5
    ! w2 a, `* J4 e9 y' X# E( a
  33. I9  =I6A
    2 _! t0 r+ \6 b) ^7 I2 C: c) _
  34. I10 =I6B
    # X# e6 v% M; K/ n: J, P
  35. I11 =I6C
    ' l' d* }/ E8 D0 F- S4 B
  36. I12 =I7));5 H  I- L, U( y4 n7 x& T
  37. RUN;
    4 w7 p7 B) n9 f$ o; P0 m& @; ^
  38. *****************************************************************;
    $ F; t( I& }5 M1 R8 R! g
  39. ** CODE OUT-OF-RANGE VALUES TO MISSING;) V+ C; B- P0 k  ^: ?
  40. *****************************************************************;
    2 R, G1 `2 J. h" ]$ c) m* h# r
  41. DATA TEMP1; SET TEMP1;
    " n5 w4 \6 h8 e& F* P  G2 }
  42. % d, z, g; T; Q7 ?; M
  43. ARRAY PT5 I1 I3A I3B I4A I4B I5 I6A I6B I6C I7;
    $ w, T6 l( d( q- `1 {, ^! T3 ]
  44. DO OVER PT5;, A4 [! q0 w* a# H. `
  45. IF PT5 NOT IN (1,2,3,4,5) THEN PT5=.;5 K' _0 J( y6 ^; O. u
  46. END;
    $ E+ r7 o* `2 [0 R

  47. ! s8 G& c  w  D2 h6 A3 @
  48. ARRAY PT3 I2A I2B;8 G: P6 Y5 a1 j! b( w; w- \6 Y
  49. DO OVER PT3;% O/ D) v' V! f, N2 M' R
  50. IF PT3 NOT IN (1,2,3) THEN PT3=.;
    * M& \6 Q0 l$ l( z6 B% ^
  51. END;
    2 A& T5 i5 J, d9 U; v3 K* D, P
  52. RUN;
    $ g# A& p! c9 s, r: }% X
  53. ***************************************************************************;
    2 ^: G/ W3 ]! k. H$ M6 i

  54. " R- s* A+ N' u" o# d( g1 C0 \) z
  55. ***************************************************************************;2 G! O/ Q. m5 \- }
  56. DATA TEMP1; SET TEMP1;
    / I# [( f* C7 k! C3 g9 r。 X
  57. ***************************************************************************;( J9 M! `  A* `  H$ Y( @
  58. ** WHEN NECESSARY, REVERSE CODE ITEMS SO A HIGHER SCORE MEANS BETTER HEALTH;
    ( S* Q: y3 Z4 X" q! g
  59. ***************************************************************************;# W" l% I; W, J8 b6 d0 ~8 D& ^0 C
  60. IF I1=1 THEN I1=5.0; ELSE
    6 g( g* f4 k  q5 f7 R" a4 h/ a  R
  61. IF I1=2 THEN I1=4.4; ELSE
    - i, m2 X* W# J0 V1 U
  62. IF I1=3 THEN I1=3.4; ELSE9 u; j) b, x7 ^3 b  T7 G
  63. IF I1=4 THEN I1=2.0; ELSE
    & b5 C7 P8 j: }) B, Q3 q0 ]0 W
  64. IF I1=5 THEN I1=1.0;2 `/ L8 d5 h2 z: o) I' `3 w+ Q
  65. ; D0 c2 \' k1 f3 V' w' m
  66. I5=6-I5;
    7 A+ S# u2 y; a' f# X; E
  67. I6A=6-I6A;
    % |' w  s, c5 ]4 F9 s
  68. I6B=6-I6B;2 n8 ?6 G2 m0 k3 N

  69. * G/ R6 X& F3 e5 t5 l
  70. ** CREATE SCALES;
    9 m% n: Y+ |1 S0 v8 j2 n  Y
  71. * o5 d  Y3 Q. O5 A/ s; t" F
  72. PF=I2A+I2B;; T$ C9 I+ y  ~* l
  73. RP=I3A+I3B;
    # I( b' B2 |, u9 d8 f
  74. BP=I5;9 h- C/ t( V1 C$ I; a
  75. GH=I1;* W$ x- y  P2 u7 z) Q7 W
  76. VT=I6B;% S! I/ q& ^, L7 j+ X
  77. SF=I7;" Y9 S" P6 A% `7 r4 t2 q
  78. RE=I4A+I4B;! Y2 S8 E0 T: o& Y2 K( m0 d6 {
  79. MH=I6A+I6C;+ S0 R4 g: i0 L1 p" X6 u
  80. " ^( j4 ~+ c! c2 L9 Z: a4 M; I) c+ @$ O
  81. PF=100*(PF-2)/4;. F+ K. w& S  e; S* [7 ?% k: J. i
  82. RP=100*(RP-2)/8;7 l' x2 P3 |2 ?* l
  83. BP=100*(BP-1)/4;
    - R  c& L1 o" A. M" b$ U$ _- L% p. K
  84. GH=100*(GH-1)/4;0 B& r) Y, N* d( d0 Z
  85. VT=100*(VT-1)/4;: F9 `6 v5 ]: @3 x8 }( j! f. P3 W
  86. SF=100*(SF-1)/4;
    : A' d4 x3 h; M1 n  j
  87. RE=100*(RE-2)/8;; E/ N0 f6 r$ C
  88. MH=100*(MH-2)/8;& N- b/ v. ^) L0 U$ s
  89. 8 p9 h5 G8 f) \2 y
  90. RUN;
    ) f" r9 j3 I8 j" X
  91. 9 N8 o+ O8 |. L( ?6 P( g
  92. DATA TEMP1; SET TEMP1;/ X+ R5 q2 \2 u& h5 B' g) [% k: T! ?
  93. 7 M# H0 X3 x( \' H: _% J- e
  94. *** 1) TRANSFORM SCORES TO Z-SCORES; ******* ;& b2 c: g/ M) |( y6 a
  95. ***    US GENERAL POPULATION MEANS AND SD'S ARE USED HERE ******* ;
    7 t0 Z7 |6 l& |
  96. ***    (NOT AGE/GENDER BASED) *********************************** ;
    5 l( A4 [5 @& B* C0 c: k$ A
  97. ! }& R: i; B. T) y4 T
  98.   PF_Z = (PF - 81.18122) / 29.10588 ;
    . V/ u7 e9 M/ X+ c) {
  99.   RP_Z = (RP - 80.52856) / 27.13526 ;
    . f; g( ^3 y" J- C. \# p1 B
  100.   BP_Z = (BP - 81.74015) / 24.53019 ;$ {; f' p5 K' H& U& ^  H, j
  101.   GH_Z = (GH - 72.19795) / 23.19041 ;' y- a4 N# C( A: f, i
  102.   VT_Z = (VT - 55.59090) / 24.84380 ;
    0 F( V3 i% ^1 z: z* `& X
  103.   SF_Z = (SF - 83.73973) / 24.75775 ;2 L. L* b* N: b4 }
  104.   RE_Z = (RE - 86.41051) / 22.35543 ;/ J1 h3 k" v% B$ ~* a
  105.   MH_Z = (MH - 70.18217) / 20.50597 ;6 T% r" W. U) T* ^- p1 q# @& ^
  106. ( f4 w2 o/ s, f  y6 I
  107. *** 2) CREATE PHYSICAL AND MENTAL HEALTH COMPOSITE SCORES: **********;, L- `# Y) a  w- @0 g/ a
  108. ***    MULTIPLY Z-SCORES BY VARIMAX-ROTATED FACTOR SCORING **********;# m! R$ A5 ~7 Q. r' K- G6 X) S7 X2 Z
  109. ***    COEFFICIENTS AND SUM THE PRODUCTS ****************************;# E9 g, X" \& S$ l9 Q2 s
  110. , ^, C* |( o! m
  111.   AGG_PHYS = (PF_Z * 0.42402) +4 k! |9 _. }. Z/ H9 A7 c4 o& p
  112.               (RP_Z * 0.35119) +& M/ r7 n! ?7 B
  113.               (BP_Z * 0.31754) +3 `( k) N) j$ c4 J+ E0 U
  114.               (GH_Z * 0.24954) +
    ! @9 }" F3 D8 L7 Y# k1 E
  115.               (VT_Z * 0.02877) +
    2 h  u; }2 S5 `8 A
  116.               (SF_Z * -.00753) +
    * n2 F# n( Y; y4 [+ l9 c
  117.               (RE_Z * -.19206) +
    % O/ p) w0 e% I
  118.               (MH_Z * -.22069) ;
    ; O- j3 B% d4 c; z' F

  119. $ y2 B& \1 \( U" d4 e  `/ E% F
  120. 5 }8 ?3 T; v' e2 y7 e6 E) N
  121.   AGG_MENT = (PF_Z * -.22999) +  ]$ a- _/ G: h' x& A" }
  122.               (RP_Z * -.12329) +" U9 @9 L* I! H' l' j
  123.               (BP_Z * -.09731) +8 p- ?6 K% [$ N1 ]7 m! F5 s; Q
  124.               (GH_Z * -.01571) +- x  j) Q, t) E* k9 X/ a  }/ q
  125.               (VT_Z * 0.23534) +7 d4 j# G2 I: u% L: w
  126.               (SF_Z * 0.26876) +
    # J- o) s: v' N4 R7 T
  127.               (RE_Z * 0.43407) +; P2 `9 u% ?6 V' r2 r3 G
  128.               (MH_Z * 0.48581) ;" u) j; {  Q& q1 P  F% u# Z

  129. 4 v- C# x  D, y# d
  130. *** 3) TRANSFORM COMPOSITE AND SCALE SCORES TO T-SCORES: ****** ;* B5 W; @' T9 L; k7 k5 |+ d

  131. , ?' m! V) C6 N。 E
  132.   AGG_PHYS = 50 + (AGG_PHYS * 10);  s5 b4 ^: j- P; b- P
  133.   AGG_MENT = 50 + (AGG_MENT * 10);( g! k1 W# T/ ]

  134. ' M" }/ w  b7 d3 c  d: r) j# ~# V# T
  135.   LABEL AGG_PHYS="NEMC PHYSICAL HEALTH T-SCORE - SF12";. @3 }- g, f/ W5 @# U& s% x) A9 Q& d: b
  136.   LABEL AGG_MENT="NEMC MENTAL HEALTH T-SCORE - SF12";5 Y7 o: I  Y9 B1 R7 x* L# \

  137. 7 P# L4 \" N" C5 T$ Q- l$ R, T
  138.   PF_T = 50 + (PF_Z * 10) ;4 x1 ~2 O8 x- N9 A4 S: R
  139.   RP_T = 50 + (RP_Z * 10) ;
    ) D7 S5 Q5 V; o4 \
  140.   BP_T = 50 + (BP_Z * 10) ;
    7 ?; l/ h5 s2 M- V
  141.   GH_T = 50 + (GH_Z * 10) ;
    5 m' {  C: b( B* M
  142.   VT_T = 50 + (VT_Z * 10) ;& s6 ~  r% e  G, q) m' ?! [
  143.   RE_T = 50 + (RE_Z * 10) ;
    " A: c& y# x- K  q! m6 h
  144.   SF_T = 50 + (SF_Z * 10) ;# h1 z' n2 I# {; h* s7 h6 g
  145.   MH_T = 50 + (MH_Z * 10) ;) l6 w7 A5 x7 G3 M8 S

  146. ) [. @4 [; D; _4 Z4 W
  147.   LABEL PF_T="NEMC PHYSICAL FUNCTIONING T-SCORE";
    9 h0 A$ J9 p6 {- O- U& v
  148.   LABEL RP_T="NEMC ROLE LIMITATION PHYSICAL T-SCORE";
    - ~  F! a, |4 v! l% z8 H8 {% l
  149.   LABEL BP_T="NEMC PAIN T-SCORE";. y' Z5 Z5 g( s% C4 [
  150.   LABEL GH_T="NEMC GENERAL HEALTH T-SCORE";
    $ E" ^; l3 d: f2 t) t6 |1 H& B
  151.   LABEL VT_T="NEMC VITALITY T-SCORE";) }2 V, ^: m! v: q  M) ]3 k
  152.   LABEL RE_T="NEMC ROLE LIMITATION EMOTIONAL T-SCORE";
    ) M: T  j" @9 r6 A
  153.   LABEL SF_T="NEMC SOCIAL FUNCTIONING T-SCORE";1 L) S# w9 I  [6 H
  154.   LABEL MH_T="NEMC MENTAL HEALTH T-SCORE";
      t' _; m$ O4 f7 M8 l9 L

  155. " W% h9 G# D2 T- J1 W8 l3 c5 {
  156. RUN;/ N  A; ]7 x; R/ L2 h; t4 ^
  157. 3 j1 ^! A0 L1 k2 d- h7 y/ z7 A& t$ [
  158. /* TEST PRINTS */
    - e5 c8 ^, r; f。 g0 f: B
  159. /*
    % t6 r4 r" n; o' {
  160. PROC PRINT DATA=TEMP1;% E& ?' D( T1 J7 k& D
  161. VAR PF PF_T
    ; v3 R. x: y! N" M) ]
  162.     RP RP_T" t  p% p* y% Z
  163.     BP BP_T
    & b& O) a7 f1 k& H4 m$ v
  164.     GH GH_T
    ! K: B4 L/ j4 K, x, X. W
  165.     VT VT_T  l9 b% ?3 V* G6 \$ {
  166.     SF SF_T
    3 ~! f; \6 m/ c2 L
  167.     RE RE_T
    - y: o- M8 g3 T
  168.     MH MH_T
    $ k8 ]0 x5 D  n9 q
  169.     AGG_PHYS AGG_MENT;
    : x. q0 p. i$ a8 g' p1 H, N  U
  170. FORMAT2 e! v7 a3 g( e! i% B
  171.     PF PF_T
    : g3 @8 \' W/ [  q( K/ I1 B
  172.     RP RP_T
    " C% c: Q% t1 n4 i# _' A  l3 g
  173.     BP BP_T$ z) w2 }) k: v' k
  174.     GH GH_T, `" o# @) N1 z* h" ]
  175.     VT VT_T; O4 D9 ~) w4 W) R) i, f, T6 `
  176.     SF SF_T
    9 w( W9 u7 z7 G/ A7 @
  177.     RE RE_T2 I4 w$ f) ~% A; V1 F
  178.     MH MH_T2 Q; h" K' F2 [* d0 ?0 D9 S- j: x; B
  179.     AGG_PHYS AGG_MENT 6.2;
    ) _- F( E4 D# m) h! {
  180. RUN;2 R& m* }6 s: K
  181. */
    4 }! |& M: ?# A- G$ g
  182. # g* ?" k1 m' F; s8 m( D' @* h
  183. TITLE1 "SF12 V2 - OVERALL DESCRIPTIVE STATISTICS ON SCALE SCORES"; RUN;) x3 g6 R" G" C: }' K4 M
  184. PROC MEANS DATA=TEMP1;
    9 G5 k8 `3 ?* I2 T: Y& |
  185. VAR PF PF_T
    6 ?$ [/ U" k7 A: }- N
  186.     RP RP_T
    9 J5 M9 |1 s. L& N1 l; L
  187.     BP BP_T; b$ n/ m% e+ |! `& h2 P& I" E
  188.     GH GH_T
    , ?( @( Z8 d  ]+ i, L9 T$ L% \4 k
  189.     VT VT_T
    ; g. O! Y" r2 j2 @, ^2 v  p) g
  190.     SF SF_T
      D8 o。 B: W( T- f, t& m
  191.     RE RE_T2 {" _' e7 f, r9 F; X
  192.     MH MH_T5 @* N! C6 I: q4 ]; P6 y
  193.     AGG_PHYS AGG_MENT;; F2 x1 {9 b. O1 n+ x( c0 Q
  194. RUN;
复制代码
3 I, x$ x9 B" p4 N2 s3 ?3 }" D
1 D3 l2 L; T/ ]; ^
出处:) d1 ]( c3 m9 M: d1 |7 x9 x
2 A: {! `- ^& Z6 f" ~
5#
epiman 发表于 2019-9-19 11:33:24 | 只看该作者
QualityMetric Health Outcomes Scoring Software 2 实现,没用过
7 Q* I* l( f6 S0 O  s! j4 Y/ S4 }1 i3 G! F* Z
To calculate the PCS-12 and the MCS-12 scores we used the QualityMetric Health Outcomes Scoring Software 2. The software uses all the 12 items to produce scores for the PCS-12 and the MCS-12 and applies a norm-based scoring algorithm empirically derived from the data of a US general population survey [24]. It has been recommended that the US-derived summary scores, that assume a mean of 50 and a standard deviation (SD) of 10, be used in order to facilitate cross-cultural comparison of results [2,4]. In theory the possible scores for the PCS-12 and the MCS-12 could be ranged from 0 (the worst) to 100 (the best).# i: x4 t9 O% L2 ^$ X$ y2 o0 r, C
0 h/ |4 Q+ e7 w2 ^
出处:
6#
 楼主| 程梦娇 发表于 2019-9-28 19:55:56 | 只看该作者
本帖最后由 程梦娇 于 2019-9-28 20:06 编辑 7 R3 F6 [; g" u( Z$ E0 }5 Z- n
* d! w" k* J0 o
您好,非常感谢您发了这么多解答,可否发一下SF-12V2版本的PCS和MCS的计算方法或者软件,我在公卫人网词条里看到/ H) x: _' X" ^& N
        generate PF=I2A+I2B+ d! Y  J8 B  ^7 ]/ L2 z4 L% _
        generate RP=I3A+I3B. ~8 |0 A: }- U
        generate BP=I52 [- r: |- U& k, t" s
        generate GH=I1
- `9 C4 V0 ^% q: t+ b0 Y; m        generate VT=I6B6 C4 ]) {5 n: S/ o' _+ |' I& f! r
        generate SF=I7
; P. `. G; G& m0 U9 X        generate RE=I4A+I4B" c- K2 f  y6 E+ ^( o
        generate MH=I6A+I6C
% W* n) k5 O, b0 H) v       
  o* t  }8 c9 l) g6 j        replace PF=100*(PF-2)/4
4 `* y; Z* E5 {4 q6 E' k/ ^6 J        replace RP=100*(RP-2)/8
6 I- ]6 w' R+ t。 p! B  d* M        replace BP=100*(BP-1)/42 ?' h) }3 M! }8 h8 F
        replace GH=100*(GH-1)/4
9 Q- u/ \4 y& f( ]9 k& k% M        replace VT=100*(VT-1)/4
% X* ^$ A' s+ ?2 S$ r2 g        replace SF=100*(SF-1)/4' J8 Y, @3 E) t7 r: q6 v$ \1 R5 `
        replace RE=100*(RE-2)/84 R# _& M# T- u& ]  E
        replace MH=100*(MH-2)/8
; r9 E# k& G2 `% ]$ @9 A       
, M4 z  s8 Z/ j        // 1) Transform scores to Z-scores
9 P6 i5 J9 Q6 i        //    US general population means and sd are used here
1 Y" X, W9 ]) L: D' {, j! e' b        //    (not age/gender based)
  t, o; M' O4 M& `9 d% A              5 W3 ^1 |' P$ f: p
           generate PF_Z = (PF - 81.18122) / 29.10588
" g: R5 C: a% e7 \$ L: i           generate RP_Z = (RP - 80.52856) / 27.13526 4 |7 f5 L* ?: r1 ~, N( f
           generate BP_Z = (BP - 81.74015) / 24.53019
* L1 L5 r$ N8 I1 y/ H6 }: H           generate GH_Z = (GH - 72.19795) / 23.19041
/ K1 E  w; s+ }4 ~& w           generate VT_Z = (VT - 55.59090) / 24.84380 ! M6 w, D* h$ H& a+ O2 H
           generate SF_Z = (SF - 83.73973) / 24.75775
* L% h: }0 V# g  j5 g" k/ J( T7 ^: R           generate RE_Z = (RE - 86.41051) / 22.35543 9 M/ z; W# M3 ^
           generate MH_Z = (MH - 70.18217) / 20.50597 4 |  y. e1 z" U+ \* Z! n9 i
           . r; h5 `6 r" g. Y) m! S
           // 2) Create physical and mental health composite scores: ; ]+ ~1 }; u, s0 j! F- ^* Y
        //    multiply z-scores by varimax-rotated factor scoring , h& D8 o# [( _1 E6 s
        //    coefficients and sum the products ; _' |" p  a7 Y* u
       
; y0 T9 o$ s6 ^        generate AGG_PHYS = (PF_Z * 0.42402) + ///, e5 s- n) }6 J0 M: V4 D5 k- a
                      (RP_Z * 0.35119) + ///
! ?( E' p1 y$ P: C  U                      (BP_Z * 0.31754) + ///( `* a6 Z! o# ?8 v/ k% l! I, q
                      (GH_Z * 0.24954) + ///! P* G5 W6 m' [
                      (VT_Z * 0.02877) + ///
/ e: O  F9 p9 u0 j/ G# _* i                      (SF_Z * -.00753) + ///
8 S5 R: d3 k- ~1 ~                      (RE_Z * -.19206) + /// - e) @1 P, Y1 G
                      (MH_Z * -.22069) + }8 X5 K4 d6 F4 Q- u8 [: L- g
                      5 d# u, ~) v! _7 d6 {% e9 t1 t& m
                      - i2 N8 s, `: `! U: |$ g5 n
        generate AGG_MENT = (PF_Z * -.22999) + ///
; b* a2 V4 i4 ]; e( _1 K% ]( Y) N# c                      (RP_Z * -.12329) + ///
, y6 A; |! E7 V1 x2 h' X2 s。 W3 l                      (BP_Z * -.09731) + ///) P2 a7 |( Y$ e- }
                      (GH_Z * -.01571) + ///* A! c+ F) P# f' C+ }2 V3 x
                      (VT_Z * 0.23534) + ///: |1 }& ~4 c5 o. }* M
                      (SF_Z * 0.26876) + ///
+ x: c# G" Q+ O* [+ k& R                      (RE_Z * 0.43407) + ///
- A& N' o: Z+ F  J4 I                      (MH_Z * 0.48581) 0 u. S+ U" ]  L$ U  O4 Q: O4 P
这个过程可以计算出PCS和MCS吗
7#
epiman 发表于 2019-9-28 21:39:33 | 只看该作者
程梦娇 发表于 2019-9-28 19:55# L8 `. {6 g2 y! f
您好,非常感谢您发了这么多解答,可否发一下SF-12V2版本的PCS和MCS的计算方法或者软件,我在公卫人网词条 ...

  O8 M  I! b# t6 f8 r四种方法都可以计算啊。" I, m2 {  x2 r0 i! G( q. _
SAS、SPSS和Stata但凡你会一种仔细看对应的代码即可,命令不都有详细的注释么?4 E1 L6 q- w; |" R2 E! E' ?7 x

! k; K8 f4 |/ f% @以下的链接或许更直观些。
; M7 E; V  A, O$ i- m; C
$ l* ?: a3 P# ]- o4 w0 t
  E- t& |; m3 r' g2 {) [3 s, B. N" w1 x, K$ V1 Y
* t' }1 ?( P& m# v$ A
或者你多搜索,搜索相关的硕士、博士毕业论文,里面的方法和过程会更详尽。( `8 G7 d) X3 n7 f6 Q
8#
小竹英雄 发表于 2019-10-4 22:19:38 触屏版 | 只看该作者
大强了吧!谢谢楼主来自: Android客户端
9#
 楼主| 程梦娇 发表于 4 天前 | 只看该作者
非常谢谢您,我懂了
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

提现|充值|至尊会员||公卫人 ( )

GMT+8, 2019-10-15 07:33 , Processed in 0.185814 second(s), 36 queries , Gzip On.

Powered by X3.4

© 2001-2017

快速回复 返回顶部 返回列表
有什么平台可以玩极速赛车 葡京彩票计划群 玩极速赛车有什么诀窍 河北快3基本走势 v8彩票计划群 彩16彩票计划群 728彩票计划群 极速赛车太假 山东群英会手机版 山东群英会规则