Contprof {GB2}R Documentation

Contour Plot of the Profile Log-likelihood of the GB2 Distribution

Description

Produces a contour plot of the profile log-likelihood, which is a function of two parameters only.

Usage

contprof.gb2(z, w=rep(1,length(z)), resol, low=0.1, high=20)

Arguments

z

numeric; vector of data values.

w

numeric; vector of weights. Must have the same length as z. By default w is a vector of 1.

resol

numeric; number of grid points horizontally and vertically. For better graph quality, we recommend a value of 100.

low, high

numeric; lower and upper factors for scale.

Details

The matrix containing the values to be plotted (NAs are allowed) is of size resol ×\times resol. The locations of the grid lines at which the values of the profile log-likelihood are measured are equally-spaced values between low and high multiplied by the initial parameters.

Value

A contour plot of the profile log-likelihood. The initial Fisk estimate is added as point "F".

Author(s)

Monique Graf

See Also

fisk for the Fisk estimate, ProfLogLikelihood for the profile log-likelihood and contour (package graphics) for more details on contour plots.


[Package GB2 version 2.1.1 Index]