Package documentation

Overview of functions in the dscore package.

dscore-package

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 models can be made more convenient using the following set of helpers.

daz() zad()

Calculate Development-for-Age Z-score (DAZ)

get_reference()

Get D-score reference

get_age_equivalent()

Get age equivalents of items that have a difficulty estimate

get_mu()

Median D-score from the base population for a given key

Internal functions

For research purposes only.

count_mu()

Median D-score from the default references for the given key

count_mu_dutch()

Median of Dutch references

count_mu_gcdg()

Median of GCDG references

count_mu_phase1()

Median of phase1 references

count_mu_preliminary_standards()

Median of preliminary_standards

posterior()

Calculate posterior for one item given score, difficulty and prior

normalize()

Normalize distribution

Datasets

Built-in datasets

builtin_keys

Available keys for calculating the D-score

builtin_itembank

Collection of items fitting the Rasch model

builtin_itemtable

Collection of items from instruments measuring early child development

builtin_references

Collection of age-conditional reference distributions

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