Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

logit

Simulated logistic regression data.


Description

Like it says

Usage

data(logit)

Format

A data frame with variables

x1

quantitative predictor.

x2

quantitative predictor.

x3

quantitative predictor.

x4

quantitative predictor.

y

Bernoulli response.

Examples

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

mcmc

Markov Chain Monte Carlo

v0.9-7
MIT + file LICENSE
Authors
Charles J. Geyer <charlie@stat.umn.edu> and Leif T. Johnson <ltjohnson@google.com>
Initial release
2020-03-20

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.