Learn R Programming

DRIP (version 2.3)

print.Three_Stage_Parameters: Print Parameter Selection Results in 3-Stage Estimation

Description

Display information about a three-stage estimation bandwidth selection object.

Usage

# S3 method for Three_Stage_Parameters
print(x, type = "all", ...)

Value

Display (modified) cross-validation scores and the selected bandwidth.

Arguments

x

A three-stage estimation bandwidth selection object.

type

The type of information to display. The "cv_scores" option prints the cross-validation or modified cross-validation scores for each bandwidth. The "bandwidth" option prints the selected the bandwidth. The "all" option prints all the information.

...

Further arguments passed to or from other methods.

Author

Yicheng Kang

Details

Prints some information about a three-stage estimation bandwidth selection object. In particular, this method prints the cross-validation or modified cross-validation scores and the selected bandwidth.

References

Qiu, P. and Kang, Y. (2015) ``Blind Image Deblurring Using Jump Regression Analysis'', Statistica Sinica, 25, 879 -- 899, tools:::Rd_expr_doi("10.5705/ss.2014.054").

See Also

threeStageParSel, summary.Three_Stage_Parameters, plot.Three_Stage_Parameters

Examples

Run this code
if (FALSE) {
step.edges <- stepEdge(peppers, bandwidth = 9, thresh = 17)
roof.edges <- roofEdge(peppers, bandwidth = 6, thresh = 3000,
    edge1 = step.edges)
set.seed(24)
# Time consuming
parSel <- threeStageParSel(image = peppers, edge1 = step.edges,
    edge2 = roof.edges, bandwidth = 3:4, nboot = 1, blur = TRUE)
print(parSel, type = "all")
}

Run the code above in your browser using DataLab