Description Usage Arguments Examples
This shows summary of quasi maximum likelihood estimation of the parameters in the fitted semiparametric binary response model.
1 2 |
object |
a fitted 'semiBRM' object. |
... |
further arguments (currently ignored). |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | # data generating process
N <- 1000L
X1 <- rnorm(N)
X2 <- (X1 + 2*rnorm(N))/sqrt(5) + 1
X3 <- rnorm(N)^2/sqrt(2)
X <- cbind(X1, X2, X3)
beta <- c(2, 2, -1, -1)
V <- as.vector(cbind(X, 1)%*%beta)
Y <- ifelse(V >= rnorm(N), 1L, 0L)
# using matrix/vector
qmle <- semiBRM(x = X, y = Y, control = list(iterlim=50))
# summary of estimation
sum_qmle <- summary(qmle)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.