File: logit.Rd

package info (click to toggle)
r-cran-mcmc 0.9-7-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 2,352 kB
  • sloc: ansic: 1,298; makefile: 14; sh: 8
file content (25 lines) | stat: -rw-r--r-- 524 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
\name{logit}
\docType{data}
\alias{logit}
\title{Simulated logistic regression data.}
\description{
  Like it says
}
\usage{data(logit)}
\format{
  A data frame with variables
   \describe{
    \item{x1}{quantitative predictor.}
    \item{x2}{quantitative predictor.}
    \item{x3}{quantitative predictor.}
    \item{x4}{quantitative predictor.}
    \item{y}{Bernoulli response.}
  }
}
\examples{
library(mcmc)
data(logit)
out <- glm(y ~ x1 + x2 + x3 + x4, family = binomial, data = logit)
summary(out)
}
\keyword{datasets}