logit: Simulated logistic regression data.

Description Usage Format Examples

Description

Like it says

Usage

1

Format

A data frame with variables

x1

quantitative predictor.

x2

quantitative predictor.

x3

quantitative predictor.

x4

quantitative predictor.

y

Bernoulli response.

Examples

1
2
3
4
library(mcmc)
data(logit)
out <- glm(y ~ x1 + x2 + x3 + x4, family = binomial, data = logit)
summary(out)

mcmc documentation built on May 29, 2017, 7:14 p.m.

Search within the mcmc package
Search all R packages, documentation and source code