summary.regtst | R Documentation |
summary
method for an object of class "regtst"
.
## S3 method for class 'regtst'
summary(object,
prob = c(0.01, 0.02, 0.05, 0.1, 0.2, 0.5, 0.8, 0.9, 0.95, 0.98, 0.99, 0.999),
conf = 0.90, decimals = c(4, 4, 2, 3), ...)
## S3 method for class 'summary.regtst'
print(x, decimals, ...)
object |
An object of class |
x |
An object of class |
prob |
Nonexceedance probabilities for which quantile estimates should be printed. |
conf |
Confidence level for printing parameter and quantile estimates. These quantities will be printed only for distributions that give an adequate fit at the specified confidence level. |
decimals |
Vector of length 4. The four elements specify the number of
decimal places to be used when printing |
... |
Further arguments passed to or from other methods. |
The printed output corresponds closely to that produced by
function REGTST
in the LMOMENTS Fortran package (Hosking, 1996).
summary.regtst
and print.summary.regtst
each return,
invisibly, an object of class "summary.regtst"
, which is a list
with elements as for class "regtst"
, plus the following elements:
conf |
Confidence level — the |
prob |
Vector of nonexceedance probabilities — the |
quant |
Matrix with 6 rows and |
decimals |
Vector of length 4. Number of decimals to be used when printing
an object of class |
J. R. M. Hosking jrmhosking@gmail.com
Hosking, J. R. M. (1996).
Fortran routines for use with the method of L
-moments, Version 3.
Research Report RC20525, IBM Research Division, Yorktown Heights, N.Y.
regtst
# An example from Hosking (1996). Compare the output with
# the file 'cascades.out' in the LMOMENTS Fortran package at
# https://lib.stat.cmu.edu/general/lmoments (results will not
# be identical, because random-number generators are different).
summary(regtst(Cascades, nsim=500))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.