| pool_pamm_fits | R Documentation |
Combines the m imputation fits with Rubin's rules: the pooled
parametric coefficients use \bar Q and
V = \bar W + (1 + 1/m) B. Smooth-term p-values are pooled with the
median-p rule (see references in strip_pamm_fit). Because
mgcv smooth coefficients can use different centered bases across
imputations, this returns a plain pooled summary object rather than a
gam: add_*() methods evaluate every imputation fit with its own
design matrix for predictions.
pool_pamm_fits(fits, smry, skeleton = NULL)
fits |
List of stripped imputation fits. |
smry |
List of |
skeleton |
Optional full (unstripped) fit used only to supply a common training-grid model frame for smooth-term FMI summaries. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.