trypanos: The trypanosome data

Description Usage Format Note Source Examples

Description

Follman and Lambert (1989) gave an example of a logistic regression with a varying intercept term. The data consist of numbers $y$ of trypanosomes killed out of $n$ treated at a treatment dose $x$.

Usage

1

Format

A data frame with 8 observations on the following 3 variables.

x

a numeric vector

n

a numeric vector

y

a numeric vector

Note

See p.500 in SMIR

Source

Follman, D.A. and Lambert, D. (1989). Generalizing logistic regression by nonparametric mixing. Journal of the American Statistical Association, 84, 295–300.

Examples

1
2
3
4
5
6
 data(trypanos)
 library(npmlreg)
 (trypanos.np1 <-  alldist(cbind(y, (n - y)) ~ log(x),
      random =  ~1, data = trypanos, family = binomial,
      plot.opt = 0, verbose = FALSE,k=1))
 (trypanos.np2 <- update(trypanos.np1,k=2))

SMIR documentation built on May 29, 2017, 10:39 a.m.

Related to trypanos in SMIR...