A data frame with 1000 observations on the following 7 variables.
Y
A numeric vector with values 1,3, and 4 depending on which outcome occurred.
var.A
A numeric vector mimicking an explanatory variable as part of X11.
var.B
A numeric vector mimicking an explanatory variable as part of X11.
var.C
A numeric vector mimicking an explanatory variable as part of X14 and of X24.
var.D
A numeric vector mimicking an explanatory variable as part of X14.
var.E
A numeric vector mimicking an explanatory variable as part of X24.
var.C.1
A numeric vector mimicking an explanatory variable as part of X14 and of X24. Identical to var.C.
Source
Can be independently re-created by anybody.
Examples
data(data.fake)
summary(data.fake)
## Not run: out1 <- StratSel(Y ~ var.A + var.B | var.C + var.D |
var.E + var.C, data=data.fake, corr=TRUE)
## End(Not run)
## Not run: summary(out1)
# True parameters are 1 or 2 except the three constant terms (which are 0).
# The correlation parameter was set to +0.6.