Nick Cox had written a command named -t2way5- (SSC) to execute Tukey's Two-Way Analysis by Medians. It gives results that seems interesting, however I can't fully appreciate it. I also cannot find more materials about the Tukey's Two-Way Analysis by Medians. What's the difference between Tukey's model and log-linear model that is usually used to fit contingency table?
https://ideas.repec.org/c/boc/bocode....html#download
Code:
webuse citytemp2 table region agecat, cont(media tempjan) t2way5 region agecat, summari(tempjan)
Code:
. table region agecat, cont(media tempjan) ------------------------------- Census | agecat Region | 19-29 30-34 35+ ----------+-------------------- NE | 23.5 29.6 31.3 N Cntrl | 20.2 25.5 29.55 South | 39.2 50.6 65.7 West | 44.6 54.9 57.2 ------------------------------- . t2way5 region agecat, summari(tempjan) Grand effect: 29.6 Row Label Effect ------------------------------ 1 NE 0 2 N Cntrl -2.35 3 South 21 4 West 25.3 Col Label Effect ------------------------------ 1 19-29 -10.3 2 30-34 0 3 35+ 2.299999
0 Response to How to explain the results of t2way5 i.e. Tukey's Two-Way Analysis by Medians
Post a Comment