logisticTest.df {Bolstad2} | R Documentation |
Test data for bayesLogistic
Description
A test data set for bayesLogisticReg
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
[Package Bolstad2 version 1.0-29 Index]