Fits the ACTF (Autocorrelation Transformation Function) to the estimated points (ρx,ρz) using nls.
fitactf(actpnts, discrete =FALSE)
Arguments
actpnts: estimated ACT points
discrete: logical - is the marginal distribution discrete?
Examples
library(CoSMoS)## choose the marginal distribution as Pareto type II## with corresponding parametersdist <-'paretoII'distarg <- list(scale =1, shape =.3)## estimate rho 'x' and 'z' points using ACTIp <- actpnts(margdist = dist, margarg = distarg, p0 =0)## fit ACTFfit <- fitactf(p)## plot the resultplot(fit)