quantile_residual_plot: Plot quantile residual time series and histogram

Description Usage Arguments Value References See Also Examples

View source: R/diagnosticPlot.R

Description

quantile_residualsPlot plots quantile residual time series and histogram.

Usage

1

Arguments

gsmar

a class 'gsmar' object, typically generated by fitGSMAR or GSMAR.

Value

Only plots to a graphical device and doesn't return anything.

References

See Also

profile_logliks, diagnostic_plot, fitGSMAR, GSMAR, quantile_residual_tests, simulate.gsmar

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
## The below examples the approximately 15 seconds to run.

# G-StMAR model with one GMAR type and one StMAR type regime
fit42gs <- fitGSMAR(M10Y1Y, p=4, M=c(1, 1), model="G-StMAR",
                    ncalls=1, seeds=4)
quantile_residual_plot(fit42gs)

# GMAR model
fit12 <- fitGSMAR(data=simudata, p=1, M=2, model="GMAR", ncalls=1, seeds=1)
quantile_residual_plot(fit12)

uGMAR documentation built on Jan. 24, 2022, 5:10 p.m.