50% off: Unlimited data and AI learning.
State of Data and AI Literacy Report 2025

ssmrob (version 1.0)

model.matrix.heckitrob: Design Matrix of Sample Selection Model

Description

Create design matrix of sample selection model

Usage

# S3 method for heckitrob
model.matrix(object, part = "outcome", ...)

Arguments

object

object of class heckitrob

part

character string indicating which matrix to extract: "outcome" for the outcome equation, "selection" for the selection equation.

currently not used

Value

If argument part is "outcome", the design matrix of the outcome equation is returned.

If argument part is "selection", the design matrix of the selection equation is returned.