Description Usage Arguments Examples
Fits the ACTF (Autocorrelation Transformation Function) to the estimated points (ρ_x, ρ_z) using nls
.
1 |
actpnts |
estimated ACT points |
discrete |
logical - is the marginal distribution discrete? |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | library(CoSMoS)
## choose the marginal distribution as Pareto type II
## with corresponding parameters
dist <- 'paretoII'
distarg <- list(scale = 1, shape = .3)
## estimate rho 'x' and 'z' points using ACTI
p <- actpnts(margdist = dist, margarg = distarg, p0 = 0)
## fit ACTF
fit <- fitactf(p)
## plot the result
plot(fit)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.