RainbowStats™ · Analysis commands

STATE_PCA_EFFECTS

Append state PCA loading coordinates to a county cross section.

Syntax

STATE_PCA_EFFECTS(crossSection,stateHistory,components)
STATE_PCA_EFFECTS(crossSection,stateHistory,components,conceptName)

Example or template

C2=STATE_PCA_EFFECTS(C,STATE_HISTORY,2,"Employment history")
EXTRACT(C2,"regression")

Details

Requires county FIPS row keys, historical state-series data and a positive whole-number component count. The three-argument form uses State Concept as its label; the four-argument form accepts a string label. Returns a new CrossSectionOperator. Fixes the old unconditional read of argument 4 and exposes both supported forms directly through the map.

Uppercase placeholders such as ALIGNED_COUNTY_LIST refer to variables you supply. Interactive object controls and result rendering remain defined by the installed analysis classes.

Available extracts

Save the command result in a variable, then use EXTRACT(result, "key"). Availability can depend on the input form and fitted model.

In indexed patterns such as beta:n, replace n with the required index.