Programming the statistical procedures from SAS

HPMIXED coefficients...need help

Reply
Contributor
Posts: 26

HPMIXED coefficients...need help

Hi,

 

When I run the following code, I get unexpected model coefficients.  I don't understand why the overall intercept does not have a coefficient but the last categorical variable "opergroup4" has one for each level.  Has anyone else encountered this or know what could be going on?  There are 796 records in the analysis represent by 606 patients (visitlink).

 

 

PROC HPMIXED data=cat5 order=internal;
title 'ACHDcat5';
CLASS visitlink hospst hospid recordno readmission_flag(ref='Yes') pay1 race female(ref='Yes') dxccsgroup1(ref='Yes') dxccsgroup5(ref='Yes') dxccsgroup8(ref='Yes') dxccsgroup11(ref='Yes') dxccsgroup20(ref='Yes') dxccsgroup21(ref='Yes') dxccsgroup23(ref='Yes') dxccsgroup25(ref='Yes') dxccsgroup27(ref='Yes') dxccsgroup30(ref='Yes') dxccsgroup33(ref='Yes') dxccsgroup37(ref='Yes') dxccsgroup38(ref='Yes') dxccsgroup42(ref='Yes') opergroup4(ref='Yes');
MODEL los= readmission_flag age pay1 race female dxccsgroup1 dxccsgroup5 dxccsgroup8 dxccsgroup11 dxccsgroup20 dxccsgroup21 dxccsgroup23 dxccsgroup25 dxccsgroup27 dxccsgroup30 dxccsgroup33 dxccsgroup37 dxccsgroup38 dxccsgroup42 opergroup4/solution cl;
TEST readmission_flag age pay1 race female dxccsgroup1 dxccsgroup5 dxccsgroup8 dxccsgroup11 dxccsgroup20 dxccsgroup21 dxccsgroup23 dxccsgroup25 dxccsgroup27 dxccsgroup30 dxccsgroup33 dxccsgroup37 dxccsgroup38 dxccsgroup42 opergroup4;
RANDOM int / type=un subject=hospid;
RANDOM int / type=un subject=hospst;
REPEATED recordno / subject=visitlink(hospid); * Corrected this statement from what Sara had used.;
RUN;

 

 (sorry about this looonng table)

Solution for Fixed Effects
Effect Indicator variable for subject readmitted within 1 year Primary expected payer (uniform) Race (uniform) Indicator of sex CCS diagnosis group 1: Bacterial infection CCS diagnosis group 5: Diabetes without complications CCS diagnosis group 8: Anemia CCS diagnosis group 11: Coagulopathy CCS diagnosis group 20: Hypertension with complications CCS diagnosis group 21: CAD CCS diagnosis group 23: Pulmonary heart disease CCS diagnosis group 25: Arrhythmia CCS diagnosis group 27: CHF CCS diagnosis group 30: PVD CCS diagnosis group 33: Reactive airway disease CCS diagnosis group 37: Renal disease CCS diagnosis group 38: CKD CCS diagnosis group 42: Complications of surgeries or medical care Operative group 4: Aortic valve operations Estimate Standard Error DF t Value Pr > |t| Alpha Lower Upper
Intercept                                       0 . . . . . . .
readmission_flag No                                     0 . . . . . . .
readmission_flag Yes                                     -0.09869 0.4113 768 -0.24 0.8104 0.05 -0.9062 0.7088
age                                       -0.00563 0.01451 768 -0.39 0.6983 0.05 -0.03412 0.02286
PAY1   Medicare                                   0 . . . . . . .
PAY1   Medicaid                                   0.2292 0.5888 768 0.39 0.6972 0.05 -0.9266 1.3850
PAY1   Private Ins                                   0.3950 0.5451 768 0.72 0.4688 0.05 -0.6750 1.4651
PAY1   Self-pay                                   0.6012 1.3416 768 0.45 0.6542 0.05 -2.0324 3.2348
PAY1   No charge                                   0.9239 2.0704 768 0.45 0.6556 0.05 -3.1405 4.9882
PAY1   Other                                   3.0514 1.2960 768 2.35 0.0188 0.05 0.5072 5.5956
race     White                                 0 . . . . . . .
race     Black                                 0.8768 0.7037 768 1.25 0.2131 0.05 -0.5046 2.2582
race     Hispanic                                 0.4143 0.5443 768 0.76 0.4468 0.05 -0.6542 1.4828
race     Asian/Pacific Islander                                 1.0556 1.0151 768 1.04 0.2987 0.05 -0.9371 3.0484
race     Other                                 0.08304 0.9568 768 0.09 0.9309 0.05 -1.7953 1.9613
female       No                               0 . . . . . . .
female       Yes                               -0.2245 0.4147 768 -0.54 0.5885 0.05 -1.0386 0.5896
dxccsgroup1         No                             0 . . . . . . .
dxccsgroup1         Yes                             2.5573 0.5039 768 5.08 <.0001 0.05 1.5682 3.5464
dxccsgroup5           No                           -2.1070 0.7340 768 -2.87 0.0042 0.05 -3.5478 -0.6661
dxccsgroup5           Yes                           0 . . . . . . .
dxccsgroup8             No                         0 . . . . . . .
dxccsgroup8             Yes                         2.7604 0.6129 768 4.50 <.0001 0.05 1.5573 3.9634
dxccsgroup11               No                       0 . . . . . . .
dxccsgroup11               Yes                       -0.4388 0.6534 768 -0.67 0.5021 0.05 -1.7215 0.8439
dxccsgroup20                 No                     0.5208 1.2443 768 0.42 0.6757 0.05 -1.9218 2.9634
dxccsgroup20                 Yes                     0 . . . . . . .
dxccsgroup21                   No                   0 . . . . . . .
dxccsgroup21                   Yes                   1.3057 0.6980 768 1.87 0.0618 0.05 -0.06455 2.6760
dxccsgroup23                     No                 0 . . . . . . .
dxccsgroup23                     Yes                 0.5802 0.4570 768 1.27 0.2046 0.05 -0.3170 1.4774
dxccsgroup25                       No               0 . . . . . . .
dxccsgroup25                       Yes               0.6003 0.4397 768 1.37 0.1726 0.05 -0.2630 1.4635
dxccsgroup27                         No             0 . . . . . . .
dxccsgroup27                         Yes             2.2068 0.4856 768 4.54 <.0001 0.05 1.2536 3.1601
dxccsgroup30                           No           0 . . . . . . .
dxccsgroup30                           Yes           -0.8242 1.1557 768 -0.71 0.4760 0.05 -3.0930 1.4445
dxccsgroup33                             No         0 . . . . . . .
dxccsgroup33                             Yes         0.6848 0.5943 768 1.15 0.2496 0.05 -0.4819 1.8514
dxccsgroup37                               No       0 . . . . . . .
dxccsgroup37                               Yes       3.6362 0.8379 768 4.34 <.0001 0.05 1.9914 5.2811
dxccsgroup38                                 No     0 . . . . . . .
dxccsgroup38                                 Yes     -0.7769 1.1305 768 -0.69 0.4922 0.05 -2.9961 1.4424
dxccsgroup42                                   No   0 . . . . . . .
dxccsgroup42                                   Yes   4.1242 0.7434 768 5.55 <.0001 0.05 2.6648 5.5835
opergroup4                                     No 5.0589 1.8299 768 2.76 0.0058 0.05 1.4667 8.6511
opergroup4                                     Yes 9.0452 2.6062 768 3.47 0.0005 0.05 3.9292 14.1613

 

 

Ask a Question
Discussion stats
  • 0 replies
  • 99 views
  • 0 likes
  • 1 in conversation