generate_margins | R Documentation |
This function takes a fitted object from the cma_fit
class and generate
new scenarios for the marginal distributions.
generate_margins(model, n)
model |
An object of the |
n |
An |
An S3 list
of the class marginal
.
x <- matrix(diff(log(EuStockMarkets)), ncol = 4) # fit the student t dist <- fit_t(x) dist # generate new margins from the fitted model generate_margins(dist, 10000)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.