HeckmanEM.envelope: Envelope for the Heckman Selectio model.

Description Usage Arguments Value Examples

View source: R/envelopes.R

Description

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

Usage

1
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

1
2
3
4
5
6
7
## 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))

## End(Not run)

HeckmanEM documentation built on May 19, 2021, 5:07 p.m.