Skip to content

dscore 1.7.0

Compare
Choose a tag to compare
@stefvanbuuren stefvanbuuren released this 06 Dec 12:15

Major issue

  • On 22021130, we found errors in the LF item order. This error was introduced on May 30, 2022 and invalidates keys gsed2206 and gsed2208, as well as analyses that rely on correct LF item labels. Version 1.7.0 corrects these problems.
  • Item labels are taken from
    • LF1, corrected using original source file comparisons from
      Phase_1_master_data_dictionary_V1.0_29_11_2022.xlsx;
    • LF2, from
      GSED LF Item Guide_October22_FINAL_clean_27Nov22.docx and
      manually matched to LF1.
  • Rerun core 293_0 model, check edits, redocument, regenerate
    diagnostic plots, etc. Check that result is identical.
  • Refit full 818_6 model. In general better ICC's, effect on
    D-score calculation is minor, six items were bad matches

Major changes

  • Introduces new default key gsed2212
  • Introduces new instrument codes gs1 (GSED SF V1.0) and gl1 (GSED LF V1.0)
  • Updates gto labels with correct order
  • Set default key to gsed2212. This key repairs problems in gsed2206 and gsed2208.
  • get_labels() now returns the labels in the same order as items
  • Extends key gsed2212 with 18 ECDI items using Phase 1 validation data
  • Updates builtin_itemtable and builtin_itembank with correct LF
    item order
  • Redocuments upper anchor item

Minor changes

  • Solves bug that crashed dscore::count_mu_phase1(t) when t is a
    vector containing NAs
  • Adds example data set gsample with 10 cases with SF and LF scores
  • Adds order argument to get_itemnames()
  • Repairs an error in the sort_itemnames() example
  • Replaces bitwise by more elegant elementwise comparison in dscore.cpp
  • Removes the dependency on the sirt package

dscore 1.6.0

Major changes

  • Solves a long-standing issue that led to severe incongruence
    between LF and SF at the earliest ages (<6M).
  • Adds two new keys (gsed2208 and 293_0) using the Phase 1
    validation data for the GSED SF and GSED LF.
  • Sets 293_0 as the GSED core model and extended it to include
    the 818 items that fitted the previous model ("gsed2206").
  • Adds a new reference (named phase1), based on LF and SF data from
    cohorts GSED-BGD, GSED-PAK and GSED-TZA studies.
  • **Changes the default key to gsed2208 and default population
    to "phase1".**. If you want the old behavior, specifykey =
    "gsed1912"orkey =
    "gsed2206"to functions that accept thekeyargument (dscore(),dscore_posterior(),get_age_equivalent(),get_tau()`).

Minor changes

  • Many simplications and update to increase legibility and
    consistency.
  • Makes arguments of get_age_equivalent() and get_tau() consistent
    with dscore()
  • Adapts BCT functions to work with missing and out-of-range data
  • Adds support for phase1 reference to get_reference()
  • Adds support for BCT references in zad() and daz()
  • Adds count_mean_phase1() for setting prior mean equal to the GSED
    Phase 1 reference
  • Adds round 2 estimates to count_mean_phase1()
  • Prepares dscore() prior_mean functionality to deal with the
    to-be-implemented new reference as "phase1"
  • Adds count_mean_phase1() function
  • Adds 18 ECDI items to keys gsed2206 and 294_0
  • Initialise proper default population when key is 294_0.
  • Adds experimental key 294_0 to the builtin_itembank.
  • Adds a relevance argument to dscore() and dscore_posterior()
    to restrict calculation of D-scores to those items that have their
    tau within this relevance interval around the dynamic EAP
    estimate.
  • Repairs bug in builtin_itembank that inherits old (gsed1912) tau's
    into new key (gsed2206) for instruments gto and gpa. As a
    consequence, D-score were incorrectly calculated when gto and
    gpa item names were used.
  • Repairs a bug in get_age_equivalent() that resulted in age
    interval estimates that were too narrow on the D-score scale.

dscore 1.5.0

Major changes

  • Adds three new keys (gsed2206, lf2206 and sf2206) that
    incorporate Phase 1 validation data for the GSED SF, GSED LF and
    BSID.
  • Changes the default key to gsed2206. If you want the old
    behavior, specify key = "gsed1912" to functions that accept the
    key argument (dscore(), dscore_posterior(),
    get_age_equivalent(), get_tau()).
  • Extends builtin_itemtable with names and labels for gpa (SF),
    gto (LF) and gsd (novel SF) items.
  • Solves a long-standing issue #29 that gave different D-score under
    different transformation. This change affects solutions calculated
    with the metric = "logit" and transform parameters specified.
    The D-scores calculated under different transforms are now linear
    transformations of each other.

Minor changes

  • Repairs a few problematic outbound URLs