Description Usage Arguments Value Author(s) See Also Examples
scale
centers and/or scales a generalized hyperbolic distribution
to zero expectation and/or unit variance.
1 2 |
x |
An object inheriting from class |
center |
A logical value stating whether the object shall be centered to zero expectation. |
scale |
A logical value stating whether the object shall be scaled to unit variance. |
An object of class ghyp
.
David Luethi
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | data(indices)
t.fit <- fit.tmv(indices)
gauss.fit <- fit.gaussmv(indices)
## Compare the fitted Student-t and Gaussian density.
par(mfrow = c(1, 2))
## Once on the real scale...
plot(t.fit[1], type = "l")
lines(gauss.fit[1], col = "red")
## ...and once scaled to expectation = 0, variance = 1
plot(scale(t.fit)[1], type = "l")
lines(scale(gauss.fit)[1], col = "red")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.