Method
NumCosmoMathStatsVecfit_ar_model
Declaration [src]
gboolean
ncm_stats_vec_fit_ar_model (
NcmStatsVec* svec,
guint p,
const guint order,
NcmStatsVecARType ar_crit,
NcmVector** rho,
NcmVector** pacf,
gdouble* ivar,
guint* c_order
)
Description [src]
If order is zero the value of floor $\left[10 log_{10}(s) \right]$, where $s$ is the number of points.
Parameters
p-
Type:
guintParameter id.
order-
Type:
const guintMax order.
ar_crit-
Type:
NcmStatsVecARTypeA
NcmStatsVecARType. rho-
Type:
NcmVectorThe vector containing the ar(
p) model parameters.The argument will be modified by the function. The argument can be set to NULLby the method.The caller of the method takes ownership of the returned data, and is responsible for freeing it. pacf-
Type:
NcmVectorThe vector containing the partial auto-correlations.
The argument will be modified by the function. The argument can be set to NULLby the method.The caller of the method takes ownership of the returned data, and is responsible for freeing it. ivar-
Type:
gdouble*Innovations variance.
The argument will be set by the function. c_order-
Type:
guint*The actual order calculated.
The argument will be set by the function.