trypanos {SMIR}R Documentation

The trypanosome data

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

data(trypanos)

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

 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))

[Package SMIR version 0.02 Index]