print.summary.mfpi: Print a '"summary.mfpi"' Object

View source: R/mfpi_summary.R

print.summary.mfpiR Documentation

Print a "summary.mfpi" Object

Description

Displays the four-step MFPI summary produced by summary.mfpi().

Usage

## S3 method for class 'summary.mfpi'
print(x, digits = NULL, ...)

Arguments

x

An object of class "summary.mfpi".

digits

Optional non-negative integer controlling displayed decimal places other than fractional-polynomial powers and degrees of freedom. If NULL, x$digits is used when available; otherwise the MFPI print-helper default is used.

...

Currently unused.

Details

Steps 1–3 are delegated to print.mfpi() so that print(fit) and print(summary(fit)) use the same adjustment-model and interaction- selection output. Step 4 adds a compact regression display for each retained interaction model.

Step 4 uses readable group labels and FP transformations rather than internal design-column names. The grouping variable is shown in Step 2 and the FLEX setting in the main MFPI header, so neither is repeated for every retained interaction. Each retained interaction is introduced by an underlined heading. Interaction powers are always printed by group level, including when the selected FLEX strategy gives all groups the same powers. Group-variable coefficients and adjustment coefficients are displayed in separate tables. For models with an intercept, it is displayed separately. Centered terms include a Center column and use the Basis - Center convention. Multinomial models use a separate outcome-versus-reference block for each non-reference outcome.

When one or more retained interaction variables have a nonzero MFPI shift, Step 4 prints one clarification immediately below the first shifted interaction's group-specific FP table. The constant shown inside an FP transformation is the shifting factor applied to all observations before the group-specific FP terms are constructed; structural zeros remain untransformed. Later shifted interactions retain the explicit constant in their transformation labels, but the note is not repeated. No shift note is printed when all retained interactions have zero shift.

The original mfpi() call is printed with Steps 1–3. Step 4 does not repeat the calls of the underlying retained regression models or print exponentiated-coefficient tables, significance stars, concordance, or global likelihood-ratio/Wald/score tests. Those quantities remain available from the stored fitted regression model when required, but they are not part of the MFPI interaction-selection result.

Value

x invisibly.

See Also

summary.mfpi(), print.mfpi(), coef.mfpi(), vcov.mfpi()


mfp2 documentation built on Nov. 14, 2026, 1:06 a.m.