Catalog PyPI
PACKAGE EXPLORERView in registry

acfmperiod

PyPI

Robust and classical ACF/ACOVF estimation from periodogram and M-periodogram

acfperiodogramrobust-statisticstime-series
Versions collected1
Direct dependencies6From release 0.1.0
Last observed20 Oct, 18:11 UTC

README

Version 0.1.0 documentation

acfmperiod

Python port of the original R package acfMPeriod for classical and robust autocovariance/autocorrelation estimation using periodogram and M-periodogram methods.

Features

  • Univariate and multivariate ACF/ACOVF from periodogram (PerACF)
  • Robust ACF/ACOVF from M-periodogram (MPerACF)
  • Periodogram and cross-periodogram estimators
  • Covariance/correlation matrix wrappers at lag 0 (CovCorPer, CovCorMPer)
  • Plotting support for robust and classical outputs

Installation

pip install acfmperiod

For local development:

pip install -e .[dev]

Quick Start

import numpy as np
from acfmperiod import PerACF, MPerACF, CovCorPer

rng = np.random.default_rng(7)
x = rng.normal(size=(128, 2))

res = PerACF(x, lagmax=20, typevalue="correlation", doplot=False)
print(res.acf.shape)   # (20, 2, 2)

rob = MPerACF(x, lagmax=20, doplot=False)
cov0 = CovCorPer(x, typevalue="covariance")
print(cov0)

API

  • PerioReg, MPerioReg
  • CrossPeriodogram, MCrossPeriodogram
  • PerACF, MPerACF
  • CovCorPer, CovCorMPer
  • plotrobacf

Lowercase aliases are available without underscore naming. ß

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Versions 1

Collected releases
VersionPublishedDirect dependenciesOpen version
0.1.017 Mar 20266

Package advisories

0
No matching advisories collected

This describes our collected data; it is not a security assessment.

Repository

PENDING
rogih/acfmperiod-python

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 18:11 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package:693b086cb45d8ab2829020c8157203c3c938792444f2fdc03303794a0dbb8bc4