Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Measure a construct

The question

You have several questions or measures meant to capture one underlying idea — engagement, satisfaction, trust — and you want to know whether they really hang together, which items belong, and how to combine them into one score per row.

It sounds like:

  • “Do these six engagement questions measure one thing?”
  • “Combine these items into a satisfaction score.”
  • “Which question in the battery doesn’t fit with the rest?”

Start with a reliability analysis: Cronbach’s alpha and McDonald’s omega say how consistently the items move together, and per-item figures (item-total correlation, alpha if deleted) point at an item that does not belong. To ask how many ideas the items capture, run a principal-component or factor analysis. Then add a scale score, a component score or a factor score to every row.

Pick your analysis

This question fits data shaped like:

  • items: 2 or more numeric fields

The operators that answer it, by kind; each name links to its catalog entry. Basic ones need the least setup; the worked example below uses MAT_RELIABILITY.

Attributes

UseIn plain wordsLevel
ATTR_SCALE_SCOREAdds to every row its score on a rating battery: the average of its answered items or a prorated total, reverse-worded items flipped.intermediate
ATTR_FACTOR_SCOREAdds to every row its score on one factor behind several related numeric fields: an estimate of the hidden trait they measure together.advanced
ATTR_PC_SCOREAdds to every row its score on one principal component of several related numeric fields: one number standing in for what they share.advanced
ATTR_SEM_SCOREAdds to every row its score on one hidden quality of a structural equation model you write, estimated from the measures it drives.advanced

Statistical tests

UseIn plain wordsLevel
TEST_BARTLETT_SPHERICITYChecks whether a set of numeric fields are related at all, the first check before summarising them as a few underlying dimensions.advanced

Matrix operators

UseIn plain wordsLevel
MAT_RELIABILITYHow consistently a set of rating items measures one thing, before you add them up into a score, with a check of how each item fits the rest.intermediate
MAT_FACTORWhich hidden qualities a set of related measures reflects, and how strongly each measure is tied to each, before building scale scores.advanced
MAT_PCAHow many underlying dimensions a set of related measures covers and which measures belong to each, so a few summaries can stand in for many.advanced
MAT_SEMWhether a theory of how measures hang together holds: the hidden qualities they reflect, how those drive each other, how well it fits.advanced

A worked example

To run the example below yourself, write the example cohorts once and work from their directory, since command-line cohort paths resolve against the working directory (Get the data). Start in a scratch directory outside your PULSE_DATA_DIR, so pulse-data does not nest inside the directory pulse mcp serves:

pulse examples data --out pulse-data
cd pulse-data
pulse examples show scale_reliability > req.json
pulse api process --request req.json --json

Do these six engagement questions measure one thing well enough to add up into a single score?

The request (example scale_reliability; pulse examples show scale_reliability prints it):

{
  "cohort": {
    "filename": "battery.pulse"
  },
  "matrices": [
    {
      "type": "MAT_RELIABILITY",
      "name": "battery",
      "fields": [
        "bat_energy",
        "bat_proud",
        "bat_absorbed",
        "bat_recommend",
        "bat_time_flies",
        "bat_dread"
      ],
      "params": {
        "reverse": [
          "bat_dread"
        ],
        "scale_min": 1,
        "scale_max": 5
      }
    }
  ],
  "return": {
    "precision": 4
  }
}

The result:

{
  "metadata": {
    "total_rows": 300,
    "filtered_rows": 300,
    "cohort_file": "battery.pulse"
  },
  "matrices": [
    {
      "name": "battery",
      "type": "MAT_RELIABILITY",
      "primary": {
        "kind": "square_symmetric",
        "encoding": "full",
        "row_keys": [
          "bat_energy",
          "bat_proud",
          "bat_absorbed",
          "bat_recommend",
          "bat_time_flies",
          "bat_dread"
        ],
        "column_keys": [
          "bat_energy",
          "bat_proud",
          "bat_absorbed",
          "bat_recommend",
          "bat_time_flies",
          "bat_dread"
        ],
        "values": [
          [
            1,
            0.5479,
            0.5471,
            0.4505,
            0.3972,
            0.4736
          ],
          [
            0.5479,
            1,
            0.4966,
            0.4378,
            0.4754,
            0.4819
          ],
          [
            0.5471,
            0.4966,
            1,
            0.3601,
            0.3635,
            0.4581
          ],
          [
            0.4505,
            0.4378,
            0.3601,
            1,
            0.3424,
            0.373
          ],
          [
            0.3972,
            0.4754,
            0.3635,
            0.3424,
            1,
            0.3958
          ],
          [
            0.4736,
            0.4819,
            0.4581,
            0.373,
            0.3958,
            1
          ]
        ]
      },
      "vectors": {
        "alpha_if_deleted": [
          0.7812,
          0.7802,
          0.7941,
          0.8106,
          0.8109,
          0.7967
        ],
        "item_mean": [
          2.88,
          3.007,
          2.883,
          2.967,
          2.99,
          2.97
        ],
        "item_sd": [
          1.004,
          0.9677,
          1.046,
          1.011,
          1.062,
          1.026
        ],
        "item_total_r": [
          0.6601,
          0.6685,
          0.599,
          0.5188,
          0.522,
          0.5865
        ]
      },
      "scalars": {
        "alpha": 0.8239,
        "alpha_standardized": 0.825,
        "mean_inter_item_r": 0.4401,
        "omega": 0.8269
      }
    }
  ],
  "components": {
    "run": {
      "total_records": 300,
      "filtered_records": 300,
      "null_records": 0
    },
    "matrices": [
      {
        "name": "battery",
        "type": "MAT_RELIABILITY",
        "n": 300,
        "n_null": 0,
        "n_listwise_dropped": 0,
        "operator": {
          "converged": true,
          "iterations": 19
        }
      }
    ]
  },
  "returned": {
    "preset": "full",
    "digest": "rp1:2a47356146fe7626329ca77359f19495ac57bb6a599dfdd7658729be64597be6",
    "precision": 4
  }
}

Yes. Cronbach’s alpha and McDonald’s omega both come out in the range usually read as good reliability, and every alpha if deleted sits below the full-scale alpha, so dropping any one item would make the scale less reliable, not more. Each item’s corrected item-total correlation is moderate to strong: every question moves with the rest. The dread item is worded the other way round, so the request reverses it before scoring; leave that out and the item works against the others and alpha falls sharply. Items that move together are not yet one dimension, which a principal-component or factor analysis checks, and a consistent score is not by itself a score of what its name claims.

How to read the result

MAT_RELIABILITY

scalars.alpha

Cronbach’s alpha: how consistently the items measure one shared quality, from the share of the summed score’s spread that the items share. 1 means the items move in lockstep; it can fall below 0 when items pull against each other, which usually means a reverse-worded item was not reversed.

Bands (convention: George & Mallery (2003); a labelled convention, not a rule):

ValueLabel
below 0.5unacceptable
from 0.5 to below 0.6poor
from 0.6 to below 0.7questionable
from 0.7 to below 0.8acceptable
from 0.8 to below 0.9good
0.9 and aboveexcellent

Caveats:

  • Alpha rises with the number of items, so a long battery can reach a high alpha with weakly related items.
  • A high alpha does not show the items measure only one thing.
  • Alpha assumes every item is equally tied to the shared quality; when the ties differ it understates reliability, which omega allows for; when item errors correlate (shared wording, method effects) it overstates reliability instead (Sijtsma 2009; Green & Yang 2009).

scalars.alpha_standardized

Alpha computed on the items’ correlations instead of their raw spreads: the alpha the battery would have if every item were first put on the same scale.

Bands (convention: George & Mallery (2003); a labelled convention, not a rule):

ValueLabel
below 0.5unacceptable
from 0.5 to below 0.6poor
from 0.6 to below 0.7questionable
from 0.7 to below 0.8acceptable
from 0.8 to below 0.9good
0.9 and aboveexcellent

Caveats:

  • It differs from alpha when the items’ spreads differ; report the one that matches how the score is built (raw sums or standardised items).

scalars.omega

McDonald’s omega: the share of the summed score’s spread due to the one shared quality, from a one-factor fit that lets each item’s tie to it differ. Read on the same 0 to 1 scale as alpha; it is usually at least as high.

Caveats:

  • No published convention bands omega; it is not read against the alpha bands.
  • Null with a warning when the battery has 2 items, when the fit puts an item’s leftover spread at or below zero (a Heywood case), or when a pairwise table is inconsistent and params.repair is not set. When the fit does not converge, omega is kept as the last iterate’s value and a warning says so; treat it as provisional.
  • The fit assumes one shared quality; when the items reflect several, omega from one factor misstates reliability.

scalars.mean_inter_item_r

The average correlation among the items, the strength of the typical pair; standardized alpha is built from it and the item count.

Caveats:

  • An average hides spread: one item unrelated to the rest pulls it down; check the table and item_total_r.
  • Like any correlation it shows the items move together, not that one causes another.

More on reading it: MAT_RELIABILITY.

Pitfalls

  • Reverse-worded items must be flipped first. An item worded the other way round (“I dread starting work”) runs against the rest; leave it unflipped and it drags alpha down sharply. Name it in the reliability parameters with the scale’s minimum and maximum.
  • A high alpha is not one dimension. Alpha rises with the number of items and with any shared correlation; two related ideas can still give a high alpha. Use a principal-component or factor analysis to see how many dimensions there are.
  • Reliable is not valid. Items that move together measure something consistently; whether it is the idea the score’s name claims is a separate question the figures cannot answer.
  • Drop items for reasons, not only figures. An alpha if deleted above the full-scale alpha marks a weak item; check its wording before removing it, because a narrower scale can be more reliable and less useful.
  • Missing answers change the score. Decide how many items a row must answer to get a score, and treat a row with too few as missing rather than zero.
  • A warning about a factor fit means the figures are not usable. A Heywood case (an item whose estimated share of shared variation comes out at or above all of its variation, which is impossible) or a fit that did not converge usually means an item does not belong with the rest, or there are too few items; read the warning before the omega.

Next steps

Related questions:

Skills: intents, attribute-composition, sem-comparison, sem-fits, statistical-testing, test-variant-options, op-mat-reliability

From the command line:

  • pulse recommend --intent measure_construct --cohort PATH drafts requests for this question bound to your cohort’s fields.
  • pulse api predict checks a request against your cohort without running it.
  • pulse api process runs it.
  • pulse explain --response FILE --request REQ reads a result back in plain words: save the pulse api process --json output as FILE, and pass the request that produced it as REQ so the findings name its fields.