foo: Simulated logistic regression data.

fooR Documentation

Simulated logistic regression data.

Description

Like it says

Usage

data(foo)

Format

A data frame with variables

x1

quantitative predictor.

x2

quantitative predictor.

x3

quantitative predictor.

y

Bernoulli response.

Examples

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

mcmc documentation built on Nov. 17, 2023, 1:06 a.m.