Re: [R] alternative to logistic regression

2007-11-19 Thread Greg Snow
rof Brian Ripley; [EMAIL PROTECTED] > Cc: r-help@r-project.org; Terry Therneau > Subject: Re: [R] alternative to logistic regression > > >From: Prof Brian Ripley <[EMAIL PROTECTED]> > >Date: 2007/11/16 Fri AM 09:44:59 CST > >To: [EMAIL PROTECTED] > >Cc: Terr

Re: [R] alternative to logistic regression

2007-11-16 Thread markleeds
>From: Prof Brian Ripley <[EMAIL PROTECTED]> >Date: 2007/11/16 Fri AM 09:28:27 CST >To: Terry Therneau <[EMAIL PROTECTED]> >Cc: [EMAIL PROTECTED], r-help@r-project.org >Subject: Re: [R] alternative to logistic regression Thanks to both of you, Terry and Brian for your

Re: [R] alternative to logistic regression

2007-11-16 Thread Prof Brian Ripley
On Fri, 16 Nov 2007, Terry Therneau wrote: > You can fit a linear probability model with glm and a bit of arm twisting. > First, make your own copy of the binomial function: > > dump('binomial', file='mybinom.R') > > Edit it to change the function name to "mybinom" (or anything else you > like),

Re: [R] alternative to logistic regression

2007-11-16 Thread Prof Brian Ripley
On Fri, 16 Nov 2007, Terry Therneau wrote: > Brian Ripley wrote > "Hmm ... I think you are generalizing from another R-like system." > > Actually no, I was reading R source code that has no comments, and assumed > incorrectly that 1. the variable "okLinks" was the list of allowed links and > that

Re: [R] alternative to logistic regression

2007-11-16 Thread Terry Therneau
Brian Ripley wrote "Hmm ... I think you are generalizing from another R-like system." Actually no, I was reading R source code that has no comments, and assumed incorrectly that 1. the variable "okLinks" was the list of allowed links and that 2. the error message further in the code

Re: [R] alternative to logistic regression

2007-11-16 Thread Terry Therneau
You can fit a linear probability model with glm and a bit of arm twisting. First, make your own copy of the binomial function: > dump('binomial', file='mybinom.R') Edit it to change the function name to "mybinom" (or anything else you like), and to add 'identity' to the list of okLinks. So

Re: [R] alternative to logistic regression

2007-11-16 Thread markleeds
>From: Prof Brian Ripley <[EMAIL PROTECTED]> >Date: 2007/11/16 Fri AM 09:44:59 CST >To: [EMAIL PROTECTED] >Cc: Terry Therneau <[EMAIL PROTECTED]>, r-help@r-project.org >Subject: Re: Re: [R] alternative to logistic regression Thanks Brian: I'll look at the MASS b

Re: [R] alternative to logistic regression

2007-11-16 Thread roger koenker
Perhaps I could just add that my experience with step halving in glm -- fitting models with somewhat non-standard links for binary response [as reported in Rnews: http://cran.r-project.org/doc/Rnews/ Rnews_2006-4.pdf] was excellent. Once some scaling issues for the links were resolved, we had

Re: [R] alternative to logistic regression

2007-11-16 Thread Prof Brian Ripley
On Fri, 16 Nov 2007, [EMAIL PROTECTED] wrote: >> From: Prof Brian Ripley <[EMAIL PROTECTED]> >> Date: 2007/11/16 Fri AM 09:28:27 CST >> To: Terry Therneau <[EMAIL PROTECTED]> >> Cc: [EMAIL PROTECTED], r-help@r-project.org >> Subject: Re: [R] alternative