fitactf: Fit the AutoCorrelation Transformation Function

View source: R/actf.R

fitactfR Documentation

Fit the AutoCorrelation Transformation Function

Description

Fits the ACTF to the estimated (rho_x, rho_z) points using nls.

Usage

fitactf(actpnts, discrete = FALSE)

Arguments

actpnts

estimated ACT points (output of actpnts)

discrete

logical — is the marginal distribution discrete?

Value

An object of class "acti" with components:

actfcoef

fitted ACTF coefficients b and c

actfpoints

the input ACT points data frame

See Also

actpnts, actf

Examples


library(CoSMoS)

p   <- actpnts(margdist = "paretoII",
               margarg  = list(scale = 1, shape = .3),
               p0 = 0)
fit <- fitactf(p)
plot(fit)


CoSMoS documentation built on May 8, 2026, 1:08 a.m.