HeckmanEM (version 0.1.1)

HeckmanEM.envelope: Envelope for the Heckman Selectio model.

Description

`HeckmanEM.envelope()` plot the envelope for the fitted Heckman selection model.

Usage

HeckmanEM.envelope(obj, envelope = 0.95, ...)

Arguments

obj

An object of the class HeckmanEM.

envelope

The envelope corverage percertange.

...

Other option for chart.QQPlot from PerformanceAnalytics package.

Value

A residual plot of the fitted data and its envelope.

Examples

Run this code
# NOT RUN {
res <- HeckmanEM(y, x, w, cc, nu = 4, family = "Normal", error = 1e-05, iter.max = 500,
                 im = TRUE, criteria = TRUE)
HeckmanEM.envelope(res, ylab="Normalized Quantile Residuals",xlab="Standard normal quantile",
                   line="quartile", col=c(20,1), pch=19, ylim = c(-5,4))
# }

Run the code above in your browser using DataCamp Workspace