← Back to all sparks
R

rjdqa

ANALYTICS
Velocity0.0

Quality Assessment for Seasonal Adjustment

rjdqa keeps refining one screen: the seasonal adjustment quality dashboard

official-statisticsseasonal-adjustmentquality-assurancer-packagejdemetra
Current state
rjdqa builds quality assessment dashboards for seasonal adjustment models produced by JDemetra+, aimed at official statisticians reviewing adjusted series. Essentially all development goes into two functions, simple_dashboard() and its denser variant simple_dashboard2(). Version 0.1.6 adds parameters to append observations to the forecast and to control whether the residual trading-days test is printed, defaulting to monthly series only, plus outlier table layout work and user-defined calendar regressor support in sc_dashboard().
Where it's heading
The package has converged on a single deliverable and is tuning it against reviewer practice. Each release adds a parameter that lets the analyst include or exclude one element of the dashboard, or adjusts how densely information is packed into the fixed space of the layout. The td_effect default — print the test only for monthly series — is characteristic: the knowledge about when a diagnostic is meaningful is being encoded into the tool rather than left to the reader.
Prediction
The pattern of adding one toggle per diagnostic per release points at the same thing again, most likely another test given a conditional default, rather than a new dashboard function alongside the two that exist.

Recent moves

  1. 9mo ago

    Forecast observations and conditional trading-days test in dashboards

    Adds add_obs_to_forecast and td_effect parameters to both dashboard functions, with the residual trading-days test printed only for monthly series by default, improves outlier table placement and titling, and lets sc_dashboard() handle user-defined calendar regressors. The densest release in the history and consistent with its per-diagnostic tuning pattern.

    View source ↗
  2. 1y ago

    Fix tail() usage on ts objects

    Corrects a tail() call on time series objects that raised an error. A single defect fix.

    View source ↗
  3. 2y ago

    Fix dependency minimums and outlier ordering

    Pins minimum dependency versions and corrects the order outliers appear in simple_dashboard2(). Published minutes after 0.1.3 as a patch on it.

    View source ↗
  4. 2y ago

    simple_dashboard2() added; deprecated sa_dashboard() removed

    Introduces simple_dashboard2(), a denser variant with smaller text that fits recent outlier information, adds a legend and a parameter to drop the Others contribution and rescale the variance decomposition, and removes the deprecated sa_dashboard(). Establishes the two-function surface the package has refined since.

    View source ↗
  5. 2y ago

    simple_dashboard() introduced; sa_dashboard() deprecated

    Adds simple_dashboard() and deprecates sa_dashboard() in favour of sc_dashboard(). The release that set the package's current direction, replacing the original dashboard with the one all later work extends.

    View source ↗
  6. 7y ago

    First CRAN release

    The initial CRAN release, with no detail recorded beyond the fact of publication.

    View source ↗