Last data update: 2014.03.03

R: Test data for bayesLogistic
logisticTest.dfR Documentation

Test data for bayesLogistic

Description

A test data set for bayesLogisticReg

Usage

data(logisticTest.df)

Format

A data frame with 100 observations on 6 variables.

[1,] x numeric the covariate
[2,] eps numeric the error in the response
[3,] logit.p numeric the logit of the probability of success given x = 2 + 3*x + eps
[4,] p numeric the probability of success given x
[5,] u numeric a U[0,1] random variable
[6,] y binary if u[i]<p[i] = 1, otherwise 0

See Also

bayesLogistic

Results