Learn R Programming

DynTxRegime (version 3.2)

qqplot: IQ-Learning: Generate QQ-Plots for Variance Modeling .

Description

Generate QQ plots for Variance modeling in IQ-Learning.

Usage

qqplot(x, y, plot.it = TRUE, xlab = deparse(substitute(x)),
                 ylab = deparse(substitute(y)),...)
# S4 method for IQLearnFS_VHet
qqplot(x, y, plot.it = TRUE, xlab = deparse(substitute(x)),
                 ylab = deparse(substitute(y)),...)

Arguments

x

An object of class "IQLearnFS_VHet".

y

Ignored.

plot.it

logical. Should the result be plotted?

xlab

Plot labels.

ylab

Plot labels.

...

Graphical parameters.

Details

Generates a qq-plot for the variance modeling step of the IQ-Learning algorithm. This plot is used to determine if the normal or empirical density estimator is appropriate. If the observations deviate from the line, den='nonpar' should be used in the final IQ-Learning step.