Tools for Autoregressive Conditional Duration Models
Overview
Provides tools for autoregressive conditional duration (ACD, Engle and Russell, 1998) models. Functions to create trade, price, or volume durations from transaction data, perform diurnal adjustments, fit various ACD models, and test them.
- Added the following models for
acdFit():EXACD,AACD,BCACD,TACD,TAMACD. - Added optimization with analytical derivatives in
acdFit(). Works for all models, but currently only withdist = "exponential"and not with exogenous variables. - Added support for
broom::tidyandbroom::glance. - Fixed a bug that prevented exogenous variables from being used with any distribution other than the exponential (thanks to Mark Rotter for pointing this out).
- Fixed a minor bug in
plotLL(). - Fixed a bug in
diurnalAdj()wheremethod = "FFF"withaggregation = "all"previously returned the deterministic part instead of the adjusted durations. - Fixed a bug in
predict.acdFit()—previously, predictions could only be made from a fitted ACD(1,1) model with exponential errors (thanks to Renova for pointing this out). - Fixed a bug in
rgengamma()(thanks to Steinar Veka for pointing this out).
From inst/NEWS.Rd in the release
Install
Health
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK13 OK2026-06-09
- ERROR12 OK, 1 ERROR2026-06-08
- OK12 OK2026-04-25
Show 5 earlier changesHide 5 earlier changes
- NOTE13 OK, 1 NOTE2026-04-22
- ERROR12 OK, 1 NOTE, 1 ERROR2026-04-18
- NOTE13 OK, 1 NOTE2026-03-13
- ERROR12 OK, 1 NOTE, 1 ERROR2026-03-12
- NOTE13 OK, 1 NOTE2026-03-10
Documentation
- Help pages
- 27includes a package overview page
- Examples that run
- 63%10 run in a plain check · 6 never run
- Exported functions with examples
- 67%
- Documented parameters
- 76%
- Return-value docs
- 46%
- Help pages citing references
- 33%
Downloads
Dependencies
Installing ACDm adds 44 packages (24 with compiled code, 34 MB of source tarballs). Heaviest: stringi 11 MB, ggplot2 6.0 MB, Rcpp 1.8 MB.
Code & Tests
Datasets
People & History
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- 1.1.0Latest
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- 1.0.4.32024-02-20 · diff ↗
- RR 4.3.0 released · 2023-04-21
- 1.0.4.22022-11-16 · diff ↗
- 1.0.4.12022-07-08 · diff ↗
- RR 4.2.0 released · 2022-04-22
- RR 4.1.0 released · 2021-05-18
- RR 4.0.0 released · 2020-04-24
- RR 3.6.0 released · 2019-04-26
- RR 3.5.0 released · 2018-04-23
- RR 3.4.0 released · 2017-04-21
- 1.0.4
- RR 3.3.0 released · 2016-05-03
Package metadata
- First published
- 2015-07-16
- Total releases
- 7 / 11 yrs
- License
- GPL (>= 3) OSI
- Minimum R
- ≥ 3.0.2
- Bundled data
- 957 KB / 4 files
- Download size
- 1.0 MB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("ACDm")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-22, which the citation names so these numbers can be found later. More on citing and the projects behind them.