powered by
Plot 2D WH fit
# S3 method for WH_2d plot(x, what = "y_hat", trans, ...)
A plot representing the given element of the fit...
An object of class "WH_2d" returned by the WH() function
"WH_2d"
WH()
What should be plotted (y_hat, std_y_hat, res, edf)
An (optional) transformation to be applied to the data
Not used
d <- portfolio_LTC$d ec <- portfolio_LTC$ec WH(d, ec) |> plot() WH(d, ec) |> plot("std_y_hat")
Run the code above in your browser using DataLab