[S] ordinal outcomes

Hui-Lin Hu (huilin@u.washington.edu)
Mon, 23 Mar 1998 18:12:59 -0800 (PST)


Hi there,

This should be easy for those who has ever used Harrell's lrm function.
It is the first time for me to use this function, but I have not been able
to make it work. I am not sure what went wrong. Could any of you help me?
What exactly should be written in () of lrm()?

Here is the cheese data from page 175 of McCullagha and Nelder.
How to use lrm() to get the logistic treatment effects on page 176 of this
book?

col 1 (x1) = 1 if Cheese = A
col 2 (x2) = 1 if Cheese = B
col 3 (x3) = 1 if Cheese = C
col 4 (y) : Response category
col 5 (wt) : Count in each cell of the crosstable "Cheese * Categorical
Response"

1 0 0 1 0
1 0 0 2 0
1 0 0 3 1
1 0 0 4 7
1 0 0 5 8
1 0 0 6 8
1 0 0 7 19
1 0 0 8 8
1 0 0 9 1
0 1 0 1 6
0 1 0 2 9
0 1 0 3 12
0 1 0 4 11
0 1 0 5 7
0 1 0 6 6
0 1 0 7 1
0 1 0 8 0
0 1 0 9 0
0 0 1 1 1
0 0 1 2 1
0 0 1 3 6
0 0 1 4 8
0 0 1 5 23
0 0 1 6 7
0 0 1 7 5
0 0 1 8 1
0 0 1 9 0
0 0 0 1 0
0 0 0 2 0
0 0 0 3 0
0 0 0 4 1
0 0 0 5 3
0 0 0 6 7
0 0 0 7 14
0 0 0 8 16
0 0 0 9 11

-----------------------------------------------------------------------
This message was distributed by s-news@wubios.wustl.edu. To unsubscribe
send e-mail to s-news-request@wubios.wustl.edu with the BODY of the
message: unsubscribe s-news