Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Instruments

The Instruments page lists every instrument. Click one to open its page: items and options, scores and their reliability, how they change across waves, factor structure, and code to score them.

The Instruments page listing the example's instruments

The list

On the left:

The table shows each instrument’s abbreviation, name, construct, reporters, number of items, and how many people answered it in each dataset the filters show. The Missing column lists what the catalog still lacks for an instrument, such as its scores, reference or license.

Map beside List draws the instruments the filters show as one graph, colored by modality: each instrument holds its scores, each score its items, and a line joins scores of different instruments that correlate at |r| ≥ .30 in some wave. Hover over a dot to see its links and name, scroll to zoom, and click a dot to open its instrument, at the Scores tab for a score or the Items tab for an item.

Ask the language model

With a language model set up (see Set Up R and Language Models), Ask the language model finds instruments from a description in your own words, such as “trouble falling asleep”. It sends the instruments’ names and item wording, never any data. The answer lists the matching instruments and items with the model’s reasons, and narrows the list until you press Clear.

Add an instrument

Add an instrument walks through a new instrument in six steps: what it is (ID, name, abbreviation, modality, whether it is a demographics form, construct, description, references from references.bib with the PDF of each, license); its answer options, copied from an instrument with the same answers or typed in; its items, pasted one per line, with (R) at the end of a reverse-keyed item; its scores, starting from Add a total score; the datasets it was given in, where Find the columns guesses each item’s column from the column names; and a last step that shows the lines each file gains before Save. It writes instruments/<id>.yaml, the rows of each dataset’s column map and the administrations in the study files.

The Items step of Add an instrument, with three pasted items, one of them reverse-keyed

On an instrument’s page, Complete this instrument beside what is missing opens the same steps on that instrument, starting at the first step with something missing. Press a step’s title to go straight to it; only Check and save is reached with Next. Lines of the file that are not changed stay as they were, comments included.

Export

Tick instruments in the table and press Export to write their variables, data, statistics and a codebook in Word to outputs/. The dialog asks for the instruments, then the datasets by wave and reporter, then what to write and the layout. See Export Variables and Data.

The Datasets step of Export, with datasets ticked by wave and reporter

An instrument’s page

The top shows the instrument’s name, abbreviation, construct, who reported on whom, its instructions, references with their PDF (View PDF shows it in the page, Open in your PDF viewer), its license, and what is missing from the catalog. Instruments at the top goes back to the list.

The page of the Example Mood Scale

Items

Structure draws the instrument as a tree: its scores, each with its items, and the items no score uses. A score made of every item of the other scores, such as a total, is one leaf, so its items are not drawn twice; Answer options opens with a click. Hover over a node for an item’s wording and type or a score’s items and missing-answer rule.

Below it, the items with their wording, whether they are reversed, and the column that holds each one in every dataset. Beside them, the response options and the missing codes.

Scores

A table of every score in every wave: N, mean, SD, median, observed and possible range, Cronbach’s α, McDonald’s ω (once the factor models are done) and how many people answered every item. Below it:

Under each invariance table, a Results paragraph gives every step’s fit and its change from the step before (Δχ², ΔCFI, ΔRMSEA), with a Copy text button; it reports the numbers and leaves the judgement of which step holds to you. Which items differ runs a score test for each item at the step you choose: how much the fit would improve if that item’s loadings, thresholds or intercepts were free to differ. With ordered items (WLSMV) the scalar step fixes the intercepts rather than holding them equal, so for that step each item is refitted with its intercepts free and the row gives the scaled χ² difference instead. Tick the items to free and press Save and rerun; labcatalog writes them under stats.invariance_free in labcatalog.yaml and tests again with those items freed (partial invariance). The table note lists what is freed. To hold an item equal again, untick it in the same dialog. Save to outputs under an invariance table also writes Mplus inputs with their data: across waves and reporters, one input per step (configural, metric, scalar) with the freed items, chained with DIFFTEST for ordered items, to be run in that order; across groups, one input that uses Mplus’s own MODEL = CONFIGURAL METRIC SCALAR, which does not apply freed items. These follow Mplus’s usual steps, so there is no step for thresholds alone, and with ordered items Mplus’s metric step frees the thresholds, so its numbers differ from the metric row of the table; the configural and scalar steps are the same models. With the path to Mplus set on the Settings page, Run in Mplus runs them.

Item analysis

How the items were answered: the share of each option per item and wave, item means as radar charts, each wave against the others, item-total correlations with α without each item, and the correlations between items. For a demographics instrument, a table of the sample in each wave.

One dataset

Pick a dataset to see the instrument in that file alone:

History

If the project is in git, every commit that changed the instrument’s file, with what changed.