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)

hjy78/mcmcn documentation built on Jan. 1, 2020, 1:03 p.m.