Skip to content
This package has an overdue CRAN deadline (Oct 12) to fix its check problems; archival is imminent. See the check details

RationalExp

0.2.2

Rationalizing Rational Expectations. Tests and Deviations

1packages depend
2.3Kdownloads / year
–test coverage
0/13flavors OK

Overview

About

We implement a test of the rational expectations hypothesis based on the marginal distributions of realizations and subjective beliefs from D'Haultfoeuille, Gaillac, and Maurel (2018) doi:10.3386/w25274. This test can be used in cases where realizations and subjective beliefs are observed in two different datasets that cannot be matched, or when they are observed in the same dataset. The package also computes the estimator of the minimal deviations from rational expectations than can be rationalized by the data.

Install

Health

CRAN checks
13NOTE
Check messages
NOTERd filesr-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-x86_64, r-oldrel-macos-arm64, r-oldrel-macos-x86_64, r-oldrel-windows-x86_64, r-patched-linux-x86_64, r-release-linux-x86_64, r-release-macos-arm64, r-release-macos-x86_64, r-release-windows-x86_64
checkRd: (-1) S1.Rd:10: Lost braces; missing escapes or markup?
    10 | \item{m_bar}{the sample vector of moments for a specified vector $(h_{a,r},y)$}
       |                                                                      ^
checkRd: (-1) S1.Rd:16: Lost braces; missing escapes or markup?
    16 | \item{N_k}{index of the $ h_{a,r}$ function considered}
       |                             ^

CRAN check page ↗

Slowest check: 1.3 min · r-devel-windows-x86_64
Status changes
  • NOTE13 NOTE2026-06-27
  • WARNING12 NOTE, 1 WARNING2026-06-14
  • NOTE14 NOTE2026-03-10
Advisories

none known

Documentation

In release 0.2.2
READMENoVignettesYes · 1 · staticNEWSNoCitation fileNoWebsitenot declared in DESCRIPTION
Help pages
10
Examples that run
100%2 run in a plain check
Exported functions with examples
20%
Documented parameters
99%
Return-value docs
60%
Help pages citing references
20%

Downloads

2.3K
CRAN downloads in the past year
Rank #19,924 · ~6/day · ~193/mo
Daily download trend is not available in this view yet.
24430 days
64490 days
2.3K1 year
Compare downloads with other packages →
Also on79 r2u6 autocran987 conda_forge

Dependencies

Declared dependencies
3 external dependencies (excludes base and recommended)

Installing RationalExp adds 2 packages (0 with compiled code, 193 KB of source tarballs). Heaviest: snowfall 173 KB, snow 20 KB.

Depends (1)
R >= 3.0.0
Imports (2)
LinkingTo (0)
none
Suggests (2)
Enhances (0)
none
Reverse dependencies
1direct
0indirect
Imports 1
Depends, Imports or LinkingTo, most downloaded first

People & History

People (3)
Author, Maintainer since 0.2.1 (2018)
Releases (2)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • R
    R 4.3.0 released · 2023-04-21
  • R
    R 4.2.0 released · 2022-04-22
  • R
    R 4.1.0 released · 2021-05-18
  • R
    R 4.0.0 released · 2020-04-24
  • R
    R 3.6.0 released · 2019-04-26
  • 0.2.2Latest
    record
    2019-02-08 · current release · diff ↗
  • 0.2.1
    record
    2018-12-28
  • R
    R 3.5.0 released · 2018-04-23

Package metadata

First published
2018-12-28
Total releases
2 / 8 yrs
License
GPL-3 OSI
Minimum R
≥ 3.0.0
Download size
210 KB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("RationalExp")
Gaillac, C., D'Haultfoeuille, X., & Maurel, A. (2019). RationalExp: Rationalizing Rational Expectations. Tests and Deviations (Version 0.2.2) [Computer software]. https://doi.org/10.32614/CRAN.package.RationalExp

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.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for RationalExp version 0.2.2 [Data set]. HJJB, LLC. Data release v2026-10-17. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-17, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy