Synthetic data set for oohbchoice()

Share:

Description

Dataset created artificially for the examples section of the function oohbhoice().

Usage

1

Format

A data frame with 80 observations on the following variables.

id

a vector of the identification number of the respondent.

gender

a vector containing the gender of the respondent, taking male or female.

age

a vector containing the age of the respondent.

BL

a vector of lower bid.

BH

a vector of higher bid.

R1

a vector of response to the first stage CV question, taking a value of 1 if the bid is accepted, and 0 otherwise.

R2

a vector of response to the second stage CV question, taking a value of 1 if the bid is accepted, 0 if the bid is not accepted, and -9 if the respondent has no the second stage question.

See Also

oohbchoice, turnbull.oohb

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
## Parametric model
data(oohbsyn)
oohb1 <- oohbchoice(R1 + R2 ~ 1 | log(BL) + log(BH), data = oohbsyn)
summary(oohb1)
oohb2 <- oohbchoice(R1 + R2 ~ age + gender | log(BL) + log(BH), data = oohbsyn)
summary(oohb2)

## Non-parametric model
oohb3 <- turnbull.oohb(R1 + R2 ~ BL + BH, data = oohbsyn)
summary(oohb3)
plot(oohb3)

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.