-------------
      name:  <unnamed>
       log:  /Users/robertyaffee/Documents/data/chwk/reliabilities/reliabilities/interim/Reliabilities/HP/HPBSIRel.smcl
  log type:  smcl
 opened on:   4 Oct 2011, 03:18:39

. set more off

. cd /Users/robertyaffee/Documents/data/chwk/reliabilities/reliabilities/interim/Reliabilities/HP
/Users/robertyaffee/Documents/data/chwk/reliabilities/reliabilities/interim/Reliabilities/HP

. use interimdata, clear

. * use mhscales1, clear
. display c(current_date)
 4 Oct 2011

. display c(current_time)
03:18:39

. local date c(current_date)

. local cwd c(pwd)

. local user "robert yaffee"

. local fn c(filename)

. local time c(current_time)

. local mem c(memory)

. local cs csflfrnd

. display "robert a. yaffee ","on",`date'," at ",`time',"is using",`fn'," in ",`cwd'
robert a. yaffee  on  4 Oct 2011  at  03:18:39 is using interimdata.dta  in  /Users/robertyaffee/Documents/data/chwk/reliabilities/reliabilities/interim/Reliabilities/HP

. display "   to perform this mental health scale analysis."
   to perform this mental health scale analysis.

. display " the amount of memory used was ", %20.8f `mem'," bytes."
 the amount of memory used was     33554432.00000000  bytes.

. display  "_______________________________________________________________"
_______________________________________________________________

. display  "reliability of scales for males and females and for all"
reliability of scales for males and females and for all

. ******************************************************************************
. *
. *
. *   current health profile tabulation analysis  part 1
. *******************************************************************************
. local hpvars "hptired-hpprovac"

. local hpcount = 0

. foreach var of varlist `hpvars' {
  2.    local ++hpcount
  3.    display "`var'","= hp",`hpcount'
  4.    }
hptired = hp 1
hppainit = hp 2
hpgtdwn = hp 3
hpunpain = hp 4
hpslepil = hp 5
hpnojoy = hp 6
hponedge = hp 7
hpcngpos = hp 8
hplonely = hp 9
hpwlkinr = hp 10
hpnobend = hp 11
hpalefrt = hp 12
hpwkgrly = hp 13
honowlk = hp 14
hphrdcnt = hp 15
hpdaydrg = hp 16
hpstairs = hp 17
hphrdrch = hp 18
hpwlkpai = hp 19
hptemper = hp 20
hpnoclse = hp 21
hpawake = hp 22
hplocntr = hp 23
hpstdpai = hp 24
hphardre = hp 25
hpnoergy = hp 26
hphrdstd = hp 27
hpconpai = hp 28
hplgslee = hp 29
hpburden = hp 30
hpwryawk = hp 31
hpnolive = hp 32
hpbadslp = hp 33
hpgtalng = hp 34
hphlpwlk = hp 35
hpstrspn = hp 36
hpamdprs = hp 37
hpsitpai = hp 38
enlev = hp 39
pain = hp 40
emreac = hp 41
sleep = hp 42
socisol = hp 43
phabil = hp 44
hpprbwk = hp 45
hpprbcln = hp 46
hpprobsc = hp 47
hpprobho = hp 48
hpprosex = hp 49
hpproint = hp 50
hpprovac = hp 51

.  *****************************************************************************
. *  the gender breakdown with the interim sample
. *_____________________________________________________________________________
. tab gender, plot

   respondent's |
        gender  |      Freq.
----------------+------------+-------------------------------------------------
        1. male |         83 |*********************
      2. female |        198 |*************************************************
----------------+------------+-------------------------------------------------
          Total |        281

. tab gender, nolabel missing

respondent' |
  s gender  |      Freq.     Percent        Cum.
------------+-----------------------------------
          1 |         83       29.54       29.54
          2 |        198       70.46      100.00
------------+-----------------------------------
      Total |        281      100.00

. summarize age, detail

                 Age of respondent in years
-------------------------------------------------------------
      Percentiles      Smallest
 1%           30             28
 5%           33             30
10%           35             30       Obs                 281
25%           40             30       Sum of Wgt.         281

50%           51                      Mean           50.84342
                        Largest       Std. Dev.      11.95514
75%           59             79
90%           68             79       Variance       142.9254
95%           72             83       Skewness       .2753497
99%           79             84       Kurtosis       2.434368

. local hpvars1 hptired-hpsitpai

. display "`hptvar1' "


.   display "unweighted health profile scale analysis    part     1      "
unweighted health profile scale analysis    part     1

.   display "_________________________________________________"
_________________________________________________

.
.  display "unweighted health profile scale reliability analysis for females"
unweighted health profile scale reliability analysis for females

.     alpha `hpvars1' if gender==1, item detail

Test scale = mean(unstandardized items)

                                                            average
                             item-test     item-rest       interitem
Item         |  Obs  Sign   correlation   correlation     covariance      alpha
-------------+-----------------------------------------------------------------
hptired      |   83    +       0.9070        0.9012        .4081377      0.9819
hppainit     |   83    +       0.9420        0.9382        .4060729      0.9818
hpgtdwn      |   83    +       0.8991        0.8928        .4083542      0.9820
hpunpain     |   83    +       0.9714        0.9693        .4023195      0.9816
hpslepil     |   81    -      -0.9304       -0.9346         .475644      0.9885
hpnojoy      |   83    +       0.9591        0.9562        .4034575      0.9817
hponedge     |   83    +       0.9565        0.9533         .403245      0.9817
hpcngpos     |   83    +       0.9233        0.9182        .4050439      0.9818
hplonely     |   83    +       0.9317        0.9270        .4052771      0.9818
hpwlkinr     |   81    +       0.9789        0.9773        .4012046      0.9816
hpnobend     |   83    +       0.8944        0.8879        .4095696      0.9820
hpalefrt     |   83    +       0.9578        0.9548        .4044338      0.9817
hpwkgrly     |   83    +       0.8051        0.7946        .4142989      0.9823
honowlk      |   83    +       0.9791        0.9775        .4013083      0.9816
hphrdcnt     |   83    +       0.9639        0.9612        .4026295      0.9817
hpdaydrg     |   83    +       0.9594        0.9566        .4037075      0.9817
hpstairs     |   83    +       0.9044        0.8983        .4083675      0.9819
hphrdrch     |   83    +       0.9559        0.9529         .403902      0.9817
hpwlkpai     |   81    +       0.9132        0.9079          .40884      0.9820
hptemper     |   82    +       0.8644        0.8562        .4103825      0.9821
hpnoclse     |   83    +       0.9010        0.8947        .4068523      0.9820
hpawake      |   83    +       0.9384        0.9339        .4049241      0.9818
hplocntr     |   81    +       0.9603        0.9574        .4029825      0.9817
hpstdpai     |   81    +       0.9292        0.9248        .4067862      0.9818
hphardre     |   81    +       0.9707        0.9687        .4021819      0.9816
hpnoergy     |   83    +       0.9043        0.8985        .4095529      0.9820
hphrdstd     |   83    +       0.8665        0.8588        .4112924      0.9821
hpconpai     |   53    +       0.5874        0.5688         .427623      0.9832
hplgslee     |   59    +       0.7840        0.7751        .4252184      0.9830
hpburden     |   53    +       0.8486        0.8426        .4286196      0.9832
hpwryawk     |   54    +       0.6203        0.6011        .4278452      0.9832
hpnolive     |   51    +       0.1554        0.1300        .4300322      0.9833
hpbadslp     |   62    +       0.6547        0.6406        .4261226      0.9831
hpgtalng     |   51    +       0.1291        0.1035         .430054      0.9833
hphlpwlk     |   52    +       0.7773        0.7711        .4295616      0.9833
hpstrspn     |   62    +       0.6616        0.6476        .4260667      0.9831
hpamdprs     |   52    +       0.6160        0.5855        .4284098      0.9833
hpsitpai     |   81    +       0.9662        0.9638        .4036194      0.9817
-------------+-----------------------------------------------------------------
Test scale   |                                             .4135908      0.9829
-------------+-----------------------------------------------------------------

Interitem covariances (reverse applied) (obs=pairwise, see below)

           hptired  hppainit   hpgtdwn  hpunpain  hpslepil   hpnojoy  hponedge  hpcngpos  hplonely  hpwlkinr  hpnobend  hpalefrt  hpwkgrly   honowlk  hphrdcnt  hpdaydrg  hpstairs  hphrdrch
 hptired    0.7435
hppainit    0.6569    0.7949
 hpgtdwn    0.6516    0.6535    0.7414
hpunpain    0.7255    0.7823    0.7326    0.9136
hpslepil   -0.6853   -0.7556   -0.6903   -0.8654    0.9355
 hpnojoy    0.6973    0.7520    0.6809    0.8357   -0.8230    0.8792
hponedge    0.6870    0.7793    0.7067    0.8625   -0.8380    0.8209    0.8966
hpcngpos    0.6581    0.7301    0.6516    0.7987   -0.7829    0.7705    0.7724    0.8654
hplonely    0.6421    0.6876    0.6487    0.7818   -0.7779    0.7896    0.7674    0.7153    0.8328
hpwlkinr    0.7336    0.8028    0.7389    0.9133   -0.9080    0.8830    0.8981    0.8435    0.8383    0.9679
hpnobend    0.5716    0.6364    0.5438    0.6725   -0.6431    0.6666    0.6452    0.6447    0.6510    0.7028    0.6973
hpalefrt    0.6813    0.7095    0.6779    0.8188   -0.7931    0.7886    0.7915    0.7545    0.7608    0.8528    0.6607    0.8437
hpwkgrly    0.5175    0.4950    0.5097    0.5619   -0.5628    0.5345    0.5604    0.5419    0.5024    0.5988    0.4462    0.5560    0.5951
 honowlk    0.7320    0.7978    0.7282    0.9066   -0.9080    0.8766    0.8916    0.8296    0.8240    0.9679    0.7003    0.8466    0.5818    0.9592
hphrdcnt    0.7179    0.7583    0.7023    0.8676   -0.8681    0.8373    0.8525    0.7911    0.8096    0.9278    0.6729    0.8193    0.5682    0.9198    0.9168
hpdaydrg    0.7011    0.7701    0.6838    0.8404   -0.8154    0.8235    0.8015    0.7621    0.7574    0.8633    0.6481    0.7823    0.5375    0.8578    0.8310    0.8648
hpstairs    0.6177    0.6510    0.5755    0.7086   -0.6904    0.6676    0.6699    0.6665    0.6743    0.7383    0.6145    0.6876    0.4658    0.7264    0.6876    0.6842    0.7352
hphrdrch    0.6768    0.7579    0.6838    0.8282   -0.8029    0.8113    0.8015    0.7743    0.7452    0.8633    0.6847    0.7701    0.5497    0.8578    0.8188    0.8038    0.6842    0.8648
hpwlkpai    0.6285    0.6819    0.5972    0.7068   -0.6756    0.6631    0.6912    0.6630    0.6318    0.7225    0.6069    0.6694    0.4816    0.7225    0.6944    0.6568    0.6318    0.6818
hptemper    0.5510    0.5920    0.5670    0.6832   -0.6647    0.6438    0.6697    0.5881    0.5980    0.7016    0.4809    0.6290    0.4435    0.6920    0.6661    0.6462    0.5363    0.6215
hpnoclse    0.6131    0.6628    0.6180    0.7546   -0.7278    0.7514    0.7408    0.6863    0.7319    0.7889    0.5774    0.7116    0.4716    0.7864    0.7726    0.7424    0.6221    0.7058
 hpawake    0.6344    0.7125    0.6672    0.8212   -0.8281    0.7668    0.7940    0.7442    0.7386    0.8627    0.6149    0.7490    0.5574    0.8372    0.7978    0.7724    0.6654    0.7724
hplocntr    0.6853    0.7556    0.7278    0.8654   -0.8480    0.8355    0.8755    0.7954    0.7904    0.9080    0.6431    0.8181    0.5878    0.9080    0.8681    0.8029    0.6904    0.8029
hpstdpai    0.6688    0.7069    0.6597    0.7637   -0.7103    0.7228    0.7120    0.7046    0.6637    0.7586    0.6194    0.7069    0.5080    0.7586    0.7194    0.7512    0.6637    0.7387
hphardre    0.7120    0.8083    0.7292    0.8801   -0.8630    0.8505    0.8653    0.8222    0.8176    0.9231    0.6958    0.8083    0.5769    0.9231    0.8833    0.8551    0.7301    0.8426
hpnoergy    0.5998    0.6300    0.5833    0.6650   -0.6355    0.6353    0.6502    0.6485    0.6311    0.6830    0.5934    0.6666    0.4736    0.6815    0.6666    0.6650    0.6189    0.6650
hphrdstd    0.5586    0.5564    0.5282    0.6256   -0.5929    0.6093    0.5992    0.6074    0.5911    0.6534    0.5442    0.6174    0.4428    0.6438    0.6296    0.5890    0.5545    0.6134
hpconpai    0.0824    0.0479    0.0766    0.1382   -0.1219    0.1027    0.1027    0.0911    0.0940    0.1306    0.0718    0.1190    0.0620    0.1306    0.1277    0.1161    0.0853    0.0969
hplgslee    0.1496    0.1651    0.1748    0.2545   -0.2420    0.2420    0.2545    0.2233    0.2279    0.2513    0.1464    0.2122    0.1435    0.2513    0.2466    0.2326    0.1417    0.2326
hpburden    0.0595    0.0660    0.0573    0.0874   -0.0718    0.0874    0.0682    0.0820    0.0831    0.0753    0.0628    0.0512    0.0327    0.0726    0.0715    0.0853    0.0606    0.0853
hpwryawk    0.0881    0.0559    0.0657    0.0818   -0.0547    0.1349    0.0971    0.0985    0.1209    0.0973    0.1139    0.1006    0.0636    0.0922    0.0887    0.0936    0.0915    0.0901
hpnolive   -0.0051   -0.0024   -0.0059   -0.0016    0.0013    0.0184    0.0184   -0.0035    0.0169    0.0000   -0.0039   -0.0016   -0.0082    0.0000   -0.0004   -0.0024   -0.0047   -0.0024
hpbadslp    0.1494    0.1682    0.1898    0.2351   -0.2390    0.2237    0.2628    0.2200    0.1922    0.2610    0.1203    0.2010    0.1420    0.2501    0.2337    0.1859    0.1267    0.1859
hpgtalng    0.0149   -0.0024    0.0141   -0.0016    0.0013   -0.0016   -0.0016   -0.0035    0.0169    0.0000   -0.0039    0.0184    0.0118    0.0000    0.0196    0.0176   -0.0047   -0.0024
hphlpwlk    0.0336    0.0362    0.0136    0.0370   -0.0388    0.0370    0.0370    0.0351    0.0354    0.0400    0.0347    0.0177    0.0113    0.0385    0.0381    0.0362    0.0339    0.0362
hpstrspn    0.2049    0.1824    0.1589    0.2282   -0.1864    0.2118    0.1954    0.2084    0.1822    0.2175    0.2086    0.1891    0.1325    0.2152    0.2086    0.2216    0.2216    0.2118
hpamdprs    0.0807    0.0679    0.0377    0.0558   -0.0204    0.0950    0.0754    0.0370    0.0799    0.0327    0.0724    0.0204    0.0347    0.0317    0.0279    0.0875    0.0452    0.0875
hpsitpai    0.6961    0.7528    0.7014    0.8383   -0.8205    0.8330    0.7981    0.7685    0.7758    0.8679    0.6653    0.7903    0.5613    0.8679    0.8278    0.8258    0.7008    0.8133

          hpwlkpai  hptemper  hpnoclse   hpawake  hplocntr  hpstdpai  hphardre  hpnoergy  hphrdstd  hpconpai  hplgslee  hpburden  hpwryawk  hpnolive  hpbadslp  hpgtalng  hphlpwlk  hpstrspn
hpwlkpai    0.7133
hptemper    0.5464    0.7064
hpnoclse    0.5847    0.6028    0.8237
 hpawake    0.6539    0.6302    0.6888    0.8372
hplocntr    0.6881    0.6774    0.7653    0.8156    0.9105
hpstdpai    0.6410    0.5816    0.6597    0.6927    0.7353    0.7688
hphardre    0.7037    0.6785    0.7667    0.8310    0.8630    0.7620    0.9278
hpnoergy    0.6006    0.4956    0.5929    0.6205    0.6605    0.6228    0.6755    0.6841
hphrdstd    0.5849    0.5251    0.5627    0.5829    0.6179    0.5779    0.6324    0.5605    0.6541
hpconpai    0.0776    0.1226    0.0824    0.1219    0.1219    0.0853    0.1056    0.0824    0.1313    0.1691
hplgslee    0.1134    0.2203    0.2092    0.2513    0.2420    0.1669    0.2420    0.1417    0.1449    0.0479    0.2011
hpburden    0.0282    0.0541    0.0606    0.0864    0.0529    0.0624    0.0718    0.0425    0.0381   -0.0017    0.0506    0.0544
hpwryawk    0.0377    0.1118    0.1104    0.1006    0.0905    0.0830    0.0871    0.0573    0.0964    0.0106    0.0749    0.0332    0.1537
hpnolive   -0.0034    0.0129    0.0153   -0.0020    0.0196   -0.0051   -0.0013   -0.0047   -0.0063   -0.0017    0.0183   -0.0004    0.0173    0.0196
hpbadslp    0.1424    0.2189    0.1835    0.2123    0.2797    0.1576    0.2339    0.1317    0.1557    0.0324    0.1409    0.0128    0.0635    0.0169    0.2488
hpgtalng   -0.0034   -0.0071    0.0153   -0.0020   -0.0013   -0.0051   -0.0013    0.0153   -0.0063   -0.0017   -0.0026   -0.0004   -0.0027   -0.0004   -0.0031    0.0196
hphlpwlk    0.0167    0.0124    0.0147    0.0366    0.0188    0.0151    0.0388    0.0147    0.0132    0.0000    0.0176    0.0189    0.0166    0.0000    0.0000    0.0000    0.0192
hpstrspn    0.1638    0.1653    0.1983    0.1692    0.2034    0.2359    0.2203    0.1954    0.1623    0.0532    0.0642    0.0403    0.0439   -0.0055    0.0523   -0.0055    0.0140    0.2446
hpamdprs    0.0449    0.0656    0.0686    0.0716    0.0245    0.0694    0.0612    0.0686    0.0535    0.0055    0.0735    0.0317    0.0875    0.0165    0.0118   -0.0035    0.0158    0.0415
hpsitpai    0.6850    0.6636    0.7389    0.7877    0.8205    0.7461    0.8356    0.6705    0.6159    0.1219    0.2122    0.0718    0.1101   -0.0017    0.2051   -0.0017    0.0184    0.2006

          hpamdprs  hpsitpai
hpamdprs    0.1584
hpsitpai    0.0816    0.8679

Pairwise number of observations

           hptired  hppainit   hpgtdwn  hpunpain  hpslepil   hpnojoy  hponedge  hpcngpos  hplonely  hpwlkinr  hpnobend  hpalefrt  hpwkgrly   honowlk  hphrdcnt  hpdaydrg  hpstairs  hphrdrch
 hptired        83
hppainit        83        83
 hpgtdwn        83        83        83
hpunpain        83        83        83        83
hpslepil        81        81        81        81        81
 hpnojoy        83        83        83        83        81        83
hponedge        83        83        83        83        81        83        83
hpcngpos        83        83        83        83        81        83        83        83
hplonely        83        83        83        83        81        83        83        83        83
hpwlkinr        81        81        81        81        81        81        81        81        81        81
hpnobend        83        83        83        83        81        83        83        83        83        81        83
hpalefrt        83        83        83        83        81        83        83        83        83        81        83        83
hpwkgrly        83        83        83        83        81        83        83        83        83        81        83        83        83
 honowlk        83        83        83        83        81        83        83        83        83        81        83        83        83        83
hphrdcnt        83        83        83        83        81        83        83        83        83        81        83        83        83        83        83
hpdaydrg        83        83        83        83        81        83        83        83        83        81        83        83        83        83        83        83
hpstairs        83        83        83        83        81        83        83        83        83        81        83        83        83        83        83        83        83
hphrdrch        83        83        83        83        81        83        83        83        83        81        83        83        83        83        83        83        83        83
hpwlkpai        81        81        81        81        81        81        81        81        81        81        81        81        81        81        81        81        81        81
hptemper        82        82        82        82        80        82        82        82        82        80        82        82        82        82        82        82        82        82
hpnoclse        83        83        83        83        81        83        83        83        83        81        83        83        83        83        83        83        83        83
 hpawake        83        83        83        83        81        83        83        83        83        81        83        83        83        83        83        83        83        83
hplocntr        81        81        81        81        81        81        81        81        81        81        81        81        81        81        81        81        81        81
hpstdpai        81        81        81        81        81        81        81        81        81        81        81        81        81        81        81        81        81        81
hphardre        81        81        81        81        81        81        81        81        81        81        81        81        81        81        81        81        81        81
hpnoergy        83        83        83        83        81        83        83        83        83        81        83        83        83        83        83        83        83        83
hphrdstd        83        83        83        83        81        83        83        83        83        81        83        83        83        83        83        83        83        83
hpconpai        53        53        53        53        53        53        53        53        53        53        53        53        53        53        53        53        53        53
hplgslee        59        59        59        59        59        59        59        59        59        59        59        59        59        59        59        59        59        59
hpburden        53        53        53        53        51        53        53        53        53        51        53        53        53        53        53        53        53        53
hpwryawk        54        54        54        54        52        54        54        54        54        52        54        54        54        54        54        54        54        54
hpnolive        51        51        51        51        49        51        51        51        51        49        51        51        51        51        51        51        51        51
hpbadslp        62        62        62        62        60        62        62        62        62        60        62        62        62        62        62        62        62        62
hpgtalng        51        51        51        51        49        51        51        51        51        49        51        51        51        51        51        51        51        51
hphlpwlk        52        52        52        52        50        52        52        52        52        50        52        52        52        52        52        52        52        52
hpstrspn        62        62        62        62        60        62        62        62        62        60        62        62        62        62        62        62        62        62
hpamdprs        52        52        52        52        50        52        52        52        52        50        52        52        52        52        52        52        52        52
hpsitpai        81        81        81        81        81        81        81        81        81        81        81        81        81        81        81        81        81        81

          hpwlkpai  hptemper  hpnoclse   hpawake  hplocntr  hpstdpai  hphardre  hpnoergy  hphrdstd  hpconpai  hplgslee  hpburden  hpwryawk  hpnolive  hpbadslp  hpgtalng  hphlpwlk  hpstrspn
hpwlkpai        81
hptemper        80        82
hpnoclse        81        82        83
 hpawake        81        82        83        83
hplocntr        81        80        81        81        81
hpstdpai        81        80        81        81        81        81
hphardre        81        80        81        81        81        81        81
hpnoergy        81        82        83        83        81        81        81        83
hphrdstd        81        82        83        83        81        81        81        83        83
hpconpai        53        53        53        53        53        53        53        53        53        53
hplgslee        59        59        59        59        59        59        59        59        59        53        59
hpburden        51        53        53        53        51        51        51        53        53        49        51        53
hpwryawk        52        54        54        54        52        52        52        54        54        49        51        52        54
hpnolive        49        51        51        51        49        49        49        51        51        49        49        51        51        51
hpbadslp        60        62        62        62        60        60        60        62        62        52        56        52        53        51        62
hpgtalng        49        51        51        51        49        49        49        51        51        49        49        51        51        51        51        51
hphlpwlk        50        52        52        52        50        50        50        52        52        49        50        52        52        51        51        51        52
hpstrspn        60        62        62        62        60        60        60        62        62        52        57        53        53        51        59        51        52        62
hpamdprs        50        52        52        52        50        50        50        52        52        49        50        52        52        51        51        51        52        52
hpsitpai        81        80        81        81        81        81        81        81        81        53        59        51        52        49        60        49        50        60

          hpamdprs  hpsitpai
hpamdprs        52
hpsitpai        50        81

.  display "   "


.  display "unweighted health profile scale reliability analysis for males"
unweighted health profile scale reliability analysis for males

.     alpha `hpvars1' if gender==2, item detail

Test scale = mean(unstandardized items)

                                                            average
                             item-test     item-rest       interitem
Item         |  Obs  Sign   correlation   correlation     covariance      alpha
-------------+-----------------------------------------------------------------
hptired      |  198    +       0.8364        0.8276        .4527961      0.9875
hppainit     |  198    +       0.9153        0.9099        .4467749      0.9873
hpgtdwn      |  198    +       0.7545        0.7432        .4580117      0.9877
hpunpain     |  198    +       0.9596        0.9567        .4415336      0.9871
hpslepil     |  196    +       0.9590        0.9560        .4415843      0.9871
hpnojoy      |  198    +       0.9488        0.9452        .4426819      0.9871
hponedge     |  198    +       0.9566        0.9536        .4414058      0.9871
hpcngpos     |  198    +       0.9049        0.8989        .4467678      0.9873
hplonely     |  198    +       0.9075        0.9015        .4461351      0.9873
hpwlkinr     |  195    +       0.9565        0.9534        .4407662      0.9871
hpnobend     |  198    +       0.8539        0.8455        .4514636      0.9875
hpalefrt     |  198    +       0.9236        0.9183        .4450652      0.9872
hpwkgrly     |  198    +       0.7496        0.7370        .4561666      0.9877
honowlk      |  198    +       0.9688        0.9664        .4401826      0.9871
hphrdcnt     |  197    +       0.9537        0.9503        .4409072      0.9871
hpdaydrg     |  198    +       0.9446        0.9408        .4424747      0.9872
hpstairs     |  198    +       0.8155        0.8061        .4551174      0.9876
hphrdrch     |  198    +       0.8942        0.8876        .4468136      0.9873
hpwlkpai     |  196    +       0.8645        0.8569        .4513234      0.9874
hptemper     |  197    +       0.8784        0.8710        .4475664      0.9874
hpnoclse     |  198    +       0.9540        0.9507        .4420543      0.9871
hpawake      |  198    +       0.9420        0.9381        .4440666      0.9872
hplocntr     |  196    +       0.9518        0.9484        .4418621      0.9871
hpstdpai     |  196    +       0.9130        0.9074         .446867      0.9873
hphardre     |  196    +       0.9683        0.9660        .4404394      0.9871
hpnoergy     |  198    +       0.7988        0.7883        .4544303      0.9876
hphrdstd     |  198    +       0.8149        0.8056        .4551561      0.9876
hpconpai     |  122    +       0.8114        0.8019        .4639231      0.9881
hplgslee     |  138    +       0.6860        0.6738        .4640907      0.9881
hpburden     |  115    +       0.6924        0.6759        .4657628      0.9882
hpwryawk     |  118    +       0.7276        0.7148        .4656378      0.9882
hpnolive     |  112    +       0.6600        0.6480         .467205      0.9882
hpbadslp     |  142    +       0.7578        0.7484         .463339      0.9880
hpgtalng     |  109    +       0.2232        0.1826        .4676357      0.9883
hphlpwlk     |  115    +       0.8216        0.8149        .4667405      0.9882
hpstrspn     |  151    +       0.6800        0.6683        .4641272      0.9880
hpamdprs     |  123    +       0.7125        0.6990        .4647564      0.9881
hpsitpai     |  195    +       0.9635        0.9608        .4416985      0.9871
-------------+-----------------------------------------------------------------
Test scale   |                                             .4515263      0.9879
-------------+-----------------------------------------------------------------

Interitem covariances (obs=pairwise, see below)

           hptired  hppainit   hpgtdwn  hpunpain  hpslepil   hpnojoy  hponedge  hpcngpos  hplonely  hpwlkinr  hpnobend  hpalefrt  hpwkgrly   honowlk  hphrdcnt  hpdaydrg  hpstairs  hphrdrch
 hptired    0.5863
hppainit    0.5182    0.7430
 hpgtdwn    0.4031    0.4047    0.4654
hpunpain    0.5703    0.7047    0.4646    0.9043
hpslepil    0.5591    0.7079    0.4518    0.8546    0.9183
 hpnojoy    0.5637    0.6765    0.4455    0.8262    0.8304    0.8791
hponedge    0.5657    0.7107    0.4642    0.8644    0.8559    0.8322    0.9157
hpcngpos    0.5007    0.6262    0.4025    0.7185    0.7046    0.7022    0.7239    0.7551
hplonely    0.4982    0.6165    0.3994    0.7304    0.7342    0.7278    0.7516    0.6112    0.7895
hpwlkinr    0.5679    0.7187    0.4677    0.8757    0.8958    0.8574    0.8767    0.7394    0.7810    0.9708
hpnobend    0.4312    0.5385    0.3393    0.5869    0.5971    0.5735    0.5728    0.5292    0.5340    0.6029    0.6232
hpalefrt    0.5322    0.6442    0.4159    0.7487    0.7753    0.7502    0.7499    0.6355    0.6753    0.7927    0.5663    0.8037
hpwkgrly    0.3584    0.4126    0.3011    0.5049    0.5129    0.4783    0.5155    0.4199    0.4381    0.5112    0.3663    0.4572    0.5567
 honowlk    0.5690    0.7277    0.4707    0.8874    0.8970    0.8593    0.8883    0.7430    0.7739    0.9347    0.6045    0.7813    0.5242    0.9562
hphrdcnt    0.5521    0.7125    0.4515    0.8623    0.8883    0.8346    0.8732    0.7267    0.7642    0.9204    0.5941    0.7617    0.5277    0.9217    0.9541
hpdaydrg    0.5591    0.6927    0.4299    0.8167    0.8419    0.8141    0.8277    0.6873    0.7185    0.8532    0.5848    0.7362    0.4991    0.8602    0.8455    0.8911
hpstairs    0.3674    0.4827    0.2858    0.5071    0.4991    0.4819    0.4884    0.4562    0.4531    0.5007    0.4701    0.4684    0.3031    0.5132    0.5088    0.4987    0.5118
hphrdrch    0.4908    0.6267    0.3819    0.7087    0.7103    0.6874    0.7039    0.6284    0.6065    0.7193    0.5551    0.6310    0.4302    0.7383    0.7271    0.7080    0.4672    0.7707
hpwlkpai    0.4531    0.5677    0.3627    0.5954    0.5848    0.5826    0.5808    0.5466    0.5219    0.5847    0.5040    0.5545    0.3505    0.6031    0.5973    0.5630    0.4490    0.5522
hptemper    0.5059    0.5933    0.4228    0.7001    0.7140    0.6852    0.7203    0.6078    0.6085    0.7425    0.4710    0.6446    0.4547    0.7311    0.7187    0.6851    0.4106    0.5567
hpnoclse    0.5538    0.7024    0.4453    0.8214    0.8259    0.8186    0.8426    0.7024    0.7536    0.8682    0.5842    0.7660    0.4938    0.8699    0.8605    0.8094    0.5030    0.6977
 hpawake    0.5383    0.6968    0.4303    0.7754    0.8098    0.7572    0.7814    0.6666    0.6668    0.8007    0.5481    0.7096    0.4834    0.8085    0.7938    0.7633    0.4920    0.6773
hplocntr    0.5729    0.6996    0.4529    0.8339    0.8315    0.8020    0.8650    0.7016    0.7357    0.8570    0.5910    0.7445    0.5216    0.8636    0.8632    0.8229    0.5022    0.6967
hpstdpai    0.4943    0.6501    0.3779    0.7188    0.7034    0.6703    0.6990    0.6237    0.5941    0.7140    0.5559    0.6371    0.4225    0.7267    0.7110    0.6813    0.5010    0.6446
hphardre    0.5650    0.7301    0.4662    0.8712    0.8849    0.8578    0.8825    0.7358    0.7768    0.9333    0.6198    0.7931    0.5240    0.9347    0.9258    0.8537    0.5176    0.7364
hpnoergy    0.4055    0.4772    0.2989    0.5409    0.5310    0.5375    0.5471    0.4681    0.5031    0.5364    0.4247    0.4997    0.3051    0.5533    0.5430    0.5183    0.3627    0.4738
hphrdstd    0.3979    0.4725    0.3111    0.5020    0.4940    0.4971    0.4884    0.4562    0.4683    0.5110    0.4701    0.4735    0.3082    0.5182    0.5088    0.4886    0.4357    0.4672
hpconpai    0.1324    0.1730    0.0896    0.2203    0.1725    0.1893    0.1935    0.1918    0.1855    0.1912    0.1547    0.1707    0.1036    0.2160    0.1996    0.1914    0.1321    0.1775
hplgslee    0.1722    0.1721    0.1255    0.2524    0.2412    0.2397    0.2566    0.1895    0.1679    0.2368    0.1149    0.2094    0.1296    0.2708    0.2436    0.2566    0.1203    0.2052
hpburden    0.0995    0.0976    0.0576    0.1023    0.1150    0.0796    0.1186    0.0991    0.0774    0.0818    0.0691    0.0911    0.0671    0.0957    0.1072    0.1298    0.0830    0.0815
hpwryawk    0.0884    0.0973    0.0807    0.1375    0.1208    0.1147    0.1360    0.0901    0.1088    0.1163    0.0672    0.1104    0.0868    0.1234    0.1247    0.1304    0.0714    0.1143
hpnolive    0.0249    0.0240    0.0169    0.0382    0.0421    0.0300    0.0644    0.0486    0.0436    0.0421    0.0109    0.0362    0.0315    0.0586    0.0484    0.0554    0.0097    0.0302
hpbadslp    0.1933    0.2162    0.1508    0.2773    0.2552    0.2482    0.2844    0.2220    0.2243    0.2624    0.1628    0.2340    0.1585    0.2776    0.2737    0.2526    0.1398    0.2334
hpgtalng    0.0369    0.0031    0.0157    0.0108    0.0070   -0.0071    0.0015   -0.0184    0.0147   -0.0025    0.0150   -0.0014    0.0339    0.0063    0.0230    0.0200    0.0133    0.0087
hphlpwlk    0.0331    0.0608    0.0224    0.0842    0.0905    0.0595    0.0837    0.0576    0.0629    0.0732    0.0384    0.0568    0.0469    0.0802    0.0946    0.0677    0.0368    0.0576
hpstrspn    0.1583    0.2484    0.1063    0.2643    0.2301    0.2289    0.2438    0.2321    0.2074    0.2449    0.2351    0.2191    0.1195    0.2555    0.2546    0.2453    0.2463    0.2486
hpamdprs    0.1238    0.1202    0.0836    0.1951    0.1614    0.1711    0.2011    0.1741    0.1349    0.1591    0.1124    0.1623    0.0980    0.1695    0.1585    0.1727    0.1080    0.1391
hpsitpai    0.5522    0.7131    0.4576    0.8548    0.8483    0.8157    0.8455    0.7186    0.7291    0.8810    0.6024    0.7663    0.5109    0.8982    0.8682    0.8167    0.5102    0.7243

          hpwlkpai  hptemper  hpnoclse   hpawake  hplocntr  hpstdpai  hphardre  hpnoergy  hphrdstd  hpconpai  hplgslee  hpburden  hpwryawk  hpnolive  hpbadslp  hpgtalng  hphlpwlk  hpstrspn
hpwlkpai    0.6087
hptemper    0.4862    0.7702
hpnoclse    0.5882    0.6903    0.8952
 hpawake    0.5672    0.6699    0.7730    0.8283
hplocntr    0.5766    0.7277    0.8330    0.7712    0.8962
hpstdpai    0.5783    0.5790    0.6963    0.6805    0.6947    0.7377
hphardre    0.5968    0.7290    0.8788    0.8065    0.8681    0.7255    0.9536
hpnoergy    0.4121    0.4457    0.5330    0.4969    0.5245    0.4639    0.5485    0.5764
hphrdstd    0.4644    0.4004    0.4979    0.4717    0.4868    0.4908    0.5125    0.3830    0.5118
hpconpai    0.1589    0.1363    0.1955    0.1542    0.1998    0.1772    0.2035    0.1177    0.1466    0.2035
hplgslee    0.1360    0.2148    0.2282    0.2209    0.2517    0.1660    0.2478    0.1445    0.1014    0.0924    0.2454
hpburden    0.1000    0.1344    0.0809    0.0811    0.1253    0.0897    0.0754    0.0869    0.0654    0.0289    0.0617    0.1559
hpwryawk    0.0816    0.0672    0.1333    0.1218    0.1505    0.0909    0.1265    0.0514    0.0543    0.0506    0.0984    0.0175    0.1420
hpnolive    0.0192    0.0466    0.0476    0.0362    0.0463    0.0325    0.0425    0.0269    0.0187    0.0296    0.0334    0.0158    0.0074    0.0430
hpbadslp    0.1842    0.2405    0.2678    0.2536    0.3004    0.2196    0.2873    0.1574    0.1274    0.0936    0.1422    0.0547    0.0703    0.0197    0.2373
hpgtalng    0.0042    0.0064    0.0027   -0.0008    0.0090    0.0116   -0.0019    0.0121    0.0040    0.0008    0.0116    0.0132    0.0120   -0.0012    0.0245    0.0792
hphlpwlk    0.0544    0.0714    0.0683    0.0738    0.0833    0.0610    0.0570    0.0440    0.0451    0.0381    0.0328    0.0395    0.0241    0.0087    0.0410    0.0087    0.0577
hpstrspn    0.2266    0.1969    0.2520    0.2325    0.2690    0.2609    0.2559    0.1469    0.1929    0.1118    0.1008    0.0540    0.0510    0.0101    0.1130    0.0138    0.0326    0.2503
hpamdprs    0.1038    0.1184    0.1913    0.1563    0.1939    0.1492    0.1530    0.0960    0.0960    0.0727    0.0934    0.0418    0.0852    0.0295    0.0759    0.0257    0.0290    0.0650
hpsitpai    0.5997    0.7011    0.8265    0.7899    0.8207    0.7136    0.8812    0.5358    0.5154    0.1954    0.2343    0.0933    0.1205    0.0492    0.2618    0.0039    0.0710    0.2554

          hpamdprs  hpsitpai
hpamdprs    0.1979
hpsitpai    0.1750    0.9028

Pairwise number of observations

           hptired  hppainit   hpgtdwn  hpunpain  hpslepil   hpnojoy  hponedge  hpcngpos  hplonely  hpwlkinr  hpnobend  hpalefrt  hpwkgrly   honowlk  hphrdcnt  hpdaydrg  hpstairs  hphrdrch
 hptired       198
hppainit       198       198
 hpgtdwn       198       198       198
hpunpain       198       198       198       198
hpslepil       196       196       196       196       196
 hpnojoy       198       198       198       198       196       198
hponedge       198       198       198       198       196       198       198
hpcngpos       198       198       198       198       196       198       198       198
hplonely       198       198       198       198       196       198       198       198       198
hpwlkinr       195       195       195       195       195       195       195       195       195       195
hpnobend       198       198       198       198       196       198       198       198       198       195       198
hpalefrt       198       198       198       198       196       198       198       198       198       195       198       198
hpwkgrly       198       198       198       198       196       198       198       198       198       195       198       198       198
 honowlk       198       198       198       198       196       198       198       198       198       195       198       198       198       198
hphrdcnt       197       197       197       197       195       197       197       197       197       194       197       197       197       197       197
hpdaydrg       198       198       198       198       196       198       198       198       198       195       198       198       198       198       197       198
hpstairs       198       198       198       198       196       198       198       198       198       195       198       198       198       198       197       198       198
hphrdrch       198       198       198       198       196       198       198       198       198       195       198       198       198       198       197       198       198       198
hpwlkpai       196       196       196       196       196       196       196       196       196       195       196       196       196       196       195       196       196       196
hptemper       197       197       197       197       195       197       197       197       197       194       197       197       197       197       196       197       197       197
hpnoclse       198       198       198       198       196       198       198       198       198       195       198       198       198       198       197       198       198       198
 hpawake       198       198       198       198       196       198       198       198       198       195       198       198       198       198       197       198       198       198
hplocntr       196       196       196       196       196       196       196       196       196       195       196       196       196       196       195       196       196       196
hpstdpai       196       196       196       196       196       196       196       196       196       195       196       196       196       196       195       196       196       196
hphardre       196       196       196       196       196       196       196       196       196       195       196       196       196       196       195       196       196       196
hpnoergy       198       198       198       198       196       198       198       198       198       195       198       198       198       198       197       198       198       198
hphrdstd       198       198       198       198       196       198       198       198       198       195       198       198       198       198       197       198       198       198
hpconpai       122       122       122       122       122       122       122       122       122       122       122       122       122       122       122       122       122       122
hplgslee       138       138       138       138       138       138       138       138       138       137       138       138       138       138       137       138       138       138
hpburden       115       115       115       115       113       115       115       115       115       113       115       115       115       115       115       115       115       115
hpwryawk       118       118       118       118       116       118       118       118       118       116       118       118       118       118       118       118       118       118
hpnolive       112       112       112       112       110       112       112       112       112       110       112       112       112       112       112       112       112       112
hpbadslp       142       142       142       142       140       142       142       142       142       139       142       142       142       142       141       142       142       142
hpgtalng       109       109       109       109       107       109       109       109       109       107       109       109       109       109       109       109       109       109
hphlpwlk       115       115       115       115       113       115       115       115       115       113       115       115       115       115       115       115       115       115
hpstrspn       151       151       151       151       149       151       151       151       151       149       151       151       151       151       151       151       151       151
hpamdprs       123       123       123       123       121       123       123       123       123       121       123       123       123       123       123       123       123       123
hpsitpai       195       195       195       195       195       195       195       195       195       194       195       195       195       195       194       195       195       195

          hpwlkpai  hptemper  hpnoclse   hpawake  hplocntr  hpstdpai  hphardre  hpnoergy  hphrdstd  hpconpai  hplgslee  hpburden  hpwryawk  hpnolive  hpbadslp  hpgtalng  hphlpwlk  hpstrspn
hpwlkpai       196
hptemper       195       197
hpnoclse       196       197       198
 hpawake       196       197       198       198
hplocntr       196       195       196       196       196
hpstdpai       196       195       196       196       196       196
hphardre       196       195       196       196       196       196       196
hpnoergy       196       197       198       198       196       196       196       198
hphrdstd       196       197       198       198       196       196       196       198       198
hpconpai       122       122       122       122       122       122       122       122       122       122
hplgslee       138       137       138       138       138       138       138       138       138       120       138
hpburden       113       115       115       115       113       113       113       115       115       110       110       115
hpwryawk       116       118       118       118       116       116       116       118       118       111       115       110       118
hpnolive       110       112       112       112       110       110       110       112       112       110       110       110       109       112
hpbadslp       140       141       142       142       140       140       140       142       142       118       131       113       115       111       142
hpgtalng       107       109       109       109       107       107       107       109       109       107       107       109       109       109       109       109
hphlpwlk       113       115       115       115       113       113       113       115       115       111       111       113       111       110       114       109       115
hpstrspn       149       150       151       151       149       149       149       151       151       120       134       113       116       112       134       109       114       151
hpamdprs       121       123       123       123       121       121       121       123       123       114       117       112       114       111       118       109       112       118
hpsitpai       195       194       195       195       195       195       195       195       195       122       138       113       116       110       140       107       113       149

          hpamdprs  hpsitpai
hpamdprs       123
hpsitpai       121       195

.  display "    "


.  display "unweighted health profile reliability part 1 : both male and females"
unweighted health profile reliability part 1 : both male and females

.     alpha `hpvars1', item detail

Test scale = mean(unstandardized items)

                                                            average
                             item-test     item-rest       interitem
Item         |  Obs  Sign   correlation   correlation     covariance      alpha
-------------+-----------------------------------------------------------------
hptired      |  281    +       0.8591        0.8513        .4617108      0.9879
hppainit     |  281    +       0.9236        0.9188        .4567618      0.9877
hpgtdwn      |  281    +       0.8035        0.7937        .4653395      0.9880
hpunpain     |  281    +       0.9635        0.9609        .4519002      0.9875
hpslepil     |  277    +       0.9524        0.9490        .4523753      0.9876
hpnojoy      |  281    +       0.9518        0.9485        .4530954      0.9876
hponedge     |  281    +       0.9565        0.9535        .4520874      0.9876
hpcngpos     |  281    +       0.9113        0.9057         .456455      0.9877
hplonely     |  281    +       0.9154        0.9099        .4561261      0.9877
hpwlkinr     |  276    +       0.9637        0.9612        .4509884      0.9876
hpnobend     |  281    +       0.8662        0.8585        .4612204      0.9879
hpalefrt     |  281    +       0.9342        0.9296        .4550764      0.9876
hpwkgrly     |  281    +       0.7679        0.7563        .4660609      0.9881
honowlk      |  281    +       0.9724        0.9704        .4505975      0.9875
hphrdcnt     |  280    +       0.9567        0.9536        .4515066      0.9876
hpdaydrg     |  281    +       0.9488        0.9453        .4530501      0.9876
hpstairs     |  281    +       0.8435        0.8351         .463505      0.9879
hphrdrch     |  281    +       0.9138        0.9083        .4560765      0.9877
hpwlkpai     |  277    +       0.8795        0.8727        .4608096      0.9878
hptemper     |  279    +       0.8743        0.8668        .4587358      0.9878
hpnoclse     |  281    +       0.9362        0.9319        .4538734      0.9876
hpawake      |  281    +       0.9425        0.9386        .4544702      0.9876
hplocntr     |  277    +       0.9545        0.9513        .4522848      0.9875
hpstdpai     |  277    +       0.9171        0.9120        .4571853      0.9877
hphardre     |  277    +       0.9688        0.9665        .4511372      0.9875
hpnoergy     |  281    +       0.8322        0.8233        .4633284      0.9880
hphrdstd     |  281    +       0.8293        0.8205        .4645252      0.9880
hpconpai     |  175    +       0.7554        0.7436        .4755252      0.9886
hplgslee     |  197    +       0.7155        0.7043        .4748656      0.9885
hpburden     |  168    +       0.7169        0.7028        .4771585      0.9886
hpwryawk     |  172    +       0.6908        0.6761        .4769284      0.9886
hpnolive     |  163    +       0.5860        0.5719        .4786317      0.9887
hpbadslp     |  204    +       0.7303        0.7198        .4747092      0.9885
hpgtalng     |  160    +       0.2152        0.1778        .4789274      0.9888
hphlpwlk     |  167    +       0.8153        0.8088        .4781494      0.9887
hpstrspn     |  213    +       0.6770        0.6651         .475178      0.9885
hpamdprs     |  175    +       0.6793        0.6635        .4763822      0.9886
hpsitpai     |  276    +       0.9639        0.9613        .4524552      0.9875
-------------+-----------------------------------------------------------------
Test scale   |                                             .4618932      0.9883
-------------+-----------------------------------------------------------------

Interitem covariances (obs=pairwise, see below)

           hptired  hppainit   hpgtdwn  hpunpain  hpslepil   hpnojoy  hponedge  hpcngpos  hplonely  hpwlkinr  hpnobend  hpalefrt  hpwkgrly   honowlk  hphrdcnt  hpdaydrg  hpstairs  hphrdrch
 hptired    0.6326
hppainit    0.5603    0.7602
 hpgtdwn    0.4780    0.4812    0.5499
hpunpain    0.6165    0.7289    0.5457    0.9072
hpslepil    0.5951    0.7213    0.5217    0.8565    0.9211
 hpnojoy    0.6035    0.7000    0.5169    0.8292    0.8269    0.8790
hponedge    0.6025    0.7329    0.5386    0.8647    0.8498    0.8297    0.9115
hpcngpos    0.5477    0.6582    0.4781    0.7426    0.7266    0.7227    0.7393    0.7878
hplonely    0.5406    0.6381    0.4742    0.7453    0.7457    0.7457    0.7565    0.6419    0.8013
hpwlkinr    0.6162    0.7439    0.5486    0.8862    0.8979    0.8643    0.8830    0.7699    0.7971    0.9693
hpnobend    0.4737    0.5695    0.4025    0.6135    0.6100    0.6021    0.5961    0.5646    0.5690    0.6325    0.6465
hpalefrt    0.5767    0.6649    0.4953    0.7699    0.7793    0.7619    0.7633    0.6712    0.7004    0.8097    0.5954    0.8158
hpwkgrly    0.4055    0.4377    0.3638    0.5219    0.5268    0.4951    0.5293    0.4561    0.4570    0.5367    0.3906    0.4866    0.5673
 honowlk    0.6178    0.7500    0.5491    0.8935    0.8989    0.8647    0.8904    0.7692    0.7885    0.9439    0.6343    0.8012    0.5415    0.9576
hphrdcnt    0.6025    0.7285    0.5292    0.8651    0.8814    0.8365    0.8691    0.7471    0.7782    0.9227    0.6197    0.7801    0.5406    0.9225    0.9458
hpdaydrg    0.6011    0.7162    0.5063    0.8236    0.8327    0.8166    0.8204    0.7095    0.7294    0.8553    0.6042    0.7498    0.5103    0.8595    0.8418    0.8826
hpstairs    0.4398    0.5309    0.3702    0.5648    0.5531    0.5350    0.5404    0.5166    0.5166    0.5683    0.5112    0.5315    0.3500    0.5743    0.5602    0.5517    0.5755
hphrdrch    0.5471    0.6679    0.4744    0.7455    0.7370    0.7254    0.7350    0.6730    0.6482    0.7621    0.5957    0.6737    0.4664    0.7754    0.7570    0.7372    0.5297    0.8010
hpwlkpai    0.5055    0.6036    0.4348    0.6295    0.6116    0.6076    0.6155    0.5826    0.5552    0.6266    0.5360    0.5894    0.3901    0.6398    0.6285    0.5914    0.5010    0.5930
hptemper    0.5200    0.5945    0.4674    0.6958    0.6991    0.6737    0.7067    0.6029    0.6057    0.7306    0.4757    0.6410    0.4520    0.7205    0.7048    0.6740    0.4465    0.5776
hpnoclse    0.5701    0.6896    0.4957    0.8000    0.7949    0.7971    0.8111    0.6962    0.7453    0.8426    0.5813    0.7484    0.4862    0.8435    0.8328    0.7878    0.5362    0.6990
 hpawake    0.5675    0.7031    0.5026    0.7896    0.8145    0.7607    0.7865    0.6903    0.6881    0.8193    0.5695    0.7221    0.5056    0.8178    0.7966    0.7662    0.5416    0.7072
hplocntr    0.6066    0.7180    0.5362    0.8439    0.8358    0.8125    0.8696    0.7304    0.7521    0.8726    0.6078    0.7667    0.5417    0.8775    0.8666    0.8174    0.5556    0.7301
hpstdpai    0.5443    0.6660    0.4601    0.7306    0.7038    0.6844    0.7020    0.6464    0.6133    0.7257    0.5737    0.6563    0.4468    0.7348    0.7126    0.7003    0.5466    0.6714
hphardre    0.6072    0.7526    0.5435    0.8726    0.8766    0.8545    0.8767    0.7603    0.7874    0.9289    0.6416    0.7964    0.5389    0.9301    0.9126    0.8527    0.5777    0.7671
hpnoergy    0.4633    0.5235    0.3847    0.5781    0.5609    0.5669    0.5786    0.5220    0.5409    0.5793    0.4756    0.5496    0.3551    0.5919    0.5812    0.5618    0.4368    0.5317
hphrdstd    0.4437    0.4956    0.3738    0.5366    0.5210    0.5284    0.5193    0.4990    0.5027    0.5506    0.4903    0.5141    0.3466    0.5534    0.5427    0.5164    0.4690    0.5086
hpconpai    0.1206    0.1383    0.0911    0.1962    0.1570    0.1642    0.1675    0.1635    0.1595    0.1742    0.1323    0.1560    0.0928    0.1915    0.1795    0.1695    0.1203    0.1565
hplgslee    0.1705    0.1745    0.1488    0.2554    0.2415    0.2427    0.2586    0.2031    0.1872    0.2434    0.1272    0.2127    0.1367    0.2676    0.2473    0.2516    0.1298    0.2184
hpburden    0.0896    0.0893    0.0628    0.0981    0.1009    0.0822    0.1034    0.0952    0.0793    0.0799    0.0692    0.0801    0.0576    0.0889    0.0968    0.1154    0.0778    0.0852
hpwryawk    0.0872    0.0835    0.0745    0.1191    0.0999    0.1202    0.1229    0.0919    0.1117    0.1098    0.0809    0.1064    0.0788    0.1128    0.1125    0.1181    0.0768    0.1056
hpnolive    0.0165    0.0165    0.0116    0.0261    0.0288    0.0265    0.0503    0.0330    0.0355    0.0295    0.0072    0.0250    0.0195    0.0407    0.0336    0.0375    0.0060    0.0211
hpbadslp    0.1822    0.2034    0.1659    0.2653    0.2501    0.2414    0.2783    0.2227    0.2146    0.2624    0.1516    0.2252    0.1544    0.2699    0.2624    0.2330    0.1369    0.2213
hpgtalng    0.0314    0.0025    0.0182    0.0072    0.0041   -0.0050    0.0009   -0.0126    0.0157   -0.0013    0.0104    0.0057    0.0274    0.0047    0.0223    0.0192    0.0088    0.0069
hphlpwlk    0.0346    0.0541    0.0225    0.0699    0.0745    0.0527    0.0697    0.0515    0.0547    0.0634    0.0383    0.0456    0.0366    0.0677    0.0777    0.0579    0.0369    0.0524
hpstrspn    0.1760    0.2347    0.1291    0.2584    0.2200    0.2277    0.2348    0.2302    0.2042    0.2415    0.2324    0.2158    0.1266    0.2488    0.2465    0.2418    0.2418    0.2443
hpamdprs    0.1140    0.1077    0.0758    0.1563    0.1218    0.1504    0.1663    0.1367    0.1206    0.1247    0.1037    0.1232    0.0813    0.1316    0.1231    0.1491    0.0923    0.1280
hpsitpai    0.5942    0.7252    0.5304    0.8495    0.8387    0.8202    0.8318    0.7333    0.7421    0.8765    0.6210    0.7728    0.5255    0.8889    0.8565    0.8185    0.5641    0.7510

          hpwlkpai  hptemper  hpnoclse   hpawake  hplocntr  hpstdpai  hphardre  hpnoergy  hphrdstd  hpconpai  hplgslee  hpburden  hpwryawk  hpnolive  hpbadslp  hpgtalng  hphlpwlk  hpstrspn
hpwlkpai    0.6425
hptemper    0.5058    0.7515
hpnoclse    0.5861    0.6635    0.8715
 hpawake    0.5954    0.6593    0.7467    0.8316
hplocntr    0.6124    0.7143    0.8113    0.7863    0.9025
hpstdpai    0.5965    0.5792    0.6835    0.6834    0.7059    0.7448
hphardre    0.6284    0.7139    0.8436    0.8132    0.8663    0.7345    0.9441
hpnoergy    0.4686    0.4613    0.5495    0.5343    0.5653    0.5095    0.5850    0.6082
hphrdstd    0.4979    0.4358    0.5152    0.5028    0.5233    0.5144    0.5455    0.4338    0.5517
hpconpai    0.1380    0.1321    0.1600    0.1457    0.1785    0.1500    0.1742    0.1096    0.1428    0.1940
hplgslee    0.1355    0.2170    0.2210    0.2331    0.2529    0.1674    0.2472    0.1476    0.1157    0.0807    0.2357
hpburden    0.0815    0.1090    0.0721    0.0834    0.1047    0.0810    0.0731    0.0757    0.0578    0.0208    0.0591    0.1249
hpwryawk    0.0677    0.0806    0.1257    0.1143    0.1313    0.0879    0.1137    0.0524    0.0669    0.0384    0.0909    0.0219    0.1448
hpnolive    0.0134    0.0360    0.0368    0.0247    0.0386    0.0211    0.0290    0.0179    0.0113    0.0203    0.0294    0.0108    0.0105    0.0357
hpbadslp    0.1751    0.2336    0.2407    0.2418    0.2957    0.2016    0.2712    0.1513    0.1361    0.0760    0.1441    0.0421    0.0675    0.0189    0.2408
hpgtalng    0.0038    0.0019    0.0053   -0.0006    0.0066    0.0065   -0.0020    0.0145    0.0013    0.0005    0.0084    0.0094    0.0069   -0.0009    0.0160    0.0604
hphlpwlk    0.0448    0.0532    0.0507    0.0628    0.0647    0.0472    0.0510    0.0363    0.0357    0.0271    0.0286    0.0333    0.0215    0.0059    0.0290    0.0060    0.0459
hpstrspn    0.2149    0.1905    0.2372    0.2182    0.2555    0.2555    0.2487    0.1664    0.1852    0.0957    0.0930    0.0504    0.0482    0.0058    0.0957    0.0085    0.0273    0.2512
hpamdprs    0.0906    0.1039    0.1549    0.1333    0.1481    0.1274    0.1277    0.0908    0.0852    0.0533    0.0887    0.0385    0.0854    0.0253    0.0576    0.0164    0.0247    0.0587
hpsitpai    0.6261    0.6903    0.7986    0.7897    0.8213    0.7217    0.8666    0.5752    0.5428    0.1737    0.2300    0.0865    0.1166    0.0337    0.2456    0.0022    0.0551    0.2439

          hpamdprs  hpsitpai
hpamdprs    0.1864
hpsitpai    0.1497    0.8920

Pairwise number of observations

           hptired  hppainit   hpgtdwn  hpunpain  hpslepil   hpnojoy  hponedge  hpcngpos  hplonely  hpwlkinr  hpnobend  hpalefrt  hpwkgrly   honowlk  hphrdcnt  hpdaydrg  hpstairs  hphrdrch
 hptired       281
hppainit       281       281
 hpgtdwn       281       281       281
hpunpain       281       281       281       281
hpslepil       277       277       277       277       277
 hpnojoy       281       281       281       281       277       281
hponedge       281       281       281       281       277       281       281
hpcngpos       281       281       281       281       277       281       281       281
hplonely       281       281       281       281       277       281       281       281       281
hpwlkinr       276       276       276       276       276       276       276       276       276       276
hpnobend       281       281       281       281       277       281       281       281       281       276       281
hpalefrt       281       281       281       281       277       281       281       281       281       276       281       281
hpwkgrly       281       281       281       281       277       281       281       281       281       276       281       281       281
 honowlk       281       281       281       281       277       281       281       281       281       276       281       281       281       281
hphrdcnt       280       280       280       280       276       280       280       280       280       275       280       280       280       280       280
hpdaydrg       281       281       281       281       277       281       281       281       281       276       281       281       281       281       280       281
hpstairs       281       281       281       281       277       281       281       281       281       276       281       281       281       281       280       281       281
hphrdrch       281       281       281       281       277       281       281       281       281       276       281       281       281       281       280       281       281       281
hpwlkpai       277       277       277       277       277       277       277       277       277       276       277       277       277       277       276       277       277       277
hptemper       279       279       279       279       275       279       279       279       279       274       279       279       279       279       278       279       279       279
hpnoclse       281       281       281       281       277       281       281       281       281       276       281       281       281       281       280       281       281       281
 hpawake       281       281       281       281       277       281       281       281       281       276       281       281       281       281       280       281       281       281
hplocntr       277       277       277       277       277       277       277       277       277       276       277       277       277       277       276       277       277       277
hpstdpai       277       277       277       277       277       277       277       277       277       276       277       277       277       277       276       277       277       277
hphardre       277       277       277       277       277       277       277       277       277       276       277       277       277       277       276       277       277       277
hpnoergy       281       281       281       281       277       281       281       281       281       276       281       281       281       281       280       281       281       281
hphrdstd       281       281       281       281       277       281       281       281       281       276       281       281       281       281       280       281       281       281
hpconpai       175       175       175       175       175       175       175       175       175       175       175       175       175       175       175       175       175       175
hplgslee       197       197       197       197       197       197       197       197       197       196       197       197       197       197       196       197       197       197
hpburden       168       168       168       168       164       168       168       168       168       164       168       168       168       168       168       168       168       168
hpwryawk       172       172       172       172       168       172       172       172       172       168       172       172       172       172       172       172       172       172
hpnolive       163       163       163       163       159       163       163       163       163       159       163       163       163       163       163       163       163       163
hpbadslp       204       204       204       204       200       204       204       204       204       199       204       204       204       204       203       204       204       204
hpgtalng       160       160       160       160       156       160       160       160       160       156       160       160       160       160       160       160       160       160
hphlpwlk       167       167       167       167       163       167       167       167       167       163       167       167       167       167       167       167       167       167
hpstrspn       213       213       213       213       209       213       213       213       213       209       213       213       213       213       213       213       213       213
hpamdprs       175       175       175       175       171       175       175       175       175       171       175       175       175       175       175       175       175       175
hpsitpai       276       276       276       276       276       276       276       276       276       275       276       276       276       276       275       276       276       276

          hpwlkpai  hptemper  hpnoclse   hpawake  hplocntr  hpstdpai  hphardre  hpnoergy  hphrdstd  hpconpai  hplgslee  hpburden  hpwryawk  hpnolive  hpbadslp  hpgtalng  hphlpwlk  hpstrspn
hpwlkpai       277
hptemper       275       279
hpnoclse       277       279       281
 hpawake       277       279       281       281
hplocntr       277       275       277       277       277
hpstdpai       277       275       277       277       277       277
hphardre       277       275       277       277       277       277       277
hpnoergy       277       279       281       281       277       277       277       281
hphrdstd       277       279       281       281       277       277       277       281       281
hpconpai       175       175       175       175       175       175       175       175       175       175
hplgslee       197       196       197       197       197       197       197       197       197       173       197
hpburden       164       168       168       168       164       164       164       168       168       159       161       168
hpwryawk       168       172       172       172       168       168       168       172       172       160       166       162       172
hpnolive       159       163       163       163       159       159       159       163       163       159       159       161       160       163
hpbadslp       200       203       204       204       200       200       200       204       204       170       187       165       168       162       204
hpgtalng       156       160       160       160       156       156       156       160       160       156       156       160       160       160       160       160
hphlpwlk       163       167       167       167       163       163       163       167       167       160       161       165       163       161       165       160       167
hpstrspn       209       212       213       213       209       209       209       213       213       172       191       166       169       163       193       160       166       213
hpamdprs       171       175       175       175       171       171       171       175       175       163       167       164       166       162       169       160       164       170
hpsitpai       276       274       276       276       276       276       276       276       276       175       197       164       168       159       200       156       163       209

          hpamdprs  hpsitpai
hpamdprs       175
hpsitpai       171       276

.
.
.   display " unweighted scale construction"
 unweighted scale construction

.   *********************************************************************
.   egen hpspt1u = rowtotal(`hpvars1')

.   label var hpspt1u "health profile scale  part 1 for all"

.   tab hpspt1u, plot

     health |
    profile |
scale  part |
  1 for all |      Freq.
------------+------------+-----------------------------------------------------
          0 |         23 |***********************
          1 |         14 |**************
          2 |          5 |*****
          3 |          4 |****
          4 |          6 |******
          5 |          5 |*****
          6 |          6 |******
          7 |          6 |******
          8 |          5 |*****
          9 |          8 |********
         10 |          2 |**
         11 |          5 |*****
         12 |          3 |***
         13 |          1 |*
         14 |          5 |*****
         15 |          2 |**
         16 |          3 |***
         17 |          5 |*****
         18 |          5 |*****
         19 |          1 |*
         20 |          3 |***
         21 |          1 |*
         27 |          1 |*
         28 |          1 |*
         30 |          1 |*
         47 |          1 |*
         48 |          1 |*
         50 |          1 |*
         52 |          3 |***
         53 |          1 |*
         54 |          3 |***
         55 |          1 |*
         56 |          1 |*
         57 |          2 |**
         58 |          3 |***
         59 |          3 |***
         60 |          3 |***
         61 |          1 |*
         62 |          7 |*******
         63 |          3 |***
         64 |          2 |**
         65 |          4 |****
         66 |          9 |*********
         67 |          4 |****
         68 |          5 |*****
         69 |         12 |************
         70 |          7 |*******
         71 |         14 |**************
         72 |         11 |***********
         73 |         12 |************
         74 |         11 |***********
         75 |         16 |****************
         76 |         19 |*******************
------------+------------+-----------------------------------------------------
      Total |        281

.   tab hpspt1u, nolabel missing

     health |
    profile |
scale  part |
  1 for all |      Freq.     Percent        Cum.
------------+-----------------------------------
          0 |         23        8.19        8.19
          1 |         14        4.98       13.17
          2 |          5        1.78       14.95
          3 |          4        1.42       16.37
          4 |          6        2.14       18.51
          5 |          5        1.78       20.28
          6 |          6        2.14       22.42
          7 |          6        2.14       24.56
          8 |          5        1.78       26.33
          9 |          8        2.85       29.18
         10 |          2        0.71       29.89
         11 |          5        1.78       31.67
         12 |          3        1.07       32.74
         13 |          1        0.36       33.10
         14 |          5        1.78       34.88
         15 |          2        0.71       35.59
         16 |          3        1.07       36.65
         17 |          5        1.78       38.43
         18 |          5        1.78       40.21
         19 |          1        0.36       40.57
         20 |          3        1.07       41.64
         21 |          1        0.36       41.99
         27 |          1        0.36       42.35
         28 |          1        0.36       42.70
         30 |          1        0.36       43.06
         47 |          1        0.36       43.42
         48 |          1        0.36       43.77
         50 |          1        0.36       44.13
         52 |          3        1.07       45.20
         53 |          1        0.36       45.55
         54 |          3        1.07       46.62
         55 |          1        0.36       46.98
         56 |          1        0.36       47.33
         57 |          2        0.71       48.04
         58 |          3        1.07       49.11
         59 |          3        1.07       50.18
         60 |          3        1.07       51.25
         61 |          1        0.36       51.60
         62 |          7        2.49       54.09
         63 |          3        1.07       55.16
         64 |          2        0.71       55.87
         65 |          4        1.42       57.30
         66 |          9        3.20       60.50
         67 |          4        1.42       61.92
         68 |          5        1.78       63.70
         69 |         12        4.27       67.97
         70 |          7        2.49       70.46
         71 |         14        4.98       75.44
         72 |         11        3.91       79.36
         73 |         12        4.27       83.63
         74 |         11        3.91       87.54
         75 |         16        5.69       93.24
         76 |         19        6.76      100.00
------------+-----------------------------------
      Total |        281      100.00

.   summarize hpspt1, detail

            health profile scale  part 1 for all
-------------------------------------------------------------
      Percentiles      Smallest
 1%            0              0
 5%            0              0
10%            1              0       Obs                 281
25%            8              0       Sum of Wgt.         281

50%           59                      Mean           42.31673
                        Largest       Std. Dev.      31.12227
75%           71             76
90%           75             76       Variance       968.5958
95%           76             76       Skewness      -.2667837
99%           76             76       Kurtosis       1.226452

.   egen hpspt1fu = rowtotal(`hpvars1') if gender==1
(198 missing values generated)

.   label var hpspt1fu "health profile scale part 1 for females"

.   tab hpspt1fu, plot

     health |
    profile |
 scale part |
      1 for |
    females |      Freq.
------------+------------+-----------------------------------------------------
          0 |         10 |**********
          1 |          5 |*****
          4 |          1 |*
          5 |          1 |*
          6 |          3 |***
          7 |          1 |*
          8 |          1 |*
          9 |          1 |*
         10 |          1 |*
         12 |          2 |**
         13 |          1 |*
         14 |          1 |*
         15 |          1 |*
         17 |          3 |***
         50 |          1 |*
         52 |          1 |*
         54 |          1 |*
         57 |          1 |*
         59 |          1 |*
         62 |          2 |**
         65 |          2 |**
         66 |          2 |**
         67 |          2 |**
         68 |          1 |*
         69 |          5 |*****
         71 |          3 |***
         72 |          7 |*******
         73 |          3 |***
         74 |          5 |*****
         75 |          5 |*****
         76 |          9 |*********
------------+------------+-----------------------------------------------------
      Total |         83

.   tab hpspt1fu, nolabel missing

     health |
    profile |
 scale part |
      1 for |
    females |      Freq.     Percent        Cum.
------------+-----------------------------------
          0 |         10        3.56        3.56
          1 |          5        1.78        5.34
          4 |          1        0.36        5.69
          5 |          1        0.36        6.05
          6 |          3        1.07        7.12
          7 |          1        0.36        7.47
          8 |          1        0.36        7.83
          9 |          1        0.36        8.19
         10 |          1        0.36        8.54
         12 |          2        0.71        9.25
         13 |          1        0.36        9.61
         14 |          1        0.36        9.96
         15 |          1        0.36       10.32
         17 |          3        1.07       11.39
         50 |          1        0.36       11.74
         52 |          1        0.36       12.10
         54 |          1        0.36       12.46
         57 |          1        0.36       12.81
         59 |          1        0.36       13.17
         62 |          2        0.71       13.88
         65 |          2        0.71       14.59
         66 |          2        0.71       15.30
         67 |          2        0.71       16.01
         68 |          1        0.36       16.37
         69 |          5        1.78       18.15
         71 |          3        1.07       19.22
         72 |          7        2.49       21.71
         73 |          3        1.07       22.78
         74 |          5        1.78       24.56
         75 |          5        1.78       26.33
         76 |          9        3.20       29.54
          . |        198       70.46      100.00
------------+-----------------------------------
      Total |        281      100.00

.   summarize hpspt1fu, detail

           health profile scale part 1 for females
-------------------------------------------------------------
      Percentiles      Smallest
 1%            0              0
 5%            0              0
10%            0              0       Obs                  83
25%            7              0       Sum of Wgt.          83

50%           66                      Mean           45.21687
                        Largest       Std. Dev.      32.09895
75%           73             76
90%           76             76       Variance       1030.343
95%           76             76       Skewness      -.4419559
99%           76             76       Kurtosis       1.318618

.   egen hpspt1mu = rowtotal(`hpvars1') if gender==2
(83 missing values generated)

.   label var hpspt1mu "health profile scale part 1 for males"

.   tab hpspt1mu, plot

     health |
    profile |
 scale part |
1 for males |      Freq.
------------+------------+-----------------------------------------------------
          0 |         13 |*************
          1 |          9 |*********
          2 |          5 |*****
          3 |          4 |****
          4 |          5 |*****
          5 |          4 |****
          6 |          3 |***
          7 |          5 |*****
          8 |          4 |****
          9 |          7 |*******
         10 |          1 |*
         11 |          5 |*****
         12 |          1 |*
         14 |          4 |****
         15 |          1 |*
         16 |          3 |***
         17 |          2 |**
         18 |          5 |*****
         19 |          1 |*
         20 |          3 |***
         21 |          1 |*
         27 |          1 |*
         28 |          1 |*
         30 |          1 |*
         47 |          1 |*
         48 |          1 |*
         52 |          2 |**
         53 |          1 |*
         54 |          2 |**
         55 |          1 |*
         56 |          1 |*
         57 |          1 |*
         58 |          3 |***
         59 |          2 |**
         60 |          3 |***
         61 |          1 |*
         62 |          5 |*****
         63 |          3 |***
         64 |          2 |**
         65 |          2 |**
         66 |          7 |*******
         67 |          2 |**
         68 |          4 |****
         69 |          7 |*******
         70 |          7 |*******
         71 |         11 |***********
         72 |          4 |****
         73 |          9 |*********
         74 |          6 |******
         75 |         11 |***********
         76 |         10 |**********
------------+------------+-----------------------------------------------------
      Total |        198

.   tab hpspt1mu, nolabel missing

     health |
    profile |
 scale part |
1 for males |      Freq.     Percent        Cum.
------------+-----------------------------------
          0 |         13        4.63        4.63
          1 |          9        3.20        7.83
          2 |          5        1.78        9.61
          3 |          4        1.42       11.03
          4 |          5        1.78       12.81
          5 |          4        1.42       14.23
          6 |          3        1.07       15.30
          7 |          5        1.78       17.08
          8 |          4        1.42       18.51
          9 |          7        2.49       21.00
         10 |          1        0.36       21.35
         11 |          5        1.78       23.13
         12 |          1        0.36       23.49
         14 |          4        1.42       24.91
         15 |          1        0.36       25.27
         16 |          3        1.07       26.33
         17 |          2        0.71       27.05
         18 |          5        1.78       28.83
         19 |          1        0.36       29.18
         20 |          3        1.07       30.25
         21 |          1        0.36       30.60
         27 |          1        0.36       30.96
         28 |          1        0.36       31.32
         30 |          1        0.36       31.67
         47 |          1        0.36       32.03
         48 |          1        0.36       32.38
         52 |          2        0.71       33.10
         53 |          1        0.36       33.45
         54 |          2        0.71       34.16
         55 |          1        0.36       34.52
         56 |          1        0.36       34.88
         57 |          1        0.36       35.23
         58 |          3        1.07       36.30
         59 |          2        0.71       37.01
         60 |          3        1.07       38.08
         61 |          1        0.36       38.43
         62 |          5        1.78       40.21
         63 |          3        1.07       41.28
         64 |          2        0.71       41.99
         65 |          2        0.71       42.70
         66 |          7        2.49       45.20
         67 |          2        0.71       45.91
         68 |          4        1.42       47.33
         69 |          7        2.49       49.82
         70 |          7        2.49       52.31
         71 |         11        3.91       56.23
         72 |          4        1.42       57.65
         73 |          9        3.20       60.85
         74 |          6        2.14       62.99
         75 |         11        3.91       66.90
         76 |         10        3.56       70.46
          . |         83       29.54      100.00
------------+-----------------------------------
      Total |        281      100.00

.   summarize hpspt1mu, detail

            health profile scale part 1 for males
-------------------------------------------------------------
      Percentiles      Smallest
 1%            0              0
 5%            0              0
10%            1              0       Obs                 198
25%            8              0       Sum of Wgt.         198

50%         57.5                      Mean           41.10101
                        Largest       Std. Dev.      30.70475
75%           71             76
90%           75             76       Variance       942.7816
95%           76             76       Skewness      -.1961632
99%           76             76       Kurtosis       1.205981

.
. *   weighted scale and subscale construction
. *    energy level [el] (3) items
. *    pain [p] (8) items
. *    emotional reaction [er]
. *    sleep [s] 5 items
. *    social isolation [si] (5) items
. *    physical abilities [pa] 8 items
. ************************************************************************
.  *   The following section Constructs the Weighted Heath Profile scales
.
. *  Part 1 of Weighted Health Profile items
.  gen  whp1el  = hptired * 39.20

.  gen  whp2p   = hppainit * 12.91

.  gen  whp3er  =  hpgtdwn * 9.99

.  gen  whp4p   =  hpunpain * 23.37

.  gen  whp5s   =  hpslepil * 23.37
(4 missing values generated)

.  gen  whp6er  =  hpnojoy * 9.31

.  gen  whp7er  =  hponedge * 7.22

.  gen  whp8p   =  hpcngpos * 9.99

.  gen  whp9si  =  hplonely * 22.01

.  gen  whp10pa =  hpwlkinr * 11.54
(5 missing values generated)

.  gen  whp11pa =  hpnobend * 10.54

.  gen  whp12el =  hpalefrt * 36.80

.  gen  whp13s  =  hpwkgrly * 12.57

.  gen  whp14pa =  honowlk  * 21.30

.  gen  whp15si =  hphrdcnt * 19.36
(1 missing value generated)

.  gen  whp16er =  hpdaydrg * 7.08

.  gen  whp17pa =  hpstairs * 10.79

.  gen  whp18pa =  hphrdrch * 9.30

.  gen  whp19p  =  hpwlkpai * 11.20
(4 missing values generated)

.  gen  whp20er =  hptemper * 9.76
(2 missing values generated)

.  gen  whp21si =  hpnoclse * 20.13

.  gen  whp22s  =  hpawake * 27.26

.  gen  whp23er =  hplocntr * 13.99
(4 missing values generated)

.  gen  whp24p  =  hpstdpai *8.96
(4 missing values generated)

.  gen  whp25pa =  hphardre *12.61
(4 missing values generated)

.  gen  whp26el =  hpnoergy*24.00

.  gen  whp27pa =  hphrdstd*11.20

.  gen  whp28ps =  hpconpai*20.86
(106 missing values generated)

.  gen  whp29s  =  hplgslee*16.10
(84 missing values generated)

.  gen  whp30si =  hpburden*22.53
(113 missing values generated)

.  gen  whp31er =  hpwryawk*13.95
(109 missing values generated)

.  gen  whp32er =  hpnolive*16.21
(118 missing values generated)

.  gen  whp33s =  hpbadslp*21.70
(77 missing values generated)

.  gen  whp34si=  hpgtalng *15.97
(121 missing values generated)

.  gen  whp35pa=  hphlpwlk*12.69
(114 missing values generated)

.  gen  whp36p =  hpstrspn*5.83
(68 missing values generated)

.  gen  whp37er=  hpamdprs*12.01
(106 missing values generated)

.  gen  whp38p =  hpsitpai*10.49
(5 missing values generated)

.
. egen whpel=rowtotal(whp1el whp12el whp26el)

. label var whpel "wtd health profile pt 1 energy level subscale"

.
. egen whppain=rowtotal(whp2p whp4p whp8p whp19p whp24p whp36p whp38p)

. label var whppain "wtd health profile pain pt 1 subscale"

.
. egen whper=rowtotal(whp3er whp6er whp7er whp16er whp20er whp23er whp31er whp32er)

. label var whper "wtd health profile emotional reaction pt 1 subscale"

.
. egen whpsleep=rowtotal( whp5s whp13s whp22s whp29s whp33s)

. label var whps "wtd health profile sleep pt 1 subscale"

.
. egen whpsociso=rowtotal(whp9si whp15si whp21si whp30si whp34si)

. label var whpsociso "wtd health profile social isolation pt 1 subscale"

.
. egen whppa=rowtotal(whp11pa whp14pa whp17pa whp18pa whp25pa whp27pa)

. label var whppa "wtd health profile physical ability pt 1 subscale"

.
. local el "whp1el whp12el whp26el"

. local pain "whp2p whp4p whp8p whp19p whp24p whp36p whp38p"

. local er "whp3er whp6er whp7er whp16er whp20er whp23er whp31er whp32er"

. local slp "whp5s whp13s whp22s whp29s whp33s"

. local sis "whp9si whp15si whp21si whp30si whp34si"

. local phab "whp10pa whp11pa whp14pa whp17pa whp18pa whp25pa whp27pa"

.
. *  summary statistics on weighted health profile pt 1 energy level subscale
. *    energy level
.
. tab whpel, plot

 wtd health |
 profile pt |
   1 energy |
      level |
   subscale |      Freq.
------------+------------+-----------------------------------------------------
          0 |         53 |***********************************
         24 |         16 |**********
       36.8 |          1 |*
       39.2 |          8 |*****
       60.8 |          7 |*****
       63.2 |         18 |************
         76 |          4 |***
        100 |         27 |******************
      121.6 |          1 |*
        124 |          5 |***
      126.4 |          1 |*
      136.8 |         20 |*************
      139.2 |          2 |*
        152 |          2 |*
      160.8 |         20 |*************
        176 |         15 |**********
        200 |         81 |*****************************************************
------------+------------+-----------------------------------------------------
      Total |        281

. tab whpel, nolabel missing

 wtd health |
 profile pt |
   1 energy |
      level |
   subscale |      Freq.     Percent        Cum.
------------+-----------------------------------
          0 |         53       18.86       18.86
         24 |         16        5.69       24.56
       36.8 |          1        0.36       24.91
       39.2 |          8        2.85       27.76
       60.8 |          7        2.49       30.25
       63.2 |         18        6.41       36.65
         76 |          4        1.42       38.08
        100 |         27        9.61       47.69
      121.6 |          1        0.36       48.04
        124 |          5        1.78       49.82
      126.4 |          1        0.36       50.18
      136.8 |         20        7.12       57.30
      139.2 |          2        0.71       58.01
        152 |          2        0.71       58.72
      160.8 |         20        7.12       65.84
        176 |         15        5.34       71.17
        200 |         81       28.83      100.00
------------+-----------------------------------
      Total |        281      100.00

. summarize whpel, detail

        wtd health profile pt 1 energy level subscale
-------------------------------------------------------------
      Percentiles      Smallest
 1%            0              0
 5%            0              0
10%            0              0       Obs                 281
25%         39.2              0       Sum of Wgt.         281

50%        126.4                      Mean           112.2562
                        Largest       Std. Dev.       77.0295
75%          200            200
90%          200            200       Variance       5933.543
95%          200            200       Skewness      -.2463977
99%          200            200       Kurtosis       1.525164

.
. *** for females
. summarize whpel if gender==1, detail

        wtd health profile pt 1 energy level subscale
-------------------------------------------------------------
      Percentiles      Smallest
 1%            0              0
 5%            0              0
10%            0              0       Obs                  83
25%           24              0       Sum of Wgt.          83

50%        160.8                      Mean            120.212
                        Largest       Std. Dev.      83.37085
75%          200            200
90%          200            200       Variance       6950.698
95%          200            200       Skewness       -.396121
99%          200            200       Kurtosis       1.444944

. *** for males
. summarize whpel if gender==2, detail

        wtd health profile pt 1 energy level subscale
-------------------------------------------------------------
      Percentiles      Smallest
 1%            0              0
 5%            0              0
10%            0              0       Obs                 198
25%         39.2              0       Sum of Wgt.         198

50%        110.8                      Mean           108.9212
                        Largest       Std. Dev.      74.17838
75%          176            200
90%          200            200       Variance       5502.432
95%          200            200       Skewness      -.1940094
99%          200            200       Kurtosis       1.588166

.
. *  summary statistics on weighted health pt 1 pain profile subscale
. *    pain
. tab whppain, plot

 wtd health |
    profile |
  pain pt 1 |
   subscale |      Freq.
------------+------------+-----------------------------------------------------
          0 |         57 |****************************************
       5.83 |          8 |******
       9.99 |          1 |*
       11.2 |          3 |**
      12.91 |          2 |*
      14.79 |          2 |*
      17.03 |         10 |*******
      20.48 |          1 |*
      21.87 |          1 |*
      25.99 |          1 |*
      27.02 |          2 |*
       27.7 |          1 |*
      29.94 |          4 |***
      30.15 |          1 |*
       34.1 |          1 |*
      36.48 |          1 |*
       38.9 |          4 |***
      39.93 |          1 |*
      43.53 |          1 |*
   46.46999 |          1 |*
      48.89 |          6 |****
      49.39 |          2 |*
      50.39 |          1 |*
      59.38 |          4 |***
      62.27 |          1 |*
   72.75999 |          2 |*
      82.75 |          3 |**
      92.74 |          2 |*
   93.24001 |          5 |****
   94.20999 |          1 |*
      95.66 |          2 |*
      104.2 |          3 |**
     106.86 |          1 |*
     110.45 |          1 |*
     115.08 |          1 |*
     116.11 |          2 |*
     116.14 |          1 |*
     116.61 |          4 |***
     120.26 |          1 |*
     125.07 |          1 |*
     125.57 |          2 |*
      126.6 |          2 |*
     127.34 |          1 |*
     127.81 |          2 |*
     129.52 |          3 |**
      131.4 |          1 |*
     132.14 |          1 |*
     135.56 |          2 |*
     138.48 |          2 |*
     139.51 |          4 |***
     140.22 |          1 |*
     141.39 |          2 |*
     142.13 |          1 |*
     145.34 |          3 |**
     145.52 |          1 |*
     146.76 |          2 |*
     148.47 |          3 |**
     149.68 |          1 |*
     150.71 |          3 |**
     152.59 |          2 |*
      154.3 |          3 |**
     155.01 |          1 |*
     155.51 |         10 |*******
     156.54 |          1 |*
     159.67 |          5 |****
      165.5 |         75 |*****************************************************
------------+------------+-----------------------------------------------------
      Total |        281

. tab whppain, nolabel missing

 wtd health |
    profile |
  pain pt 1 |
   subscale |      Freq.     Percent        Cum.
------------+-----------------------------------
          0 |         57       20.28       20.28
       5.83 |          8        2.85       23.13
       9.99 |          1        0.36       23.49
       11.2 |          3        1.07       24.56
      12.91 |          2        0.71       25.27
      14.79 |          2        0.71       25.98
      17.03 |         10        3.56       29.54
      20.48 |          1        0.36       29.89
      21.87 |          1        0.36       30.25
      25.99 |          1        0.36       30.60
      27.02 |          2        0.71       31.32
       27.7 |          1        0.36       31.67
      29.94 |          4        1.42       33.10
      30.15 |          1        0.36       33.45
       34.1 |          1        0.36       33.81
      36.48 |          1        0.36       34.16
       38.9 |          4        1.42       35.59
      39.93 |          1        0.36       35.94
      43.53 |          1        0.36       36.30
   46.46999 |          1        0.36       36.65
      48.89 |          6        2.14       38.79
      49.39 |          2        0.71       39.50
      50.39 |          1        0.36       39.86
      59.38 |          4        1.42       41.28
      62.27 |          1        0.36       41.64
   72.75999 |          2        0.71       42.35
      82.75 |          3        1.07       43.42
      92.74 |          2        0.71       44.13
   93.24001 |          5        1.78       45.91
   94.20999 |          1        0.36       46.26
      95.66 |          2        0.71       46.98
      104.2 |          3        1.07       48.04
     106.86 |          1        0.36       48.40
     110.45 |          1        0.36       48.75
     115.08 |          1        0.36       49.11
     116.11 |          2        0.71       49.82
     116.14 |          1        0.36       50.18
     116.61 |          4        1.42       51.60
     120.26 |          1        0.36       51.96
     125.07 |          1        0.36       52.31
     125.57 |          2        0.71       53.02
      126.6 |          2        0.71       53.74
     127.34 |          1        0.36       54.09
     127.81 |          2        0.71       54.80
     129.52 |          3        1.07       55.87
      131.4 |          1        0.36       56.23
     132.14 |          1        0.36       56.58
     135.56 |          2        0.71       57.30
     138.48 |          2        0.71       58.01
     139.51 |          4        1.42       59.43
     140.22 |          1        0.36       59.79
     141.39 |          2        0.71       60.50
     142.13 |          1        0.36       60.85
     145.34 |          3        1.07       61.92
     145.52 |          1        0.36       62.28
     146.76 |          2        0.71       62.99
     148.47 |          3        1.07       64.06
     149.68 |          1        0.36       64.41
     150.71 |          3        1.07       65.48
     152.59 |          2        0.71       66.19
      154.3 |          3        1.07       67.26
     155.01 |          1        0.36       67.62
     155.51 |         10        3.56       71.17
     156.54 |          1        0.36       71.53
     159.67 |          5        1.78       73.31
      165.5 |         75       26.69      100.00
------------+-----------------------------------
      Total |        281      100.00

. summarize whppain, detail

            wtd health profile pain pt 1 subscale
-------------------------------------------------------------
      Percentiles      Smallest
 1%            0              0
 5%            0              0
10%            0              0       Obs                 281
25%        12.91              0       Sum of Wgt.         281

50%       116.14                      Mean           91.56206
                        Largest       Std. Dev.      68.89301
75%        165.5          165.5
90%        165.5          165.5       Variance       4746.247
95%        165.5          165.5       Skewness       -.233355
99%        165.5          165.5       Kurtosis       1.304924

. *** for females
. summarize whppain if gender==1, detail

            wtd health profile pain pt 1 subscale
-------------------------------------------------------------
      Percentiles      Smallest
 1%            0              0
 5%            0              0
10%            0              0       Obs                  83
25%         11.2              0       Sum of Wgt.          83

50%       135.56                      Mean           98.35072
                        Largest       Std. Dev.      70.82753
75%        165.5          165.5
90%        165.5          165.5       Variance        5016.54
95%        165.5          165.5       Skewness      -.4183907
99%        165.5          165.5       Kurtosis       1.380978

. *** for males
. summarize whppain if gender==2, detail

            wtd health profile pain pt 1 subscale
-------------------------------------------------------------
      Percentiles      Smallest
 1%            0              0
 5%            0              0
10%            0              0       Obs                 198
25%        12.91              0       Sum of Wgt.         198

50%        104.2                      Mean           88.71631
                        Largest       Std. Dev.      68.04613
75%       159.67          165.5
90%        165.5          165.5       Variance       4630.276
95%        165.5          165.5       Skewness      -.1586476
99%        165.5          165.5       Kurtosis       1.295752

.
.
. *  summary statistics on weighted health pt 1 emotional reaction profile subscal
. *   emnlrctn
. tab whper, plot

 wtd health |
    profile |
  emotional |
reaction pt |
 1 subscale |      Freq.
------------+------------+-----------------------------------------------------
          0 |         63 |*****************************************************
       9.76 |          3 |***
       9.99 |         22 |*******************
      13.95 |          1 |*
      16.39 |          4 |***
      16.98 |          1 |*
      17.07 |          1 |*
      17.21 |          1 |*
       19.3 |          2 |**
      19.75 |          2 |**
      23.71 |          2 |**
      23.94 |          1 |*
      26.38 |          2 |**
      26.97 |          1 |*
      30.34 |          1 |*
      31.06 |          1 |*
       31.2 |          1 |*
       33.7 |          2 |**
      35.51 |          2 |**
       37.7 |          1 |*
      40.33 |          1 |*
      40.78 |          1 |*
      40.82 |          1 |*
      40.96 |          1 |*
      47.69 |          1 |*
      57.31 |          1 |*
      59.26 |          1 |*
      96.82 |          1 |*
     103.72 |          1 |*
     104.58 |          1 |*
     113.34 |          1 |*
     117.67 |          1 |*
     118.02 |          1 |*
     120.25 |          1 |*
     122.53 |          1 |*
     122.79 |          1 |*
     124.75 |          1 |*
     124.93 |          1 |*
     126.98 |          1 |*
     129.87 |          1 |*
     134.06 |          1 |*
     137.05 |          1 |*
     137.28 |          1 |*
     138.88 |          1 |*
     140.97 |          1 |*
     141.28 |          3 |***
     141.32 |          1 |*
     141.77 |          1 |*
     143.82 |          2 |**
        144 |          1 |*
     144.23 |          1 |*
     145.51 |          1 |*
     145.96 |          1 |*
     147.04 |          1 |*
      148.5 |          2 |**
     148.64 |          1 |*
     151.04 |          1 |*
     151.08 |          2 |**
     151.31 |          1 |*
     151.76 |          1 |*
     153.81 |          1 |*
     153.95 |          1 |*
     155.27 |         18 |***************
     157.81 |          1 |*
     157.95 |          1 |*
     158.18 |          1 |*
     160.86 |          1 |*
     161.07 |          1 |*
     165.03 |         30 |*************************
     165.26 |         11 |*********
     165.71 |          2 |**
     167.94 |          2 |**
     175.02 |         52 |********************************************
------------+------------+-----------------------------------------------------
      Total |        281

. tab whper, nolabel missing

 wtd health |
    profile |
  emotional |
reaction pt |
 1 subscale |      Freq.     Percent        Cum.
------------+-----------------------------------
          0 |         63       22.42       22.42
       9.76 |          3        1.07       23.49
       9.99 |         22        7.83       31.32
      13.95 |          1        0.36       31.67
      16.39 |          4        1.42       33.10
      16.98 |          1        0.36       33.45
      17.07 |          1        0.36       33.81
      17.21 |          1        0.36       34.16
       19.3 |          2        0.71       34.88
      19.75 |          2        0.71       35.59
      23.71 |          2        0.71       36.30
      23.94 |          1        0.36       36.65
      26.38 |          2        0.71       37.37
      26.97 |          1        0.36       37.72
      30.34 |          1        0.36       38.08
      31.06 |          1        0.36       38.43
       31.2 |          1        0.36       38.79
       33.7 |          2        0.71       39.50
      35.51 |          2        0.71       40.21
       37.7 |          1        0.36       40.57
      40.33 |          1        0.36       40.93
      40.78 |          1        0.36       41.28
      40.82 |          1        0.36       41.64
      40.96 |          1        0.36       41.99
      47.69 |          1        0.36       42.35
      57.31 |          1        0.36       42.70
      59.26 |          1        0.36       43.06
      96.82 |          1        0.36       43.42
     103.72 |          1        0.36       43.77
     104.58 |          1        0.36       44.13
     113.34 |          1        0.36       44.48
     117.67 |          1        0.36       44.84
     118.02 |          1        0.36       45.20
     120.25 |          1        0.36       45.55
     122.53 |          1        0.36       45.91
     122.79 |          1        0.36       46.26
     124.75 |          1        0.36       46.62
     124.93 |          1        0.36       46.98
     126.98 |          1        0.36       47.33
     129.87 |          1        0.36       47.69
     134.06 |          1        0.36       48.04
     137.05 |          1        0.36       48.40
     137.28 |          1        0.36       48.75
     138.88 |          1        0.36       49.11
     140.97 |          1        0.36       49.47
     141.28 |          3        1.07       50.53
     141.32 |          1        0.36       50.89
     141.77 |          1        0.36       51.25
     143.82 |          2        0.71       51.96
        144 |          1        0.36       52.31
     144.23 |          1        0.36       52.67
     145.51 |          1        0.36       53.02
     145.96 |          1        0.36       53.38
     147.04 |          1        0.36       53.74
      148.5 |          2        0.71       54.45
     148.64 |          1        0.36       54.80
     151.04 |          1        0.36       55.16
     151.08 |          2        0.71       55.87
     151.31 |          1        0.36       56.23
     151.76 |          1        0.36       56.58
     153.81 |          1        0.36       56.94
     153.95 |          1        0.36       57.30
     155.27 |         18        6.41       63.70
     157.81 |          1        0.36       64.06
     157.95 |          1        0.36       64.41
     158.18 |          1        0.36       64.77
     160.86 |          1        0.36       65.12
     161.07 |          1        0.36       65.48
     165.03 |         30       10.68       76.16
     165.26 |         11        3.91       80.07
     165.71 |          2        0.71       80.78
     167.94 |          2        0.71       81.49
     175.02 |         52       18.51      100.00
------------+-----------------------------------
      Total |        281      100.00

. summarize whper, detail

         wtd health profile emotional reaction pt 1
                          subscale
-------------------------------------------------------------
      Percentiles      Smallest
 1%            0              0
 5%            0              0
10%            0              0       Obs                 281
25%         9.99              0       Sum of Wgt.         281

50%       141.28                      Mean           95.29604
                        Largest       Std. Dev.      75.95254
75%       165.03         175.02
90%       175.02         175.02       Variance       5768.788
95%       175.02         175.02       Skewness      -.2444664
99%       175.02         175.02       Kurtosis       1.179356

. *** for females
. summarize whper if gender==1, detail

         wtd health profile emotional reaction pt 1
                          subscale
-------------------------------------------------------------
      Percentiles      Smallest
 1%            0              0
 5%            0              0
10%            0              0       Obs                  83
25%         9.76              0       Sum of Wgt.          83

50%       151.04                      Mean           102.7957
                        Largest       Std. Dev.      77.16891
75%       175.02         175.02
90%       175.02         175.02       Variance       5955.041
95%       175.02         175.02       Skewness      -.4189642
99%       175.02         175.02       Kurtosis       1.286611

. *** for males
. summarize whper if gender==2, detail

         wtd health profile emotional reaction pt 1
                          subscale
-------------------------------------------------------------
      Percentiles      Smallest
 1%            0              0
 5%            0              0
10%            0              0       Obs                 198
25%         9.99              0       Sum of Wgt.         198

50%       133.46                      Mean           92.15227
                        Largest       Std. Dev.      75.41163
75%       165.03         175.02
90%       175.02         175.02       Variance       5686.914
95%       175.02         175.02       Skewness      -.1743816
99%       175.02         175.02       Kurtosis       1.152925

.
. *  summary statistics on weighted health pt 1 sleep subscale
. *  sleep
. tab whpsleep, plot

 wtd health |
    profile |
 sleep pt 1 |
   subscale |      Freq.
------------+------------+-----------------------------------------------------
          0 |         47 |*************************************
      12.57 |         18 |**************
       16.1 |          2 |**
       21.7 |          8 |******
      28.67 |          6 |*****
      34.27 |          2 |**
       37.8 |          5 |****
      39.47 |          1 |*
      39.83 |          2 |**
      50.37 |         10 |********
      55.93 |          1 |*
      61.17 |          1 |*
      61.53 |          2 |**
      65.06 |          1 |*
      72.33 |          1 |*
      77.63 |          6 |*****
      83.23 |          1 |*
   84.90001 |          1 |*
   88.43001 |          3 |**
        101 |          7 |*****
     110.49 |          2 |**
      122.7 |          1 |*
     124.37 |          1 |*
     128.26 |          1 |*
     136.94 |          4 |***
     140.47 |          4 |***
     146.07 |          3 |**
     149.96 |          1 |*
     151.63 |          5 |****
     155.26 |          1 |*
      158.6 |          1 |*
     158.64 |          1 |*
     162.17 |          2 |**
      164.2 |          3 |**
     167.73 |          3 |**
     173.33 |          5 |****
     174.74 |          2 |**
     176.86 |          2 |**
      180.3 |          3 |**
      185.9 |          6 |*****
     189.43 |         37 |*****************************
        202 |         68 |*****************************************************
------------+------------+-----------------------------------------------------
      Total |        281

. tab whpsleep, nolabel missing

 wtd health |
    profile |
 sleep pt 1 |
   subscale |      Freq.     Percent        Cum.
------------+-----------------------------------
          0 |         47       16.73       16.73
      12.57 |         18        6.41       23.13
       16.1 |          2        0.71       23.84
       21.7 |          8        2.85       26.69
      28.67 |          6        2.14       28.83
      34.27 |          2        0.71       29.54
       37.8 |          5        1.78       31.32
      39.47 |          1        0.36       31.67
      39.83 |          2        0.71       32.38
      50.37 |         10        3.56       35.94
      55.93 |          1        0.36       36.30
      61.17 |          1        0.36       36.65
      61.53 |          2        0.71       37.37
      65.06 |          1        0.36       37.72
      72.33 |          1        0.36       38.08
      77.63 |          6        2.14       40.21
      83.23 |          1        0.36       40.57
   84.90001 |          1        0.36       40.93
   88.43001 |          3        1.07       41.99
        101 |          7        2.49       44.48
     110.49 |          2        0.71       45.20
      122.7 |          1        0.36       45.55
     124.37 |          1        0.36       45.91
     128.26 |          1        0.36       46.26
     136.94 |          4        1.42       47.69
     140.47 |          4        1.42       49.11
     146.07 |          3        1.07       50.18
     149.96 |          1        0.36       50.53
     151.63 |          5        1.78       52.31
     155.26 |          1        0.36       52.67
      158.6 |          1        0.36       53.02
     158.64 |          1        0.36       53.38
     162.17 |          2        0.71       54.09
      164.2 |          3        1.07       55.16
     167.73 |          3        1.07       56.23
     173.33 |          5        1.78       58.01
     174.74 |          2        0.71       58.72
     176.86 |          2        0.71       59.43
      180.3 |          3        1.07       60.50
      185.9 |          6        2.14       62.63
     189.43 |         37       13.17       75.80
        202 |         68       24.20      100.00
------------+-----------------------------------
      Total |        281      100.00

. summarize whpsleep, detail

           wtd health profile sleep pt 1 subscale
-------------------------------------------------------------
      Percentiles      Smallest
 1%            0              0
 5%            0              0
10%            0              0       Obs                 281
25%         21.7              0       Sum of Wgt.         281

50%       146.07                      Mean           114.8903
                        Largest       Std. Dev.      82.63022
75%       189.43            202
90%          202            202       Variance       6827.754
95%          202            202       Skewness      -.2822685
99%          202            202       Kurtosis       1.332749

. *** for females
. summarize whpsleep if gender==1, detail

           wtd health profile sleep pt 1 subscale
-------------------------------------------------------------
      Percentiles      Smallest
 1%            0              0
 5%            0              0
10%            0              0       Obs                  83
25%        28.67              0       Sum of Wgt.          83

50%        164.2                      Mean            122.134
                        Largest       Std. Dev.      84.29204
75%          202            202
90%          202            202       Variance       7105.148
95%          202            202       Skewness      -.4165477
99%          202            202       Kurtosis       1.394136

. *** for males
. summarize whpsleep if gender==2, detail

           wtd health profile sleep pt 1 subscale
-------------------------------------------------------------
      Percentiles      Smallest
 1%            0              0
 5%            0              0
10%            0              0       Obs                 198
25%         16.1              0       Sum of Wgt.         198

50%       140.47                      Mean           111.8537
                        Largest       Std. Dev.      81.94861
75%       189.43            202
90%          202            202       Variance       6715.574
95%          202            202       Skewness      -.2294478
99%          202            202       Kurtosis       1.319498

.
. *  summary statistics on weighted health pt 1 social isolation subscale
. *  social isolation
. tab whpsociso, plot

 wtd health |
    profile |
     social |
  isolation |
       pt 1 |
   subscale |      Freq.
------------+------------+-----------------------------------------------------
          0 |         90 |********************************************
      19.36 |          2 |*
      20.13 |          3 |*
      22.01 |         13 |******
      22.53 |          2 |*
      42.14 |          5 |**
      42.66 |          1 |
      44.54 |          1 |
       61.5 |          1 |
      64.67 |          3 |*
     120.13 |          1 |
     122.53 |          1 |
     135.33 |          2 |*
      138.5 |          2 |*
     139.49 |          1 |
     141.89 |          1 |
     154.94 |          1 |
     157.86 |          5 |**
     159.74 |          1 |
     164.67 |          2 |*
     168.06 |          1 |
     177.47 |          4 |**
     177.99 |         17 |********
     179.87 |         10 |*****
     180.64 |          3 |*
        200 |        108 |*****************************************************
------------+------------+-----------------------------------------------------
      Total |        281

. tab whpsociso, nolabel missing

 wtd health |
    profile |
     social |
  isolation |
       pt 1 |
   subscale |      Freq.     Percent        Cum.
------------+-----------------------------------
          0 |         90       32.03       32.03
      19.36 |          2        0.71       32.74
      20.13 |          3        1.07       33.81
      22.01 |         13        4.63       38.43
      22.53 |          2        0.71       39.15
      42.14 |          5        1.78       40.93
      42.66 |          1        0.36       41.28
      44.54 |          1        0.36       41.64
       61.5 |          1        0.36       41.99
      64.67 |          3        1.07       43.06
     120.13 |          1        0.36       43.42
     122.53 |          1        0.36       43.77
     135.33 |          2        0.71       44.48
      138.5 |          2        0.71       45.20
     139.49 |          1        0.36       45.55
     141.89 |          1        0.36       45.91
     154.94 |          1        0.36       46.26
     157.86 |          5        1.78       48.04
     159.74 |          1        0.36       48.40
     164.67 |          2        0.71       49.11
     168.06 |          1        0.36       49.47
     177.47 |          4        1.42       50.89
     177.99 |         17        6.05       56.94
     179.87 |         10        3.56       60.50
     180.64 |          3        1.07       61.57
        200 |        108       38.43      100.00
------------+-----------------------------------
      Total |        281      100.00

. summarize whpsociso, detail

      wtd health profile social isolation pt 1 subscale
-------------------------------------------------------------
      Percentiles      Smallest
 1%            0              0
 5%            0              0
10%            0              0       Obs                 281
25%            0              0       Sum of Wgt.         281

50%       177.47                      Mean           111.5058
                        Largest       Std. Dev.      91.63334
75%          200            200
90%          200            200       Variance       8396.669
95%          200            200       Skewness      -.2586272
99%          200            200       Kurtosis       1.158299

. *** for females
. summarize whpsociso if gender==1, detail

      wtd health profile social isolation pt 1 subscale
-------------------------------------------------------------
      Percentiles      Smallest
 1%            0              0
 5%            0              0
10%            0              0       Obs                  83
25%            0              0       Sum of Wgt.          83

50%       179.87                      Mean           120.2029
                        Largest       Std. Dev.      91.11778
75%          200            200
90%          200            200       Variance       8302.449
95%          200            200       Skewness      -.4381123
99%          200            200       Kurtosis       1.286082

. *** for males
. summarize whpsociso if gender==2, detail

      wtd health profile social isolation pt 1 subscale
-------------------------------------------------------------
      Percentiles      Smallest
 1%            0              0
 5%            0              0
10%            0              0       Obs                 198
25%            0              0       Sum of Wgt.         198

50%       164.67                      Mean             107.86
                        Largest       Std. Dev.      91.83291
75%          200            200
90%          200            200       Variance       8433.283
95%          200            200       Skewness      -.1855843
99%          200            200       Kurtosis       1.125466

.
. *  summary statistics on weighted health pt 1 physical ability subscale
. *  physical abilities
. tab whppa, plot

 wtd health |
    profile |
   physical |
 ability pt |
 1 subscale |      Freq.
------------+------------+-----------------------------------------------------
          0 |         47 |*********************************
        9.3 |          1 |*
      10.54 |          1 |*
      10.79 |          5 |****
       11.2 |          6 |****
      21.33 |          1 |*
      21.74 |          2 |*
      21.99 |         13 |*********
      30.63 |          2 |*
      31.04 |          4 |***
      32.53 |         22 |****************
      41.83 |         10 |*******
      43.24 |          1 |*
      45.14 |          3 |**
      63.13 |          1 |*
      75.74 |          3 |**
      88.35 |          2 |*
      97.04 |          3 |**
     104.96 |          1 |*
     105.18 |          1 |*
     109.65 |         15 |***********
     115.06 |          1 |*
     115.47 |          1 |*
     117.54 |          1 |*
     118.95 |          8 |******
     118.98 |          1 |*
     120.19 |          3 |**
     120.44 |          2 |*
     120.85 |          1 |*
     129.49 |          6 |****
     129.57 |          1 |*
     129.74 |          3 |**
     130.15 |          4 |***
     131.39 |          1 |*
     132.88 |          2 |*
     140.28 |         11 |********
     140.69 |          6 |****
     140.94 |          5 |****
     142.18 |          5 |****
     151.48 |         75 |*****************************************************
------------+------------+-----------------------------------------------------
      Total |        281

. tab whppa, nolabel missing

 wtd health |
    profile |
   physical |
 ability pt |
 1 subscale |      Freq.     Percent        Cum.
------------+-----------------------------------
          0 |         47       16.73       16.73
        9.3 |          1        0.36       17.08
      10.54 |          1        0.36       17.44
      10.79 |          5        1.78       19.22
       11.2 |          6        2.14       21.35
      21.33 |          1        0.36       21.71
      21.74 |          2        0.71       22.42
      21.99 |         13        4.63       27.05
      30.63 |          2        0.71       27.76
      31.04 |          4        1.42       29.18
      32.53 |         22        7.83       37.01
      41.83 |         10        3.56       40.57
      43.24 |          1        0.36       40.93
      45.14 |          3        1.07       41.99
      63.13 |          1        0.36       42.35
      75.74 |          3        1.07       43.42
      88.35 |          2        0.71       44.13
      97.04 |          3        1.07       45.20
     104.96 |          1        0.36       45.55
     105.18 |          1        0.36       45.91
     109.65 |         15        5.34       51.25
     115.06 |          1        0.36       51.60
     115.47 |          1        0.36       51.96
     117.54 |          1        0.36       52.31
     118.95 |          8        2.85       55.16
     118.98 |          1        0.36       55.52
     120.19 |          3        1.07       56.58
     120.44 |          2        0.71       57.30
     120.85 |          1        0.36       57.65
     129.49 |          6        2.14       59.79
     129.57 |          1        0.36       60.14
     129.74 |          3        1.07       61.21
     130.15 |          4        1.42       62.63
     131.39 |          1        0.36       62.99
     132.88 |          2        0.71       63.70
     140.28 |         11        3.91       67.62
     140.69 |          6        2.14       69.75
     140.94 |          5        1.78       71.53
     142.18 |          5        1.78       73.31
     151.48 |         75       26.69      100.00
------------+-----------------------------------
      Total |        281      100.00

. summarize whppa, detail

      wtd health profile physical ability pt 1 subscale
-------------------------------------------------------------
      Percentiles      Smallest
 1%            0              0
 5%            0              0
10%            0              0       Obs                 281
25%        21.99              0       Sum of Wgt.         281

50%       109.65                      Mean           85.83993
                        Largest       Std. Dev.      61.53243
75%       151.48         151.48
90%       151.48         151.48       Variance        3786.24
95%       151.48         151.48       Skewness       -.257903
99%       151.48         151.48       Kurtosis       1.311307

. *** for females
. summarize whppa if gender==1, detail

      wtd health profile physical ability pt 1 subscale
-------------------------------------------------------------
      Percentiles      Smallest
 1%            0              0
 5%            0              0
10%            0              0       Obs                  83
25%         11.2              0       Sum of Wgt.          83

50%       129.49                      Mean           90.76265
                        Largest       Std. Dev.      64.79168
75%       151.48         151.48
90%       151.48         151.48       Variance       4197.962
95%       151.48         151.48       Skewness      -.4460747
99%       151.48         151.48       Kurtosis        1.35026

. *** for males
. summarize whppa if gender==2, detail

      wtd health profile physical ability pt 1 subscale
-------------------------------------------------------------
      Percentiles      Smallest
 1%            0              0
 5%            0              0
10%            0              0       Obs                 198
25%        21.99              0       Sum of Wgt.         198

50%       109.65                      Mean           83.77636
                        Largest       Std. Dev.      60.16305
75%       151.48         151.48
90%       151.48         151.48       Variance       3619.593
95%       151.48         151.48       Skewness      -.1771985
99%       151.48         151.48       Kurtosis       1.316579

.
.
. * alpha reliabilities of weighted hp pt 1 energy level subscale
. *  energy level
. alpha `el', item detail

Test scale = mean(unstandardized items)

                                                            average
                             item-test     item-rest       interitem
Item         |  Obs  Sign   correlation   correlation     covariance      alpha
-------------+-----------------------------------------------------------------
whp1el       |  281    +       0.9327        0.8256        485.3783      0.8003
whp12el      |  281    +       0.9460        0.8461        435.8793      0.7946
whp26el      |  281    +       0.8820        0.8047        831.9472      0.8896
-------------+-----------------------------------------------------------------
Test scale   |                                             584.4016      0.8864
-------------+-----------------------------------------------------------------

Interitem covariances (obs=281 in all pairs)

            whp1el    whp12el    whp26el
 whp1el   972.0205
whp12el   831.9472  1104.7693
whp26el   435.8793   485.3783   350.3439

. alpha `pain', item detail

Test scale = mean(unstandardized items)

                                                            average
                             item-test     item-rest       interitem
Item         |  Obs  Sign   correlation   correlation     covariance      alpha
-------------+-----------------------------------------------------------------
whp2p        |  281    +       0.9441        0.9209        84.83103      0.8978
whp4p        |  281    +       0.9681        0.9329        58.28625      0.9462
whp8p        |  281    +       0.9233        0.8991        93.02016      0.9056
whp19p       |  277    +       0.9110        0.8838        93.52005      0.9076
whp24p       |  277    +       0.9430        0.9282        96.08862      0.9084
whp36p       |  213    +       0.7375        0.7125        111.3357      0.9358
whp38p       |  276    +       0.9596        0.9451        88.14811      0.8990
-------------+-----------------------------------------------------------------
Test scale   |                                             89.59774      0.9251
-------------+-----------------------------------------------------------------

Interitem covariances (obs=pairwise, see below)

           whp2p     whp4p     whp8p    whp19p    whp24p    whp36p    whp38p
 whp2p  126.7042
 whp4p  219.8992  495.4562
 whp8p   84.8884  173.3787   78.6198
whp19p   87.2692  164.7763   65.1831   80.5912
whp24p   77.0355  152.9901   57.8589   59.8552   59.7922
whp36p   17.6662   35.2023   13.4074   14.0334   13.3488    8.5371
whp38p   98.2132  208.2526   76.8442   73.5577   67.8365   14.9164   98.1575

Pairwise number of observations

         whp2p   whp4p   whp8p  whp19p  whp24p  whp36p  whp38p
 whp2p     281
 whp4p     281     281
 whp8p     281     281     281
whp19p     277     277     277     277
whp24p     277     277     277     277     277
whp36p     213     213     213     209     209     213
whp38p     276     276     276     276     276     209     276

.
. * alpha reliabilities of weighted hp pt 1 emotional reaction subscale
. *  emotional reaction subscale
. alpha `er', item detail

Test scale = mean(unstandardized items)

                                                            average
                             item-test     item-rest       interitem
Item         |  Obs  Sign   correlation   correlation     covariance      alpha
-------------+-----------------------------------------------------------------
whp3er       |  281    +       0.8176        0.7752        44.97479      0.9247
whp6er       |  281    +       0.9579        0.9445        39.77508      0.9104
whp7er       |  281    +       0.9685        0.9610        42.88658      0.9121
whp16er      |  281    +       0.9491        0.9379        43.88047      0.9152
whp20er      |  279    +       0.9074        0.8819        41.37597      0.9160
whp23er      |  277    +       0.9722        0.9580        31.95462      0.9208
whp31er      |  172    +       0.7471        0.6666        50.85199      0.9434
whp32er      |  163    +       0.7053        0.6264        52.21649      0.9447
-------------+-----------------------------------------------------------------
Test scale   |                                             43.72484      0.9340
-------------+-----------------------------------------------------------------

Interitem covariances (obs=pairwise, see below)

           whp3er    whp6er    whp7er   whp16er   whp20er   whp23er   whp31er   whp32er
 whp3er   54.8850
 whp6er   48.0768   76.1908
 whp7er   38.8462   55.7703   47.5132
whp16er   35.8105   53.8276   41.9368   44.2409
whp20er   45.5758   61.2202   49.7991   46.5741   71.5838
whp23er   74.9438  105.8303   87.8355   80.9591   97.5368  176.6376
whp31er   10.3767   15.6051   12.3827   11.6658   10.9803   25.6193   28.1860
whp32er    1.8704    4.0063    5.8904    4.3071    5.6919    8.7472    2.3644    9.3738

Pairwise number of observations

          whp3er   whp6er   whp7er  whp16er  whp20er  whp23er  whp31er  whp32er
 whp3er      281
 whp6er      281      281
 whp7er      281      281      281
whp16er      281      281      281      281
whp20er      279      279      279      279      279
whp23er      277      277      277      277      275      277
whp31er      172      172      172      172      172      168      172
whp32er      163      163      163      163      163      159      160      163

.
.
. * alpha reliabilities of weighted hp pt 1 sleep subscale
. *  sleep subscale
. alpha `slp', item detail

Test scale = mean(unstandardized items)

                                                            average
                             item-test     item-rest       interitem
Item         |  Obs  Sign   correlation   correlation     covariance      alpha
-------------+-----------------------------------------------------------------
whp5s        |  277    +       0.9593        0.9208        95.64569      0.7219
whp13s       |  281    +       0.8047        0.7468        194.7222      0.8223
whp22s       |  281    +       0.9693        0.9331        86.83219      0.7410
whp29s       |  197    +       0.7881        0.7241        206.7966      0.8556
whp33s       |  204    +       0.8091        0.7215        195.5031      0.8458
-------------+-----------------------------------------------------------------
Test scale   |                                              158.185      0.8470
-------------+-----------------------------------------------------------------

Interitem covariances (obs=pairwise, see below)

           whp5s    whp13s    whp22s    whp29s    whp33s
 whp5s  503.0656
whp13s  154.7574   89.6379
whp22s  518.8892  173.2453  618.0033
whp29s   90.8486   27.6688  102.3219   61.1035
whp33s  126.8077   42.1023  143.0146   50.3534  113.3788

Pairwise number of observations

         whp5s  whp13s  whp22s  whp29s  whp33s
 whp5s     277
whp13s     277     281
whp22s     277     281     281
whp29s     197     197     197     197
whp33s     200     204     204     187     204

.
.
. * alpha reliabilities of weighted hp pt 1 social isolation subscale
. *  social isolation subscale
. alpha `sis', item detail

Test scale = mean(unstandardized items)

                                                            average
                             item-test     item-rest       interitem
Item         |  Obs  Sign   correlation   correlation     covariance      alpha
-------------+-----------------------------------------------------------------
whp9si       |  281    +       0.9535        0.9138        96.15965      0.7306
whp15si      |  280    +       0.9711        0.9462        97.17606      0.7194
whp21si      |  281    +       0.9614        0.9321        99.53017      0.7269
whp30si      |  168    +       0.7396        0.6056        211.0407      0.8956
whp34si      |  160    +       0.4743        0.2758        219.8671      0.9023
-------------+-----------------------------------------------------------------
Test scale   |                                              150.392      0.8587
-------------+-----------------------------------------------------------------

Interitem covariances (obs=pairwise, see below)

           whp9si   whp15si   whp21si   whp30si   whp34si
 whp9si  388.1678
whp15si  331.5963  354.4858
whp21si  330.2350  324.5644  353.1279
whp30si   39.3442   42.2406   32.7021   63.3777
whp34si    5.5267    6.9031    1.7186    3.3944   15.3987

Pairwise number of observations

          whp9si  whp15si  whp21si  whp30si  whp34si
 whp9si      281
whp15si      280      280
whp21si      281      280      281
whp30si      168      168      168      168
whp34si      160      160      160      160      160

.
.
. * alpha reliabilities of weighted hp pt 1 physical ability subscale
. *  physical ability subscale
. alpha `phab',item detail

Test scale = mean(unstandardized items)

                                                            average
                             item-test     item-rest       interitem
Item         |  Obs  Sign   correlation   correlation     covariance      alpha
-------------+-----------------------------------------------------------------
whp10pa      |  276    +       0.9649        0.9511        98.44294      0.9289
whp11pa      |  281    +       0.8938        0.8649        111.0237      0.9404
whp14pa      |  281    +       0.9736        0.9483         73.4779      0.9586
whp17pa      |  281    +       0.8684        0.8357        113.0078      0.9429
whp18pa      |  281    +       0.9251        0.9057        110.3028      0.9385
whp25pa      |  277    +       0.9710        0.9584         95.2577      0.9271
whp27pa      |  281    +       0.8557        0.8195        113.1132      0.9436
-------------+-----------------------------------------------------------------
Test scale   |                                             102.0831      0.9476
-------------+-----------------------------------------------------------------

Interitem covariances (obs=pairwise, see below)

          whp10pa   whp11pa   whp14pa   whp17pa   whp18pa   whp25pa   whp27pa
whp10pa  129.0852
whp11pa   76.9276   71.8198
whp14pa  232.0028  142.3995  434.4537
whp17pa   70.7678   58.1396  131.9957   67.0016
whp18pa   81.7952   58.3896  153.5928   53.1553   69.2777
whp25pa  135.1662   85.2701  249.8148   78.6006   89.9627  150.1268
whp27pa   71.1664   57.8807  132.0115   56.6717   52.9723   77.0465   69.2024

Pairwise number of observations

         whp10pa  whp11pa  whp14pa  whp17pa  whp18pa  whp25pa  whp27pa
whp10pa      276
whp11pa      276      281
whp14pa      276      281      281
whp17pa      276      281      281      281
whp18pa      276      281      281      281      281
whp25pa      276      277      277      277      277      277
whp27pa      276      281      281      281      281      277      281

.
.  * health profile part 2
. loc hp2 "hp2work1-hp2vacatn"

.
. replace  hp2work1 =  hpprbwk
(205 real changes made)

.  label var hp2work "paid employment"

.  replace  hp2hmcare  =  hpprbcln
(201 real changes made)

.  label var hp2hmcare "home cleaning cooking and repairs"

. gen  hp2social  =  hpprobsc

.  label var hp2social "social life"

. gen  hp2fmprb  =  hpprobho

.  label var hp2fmprb "relations with family members at home"

. replace  hp2sxlife  =  hpprosex
(212 real changes made)

.  label var hp2sxlife "sex life"

. replace  hp2inthob  =  hpproint
(240 real changes made)

.  label var hp2inthob "interests and hobbies"

. replace  hp2vacatn  =  hpprovac
(242 real changes made)

.  label var hp2vacatn "vacations"

.
.  foreach va of varlist `hp2' {
  2.     display "health profile part 2 tables"
  3.     tab `va', plot
  4.         tab `va', nolabel missing
  5.    }
health profile part 2 tables

       paid |
 employment |      Freq.
------------+------------+-----------------------------------------------------
     1. yes |         76 |********************
          2 |        205 |*****************************************************
------------+------------+-----------------------------------------------------
      Total |        281

       paid |
 employment |      Freq.     Percent        Cum.
------------+-----------------------------------
          1 |         76       27.05       27.05
          2 |        205       72.95      100.00
------------+-----------------------------------
      Total |        281      100.00
health profile part 2 tables

       home |
   cleaning |
cooking and |
    repairs |      Freq.
------------+------------+-----------------------------------------------------
     1. yes |         80 |*********************
          2 |        201 |*****************************************************
------------+------------+-----------------------------------------------------
      Total |        281

       home |
   cleaning |
cooking and |
    repairs |      Freq.     Percent        Cum.
------------+-----------------------------------
          1 |         80       28.47       28.47
          2 |        201       71.53      100.00
------------+-----------------------------------
      Total |        281      100.00
health profile part 2 tables

     health |
causing prb |
with social |
       life |      Freq.
------------+------------+-----------------------------------------------------
      0. no |        242 |*****************************************************
     1. yes |         39 |*********
------------+------------+-----------------------------------------------------
      Total |        281

     health |
causing prb |
with social |
       life |      Freq.     Percent        Cum.
------------+-----------------------------------
          0 |        242       86.12       86.12
          1 |         39       13.88      100.00
------------+-----------------------------------
      Total |        281      100.00
health profile part 2 tables

     health |
causing prb |
with family |
 members at |
       home |      Freq.
------------+------------+-----------------------------------------------------
      0. no |        256 |*****************************************************
     1. yes |         24 |*****
------------+------------+-----------------------------------------------------
      Total |        280

     health |
causing prb |
with family |
 members at |
       home |      Freq.     Percent        Cum.
------------+-----------------------------------
          0 |        256       91.10       91.10
          1 |         24        8.54       99.64
          . |          1        0.36      100.00
------------+-----------------------------------
      Total |        281      100.00
health profile part 2 tables

   sex life |      Freq.
------------+------------+-----------------------------------------------------
      0. no |          1 |
     1. yes |         68 |*****************
          2 |        212 |*****************************************************
------------+------------+-----------------------------------------------------
      Total |        281

   sex life |      Freq.     Percent        Cum.
------------+-----------------------------------
          0 |          1        0.36        0.36
          1 |         68       24.20       24.56
          2 |        212       75.44      100.00
------------+-----------------------------------
      Total |        281      100.00
health profile part 2 tables

  interests |
and hobbies |      Freq.
------------+------------+-----------------------------------------------------
      0. no |          3 |*
     1. yes |         38 |********
          2 |        240 |*****************************************************
------------+------------+-----------------------------------------------------
      Total |        281

  interests |
and hobbies |      Freq.     Percent        Cum.
------------+-----------------------------------
          0 |          3        1.07        1.07
          1 |         38       13.52       14.59
          2 |        240       85.41      100.00
------------+-----------------------------------
      Total |        281      100.00
health profile part 2 tables

  vacations |      Freq.
------------+------------+-----------------------------------------------------
      0. no |          1 |
     1. yes |         38 |********
          2 |        242 |*****************************************************
------------+------------+-----------------------------------------------------
      Total |        281

  vacations |      Freq.     Percent        Cum.
------------+-----------------------------------
          0 |          1        0.36        0.36
          1 |         38       13.52       13.88
          2 |        242       86.12      100.00
------------+-----------------------------------
      Total |        281      100.00

.
.
end of do-file

. do "/var/folders/pe/pe0f4YgGFgmf-hE+VLvhN++++TI/-Tmp-//SD03252.000000"

. cap log close _all