Re: [R] Finding LD50 from an interaction Generalised Linear model

2008-02-13 Thread Gduncan
Many thanks indeed Bill. I understand now what you're getting at with the a/b-1! Many thanks again. Graeme Duncan Bill.Venables wrote: > > The trick is to fit the model in a form which has the two separate > intercepts and the two separate slopes as the parameters. > > You do have to realise

Re: [R] Finding LD50 from an interaction Generalised Linear model

2008-02-12 Thread Bill.Venables
iginal Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Greme Sent: Wednesday, 13 February 2008 3:17 AM To: r-help@r-project.org Subject: [R] Finding LD50 from an interaction Generalised Linear model Hi, I have recently been attempting to find the LD50 from two predicted

[R] Finding LD50 from an interaction Generalised Linear model

2008-02-12 Thread Greme
Hi, I have recently been attempting to find the LD50 from two predicted fits (For male and females) in a Generalised linear model which models the effect of both sex + logdose (and sex*logdose interaction) on proportion survival (formula = y ~ ldose * sex, family = "binomial", data = dat (y is the