Package documentation

Overview of functions in the dscore package.

dscore-package

dscore: D-score for Child Development

Identify whether your milestones are supported

Functions to identify supported milestones and instruments.

get_itemnames()

Extract item names

get_itemtable()

Get a subset of items from the itemtable

get_labels()

Get labels for items

decompose_itemnames()

Decomposes item names into their four components

Get your data into shape

Functions for mapping and recoding your data in a format that the dscore() function can understand.

rename_gcdg_gsed()

Rename items from gcdg into gsed lexicon

sort_itemnames() order_itemnames()

Sorts item names according to user-specified priority

Calculate D-score and DAZ

The main workhorse implements the algorithms to calculate the D-score and the DAZ from 1) the child’s milestone scores, 2) the itembank, 3) the prior and 4) the reference.

dscore() dscore_posterior()

D-score estimation

calculate_posterior()

Calculate posterior of ability

get_tau()

Obtain difficulty parameters from item bank

Working with references

Specification of the imputation models can be made more convenient using the following set of helpers.

daz() zad()

D-score standard deviation score: DAZ

get_reference()

Get D-score reference

get_age_equivalent()

Get age equivalents of items that have a difficulty estimate

Internal functions

While documented, these internal functions should not be called directly.

count_mu_dutch()

Median of Dutch references

count_mu_gcdg()

Median of GCDG references

count_mu_phase1()

Median of phase1 references

posterior()

Calculate posterior for one item given score, difficulty and prior

normalize()

Normalize distribution

Datasets

Built-in datasets

builtin_itemtable

Global Scale for Early Development - itemtable

builtin_itembank

Built-in itembank

builtin_references

Age-conditional reference distribution of D-score

milestones

Outcomes on developmental milestones for preterm-born children

gsample

Sample of 10 children from the GSED Phase 1 study

sample_sf

Sample of 10 children from gpa (SF)

sample_lf

Sample of 10 children from gto (LF)

sample_hf

Sample of 10 children from GSED HF