summary: Summary of quasi maximum likelihood estimation

Description Usage Arguments Examples

Description

This shows summary of quasi maximum likelihood estimation of the parameters in the fitted semiparametric binary response model.

Usage

1
2
## S3 method for class 'semiBRM'
summary(object, ...)

Arguments

object

a fitted 'semiBRM' object.

...

further arguments (currently ignored).

Examples

 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)

henrykye/semiBRM documentation built on Dec. 20, 2021, 3:49 p.m.