RainbowStats™ · Analysis commands

GROUPED_CROSS_SECTION

Analyze a county cross section grouped by state.

Syntax

GROUPED_CROSS_SECTION(crossSection)
GROUPED_CROSS_SECTION(crossSection,referenceState)

Example or template

G=GROUPED_CROSS_SECTION(C,"largest")
EXTRACT(G,"anova")

Details

The default constructor derives states from county FIPS row keys and selects the largest complete group as reference. The optional string requests a reference state or largest. Generic noncounty row labels are not enough for this command’s state grouping. The result exposes comparisons, ANOVA, group distributions, fixed effects, within fits and interactions.

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.

Learn more

Detailed guide and examples