search for: numsurv

Displaying 1 result from an estimated 1 matches for "numsurv".

2008 Feb 12
1
Finding LD50 from an interaction Generalised Linear model
...3 variables: $ ldose : int 0 1 2 3 4 5 0 1 2 3 ... $ sex : Factor w/ 2 levels "F","M": 2 2 2 2 2 2 1 1 1 1 ... $ numdead: int 0 3 9 16 18 20 0 2 6 10 ... > ##convert numdead to propdead > dat$propdead<-dat$numdead/20 > ##Calculate survival from dead > dat$numsurv<-20-dat$numdead > dat$propsurv<-dat$numsurv/20 > ##check table > dat ldose sex numdead propdead numsurv propsurv 1 0 M 0 0.00 20 1.00 2 1 M 3 0.15 17 0.85 3 2 M 9 0.45 11 0.55 4 3 M 16 0....