From bullard at berkeley.edu  Tue Oct 25 16:31:02 2005
From: bullard at berkeley.edu (James Bullard)
Date: Tue, 25 Oct 2005 07:31:02 -0700
Subject: [Rd] native logistic regression
In-Reply-To: <435E2747.7090008@DecisionSynergy.com>
References: <435E1A4D.102@DecisionSynergy.com>	<Pine.LNX.4.61.0510251254220.10299@gannet.stats>
	<435E2747.7090008@DecisionSynergy.com>
Message-ID: <435E41A6.7020108@berkeley.edu>

Hello, thanks for the answers to my last questions and apologies for not 
seeing the answers staring me down in the manual. At the risk of asking 
another potentially obvious question ... we are currently using some of 
the NAG routines for model fitting and I am trying to re-write the 
relevant portions of the code to use R's built in utilities (dqrls).  
The next step is to implement logistic regression (iteratively 
reweighted least-squares logistic link fn). glm does the iteration in R 
and it is just not acceptable to call R's routine from C - my first 
inclination was just to rewrite the loop of R in C, but I thought I 
would ask first to see: 1) if there was a standard C or Fortran routine 
in R for doing iteratively reweighted least squares using the logistic 
link function, and 2) if there is no routine in the core libraries of R, 
do people have knowledge of R packages which have implemented this 
natively?

Thanks again for all of the help, jim



[Rd] native logistic regression
James Bullard