[R] leverage
Peter Dalgaard BSA
p.dalgaard at biostat.ku.dk
Mon Aug 11 17:21:03 CEST 2003
Martin Maechler <maechler at stat.math.ethz.ch> writes:
> >>>>> "jane" == jane murray <jmurray at liverpool.ac.uk>
> >>>>> on Wed, 06 Aug 2003 09:16:48 +0100 writes:
>
> jane> Hi Can anyone help with the technique of obtaining
> jane> leverages from a conditional logistic regression
> jane> model? The code lm.influence does not seem to work
> jane> for this data. Thanks Jane Murray
>
> But the generic influence() function {new in 1.7.0, from original
> code of John Fox} has an S3 method, influence.glm(), that should work.
> If not, that might indicate a bug we'd be interested to hear about.
I suspect you overlooked the "conditional" there. I.e. this is for
models fitted using clogit() from survival (and I think it has a
competitor, but I forgot where..) Since this works by hijacking coxph
it probably cannot work to apply GLM methods on the result.
--
O__ ---- Peter Dalgaard Blegdamsvej 3
c/ /'_ --- Dept. of Biostatistics 2200 Cph. N
(*) \(*) -- University of Copenhagen Denmark Ph: (+45) 35327918
~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk) FAX: (+45) 35327907
More information about the R-help
mailing list