logisticTest.df | R Documentation |
A test data set for bayesLogisticReg
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 |
bayesLogistic
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.