Re: [R] Calculating NOEL using R and logistic regression - Toxicology

2012-04-04 Thread Danielle Duncan
012 at 2:45 PM, Danielle Duncan wrote: > Hello, I used the glm function in R to fit a dose-response relationship > and then have been using dose.p to calculate the LC50, however I would like > to calculate the NOEL (no observed effect level), ie the lowest dose above > which responses start o

Re: [R] Calculating NOEL using R and logistic regression - Toxicology

2012-04-04 Thread Danielle Duncan
Thanks everyone for the advice, you raise interesting points. Maybe the best thing for me to do is do an ANOVA in R with binomial data (if possible) and find the lowest dose that gives a significant difference from the controls. On Mon, Apr 2, 2012 at 2:45 PM, Danielle Duncan wrote: > Hello

Re: [R] Calculating NOEL using R and logistic regression - Toxicology

2012-04-03 Thread Danielle Duncan
= glm(Y~X,family=binomial) > plot(1:10, predict(glmfit,newdata=data.frame(X=1:10),type="response"), > type="l",ylim=c(0,1),xlab="X",ylab="Y") > rug(jitter(X[Y==0]),side=1) > rug(jitter(X[Y==1]),side=3) > > On Tue, Apr 3, 2012 at 3:19 PM, D

Re: [R] Calculating NOEL using R and logistic regression - Toxicology

2012-04-03 Thread Danielle Duncan
the package segmented includes the dataset down that can be useful as > an example.. > > data(down) > with(down, plot(age, cases/births)) > > There is a paper of mine on R news 2008 discussing the package.. > > hope this helps you, > vito > > > > On Mon, 2 A

[R] Calculating NOEL using R and logistic regression - Toxicology

2012-04-02 Thread Danielle Duncan
Hello, I used the glm function in R to fit a dose-response relationship and then have been using dose.p to calculate the LC50, however I would like to calculate the NOEL (no observed effect level), ie the lowest dose above which responses start occurring. Does anyone know how to do this? [

[R] Logistic Regression with genetic component

2011-12-03 Thread Danielle Duncan
Greetings, I have a question that I'd like to get input on. I have a classic toxicology study where I artificially fertilized and exposed embryos to a chemical and counted defects. In addition, I kept track of male-female pairs that I used to artificially fertilize and generate embryos with. I need