Dataset created artificially for the examples section of the function
A data frame with 80 observations on the following variables.
a vector of the identification number of the respondent.
a vector containing the gender of the respondent, taking
a vector containing the age of the respondent.
a vector of lower bid.
a vector of higher bid.
a vector of response to the first stage CV question, taking a value of
1 if the bid is accepted, and
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.
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.