------------------------------------------------------------------------------- log: C:\~SLJF\makeverifyfiles\spostverify\done\brantverify.log log type: text opened on: 25 Mar 2001, 14:16:13 . * brant: version 1.0.7 . * verified: 2/22/01 . which brant c:\stata\ado\stbplus\b\brant.ado *! version 1.0.7 2/11/01 added interpretation of test statistic . * brant without detail checking r() results . use ordwarm2,clear (77 & 89 General Social Survey) . ologit warm yr89 male white age ed prst, nolog Ordered logit estimates Number of obs = 2293 LR chi2(6) = 301.72 Prob > chi2 = 0.0000 Log likelihood = -2844.9123 Pseudo R2 = 0.0504 ------------------------------------------------------------------------------ warm | Coef. Std. Err. z P>|z| [95% Conf. Interval] -------------+---------------------------------------------------------------- yr89 | .5239025 .0798988 6.56 0.000 .3673037 .6805013 male | -.7332997 .0784827 -9.34 0.000 -.8871229 -.5794766 white | -.3911595 .1183808 -3.30 0.001 -.6231815 -.1591374 age | -.0216655 .0024683 -8.78 0.000 -.0265032 -.0168278 ed | .0671728 .015975 4.20 0.000 .0358624 .0984831 prst | .0060727 .0032929 1.84 0.065 -.0003813 .0125267 -------------+---------------------------------------------------------------- _cut1 | -2.465362 .2389126 (Ancillary parameters) _cut2 | -.630904 .2333155 _cut3 | 1.261854 .2340179 ------------------------------------------------------------------------------ . brant Brant Test of Parallel Regression Assumption Variable | chi2 p>chi2 df -------------+-------------------------- All | 49.18 0.000 12 -------------+-------------------------- yr89 | 13.01 0.001 2 male | 22.24 0.000 2 white | 1.27 0.531 2 age | 7.38 0.025 2 ed | 4.31 0.116 2 prst | 4.33 0.115 2 ---------------------------------------- A significant test statistic provides evidence that the parallel regression assumption has been violated. . di "r(chi2): " r(chi2) r(chi2): 49.181219 . di "r(df): " r(df) r(df): 12 . di "r(p): " r(p) r(p): 1.944e-06 . di "Matrix r(ivtests)" Matrix r(ivtests) . mat list r(ivtests) r(ivtests)[6,2] chi2 p>chi2 yr89 13.013115 .00149361 male 22.237896 .00001483 white 1.2678555 .53050401 age 7.3832638 .02493128 ed 4.3103527 .11588275 prst 4.3319911 .11463575 . . * brant with detail . brant, detail Estimated coefficients from j-1 binary regressions y>1 y>2 y>3 yr89 .9647422 .56540626 .31907316 male -.30536425 -.69054232 -1.0837888 white -.55265759 -.31427081 -.39299842 age -.0164704 -.02533448 -.01859051 ed .10479624 .05285265 .05755466 prst -.00141118 .00953216 .00553043 _cons 1.8584045 .73032873 -1.0245168 Brant Test of Parallel Regression Assumption Variable | chi2 p>chi2 df -------------+-------------------------- All | 49.18 0.000 12 -------------+-------------------------- yr89 | 13.01 0.001 2 male | 22.24 0.000 2 white | 1.27 0.531 2 age | 7.38 0.025 2 ed | 4.31 0.116 2 prst | 4.33 0.115 2 ---------------------------------------- A significant test statistic provides evidence that the parallel regression assumption has been violated. . . * using long names in Stata 7 . rename warm warm_stupid_long_name_warm . rename yr89 yr89_stupid_long_name_yr89 . rename male male_stupid_long_name_male . rename white white__stupid_long_name_white . rename age age_stupid_long_name_age . rename ed ed_stupid_long_name_ed . rename prst prst_stupid_long_name_prst . quietly ologit warm_ yr89 male white age ed prst, nolog . brant Brant Test of Parallel Regression Assumption Variable | chi2 p>chi2 df -------------+-------------------------- All | 49.18 0.000 12 -------------+-------------------------- yr89_stup~89 | 13.01 0.001 2 male_stupi~e | 22.24 0.000 2 white__stu~e | 1.27 0.531 2 age_stupid~e | 7.38 0.025 2 ed_stupid_~d | 4.31 0.116 2 prst_stupi~t | 4.33 0.115 2 ---------------------------------------- A significant test statistic provides evidence that the parallel regression assumption has been violated. . brant, detail Estimated coefficients from j-1 binary regressions y>1 y>2 y>3 yr89_stupid_long_name_yr89 .9647422 .56540626 .31907316 male_stupid_long_name_male -.30536425 -.69054232 -1.0837888 white__stupid_long_name_white -.55265759 -.31427081 -.39299842 age_stupid_long_name_age -.0164704 -.02533448 -.01859051 ed_stupid_long_name_ed .10479624 .05285265 .05755466 prst_stupid_long_name_prst -.00141118 .00953216 .00553043 _cons 1.8584045 .73032873 -1.0245168 Brant Test of Parallel Regression Assumption Variable | chi2 p>chi2 df -------------+-------------------------- All | 49.18 0.000 12 -------------+-------------------------- yr89_stup~89 | 13.01 0.001 2 male_stupi~e | 22.24 0.000 2 white__stu~e | 1.27 0.531 2 age_stupid~e | 7.38 0.025 2 ed_stupid_~d | 4.31 0.116 2 prst_stupi~t | 4.33 0.115 2 ---------------------------------------- A significant test statistic provides evidence that the parallel regression assumption has been violated. . . log close log: C:\~SLJF\makeverifyfiles\spostverify\done\brantverify.log log type: text closed on: 25 Mar 2001, 14:16:15 -------------------------------------------------------------------------------