Statistical Utilities

Utilities for doing statistical estimation and inference under model misspecification

comp_var()

Generate maars_lm, lm object with estimates of the variance

get_assumptions()

Retrieve the assumptions for the variance estimators to be consistent for a a fitted OLS maars_lm, lm class object

get_confint()

Get the tidy variance summary and confidence intervals for the coefficients of an object of class "maars_lm"

get_summary()

Get the tidy variance summary from a fitted OLS maars_lm, lm class object

Diagnostic Utilities

Utilities for performing model fit diagnostics under model misspecification

diag_boot_qqn()

Normal Q-Q plot of the terms in an output of the bootstrap function

diag_fit_reg_rwgt()

Obtain estimates of GLM or OLS under reweighting of one or multiple regressors

diag_foc_rwgt()

Obtain the "focal reweighting variable" model diagnostic.

diag_foc_slope()

Obtain the "focal slope" model diagnostic

diag_nl_detect()

Obtain the "nonlinearity detection" model diagnostic

get_plot()

Get a list of standard diagnostic plots for lm, in the link[ggplot2] package style.

Print, summarize, and plot data

Print, summarize, and plot maars objects

print(<maars_lm>)

Print maars_lm object

summary(<maars_lm>)

Summary of maars_lm object

print(<summary.maars_lm>)

Print summary of maars_lm object

plot(<maars_lm>)

Plot maars_lm, lm object

confint(<maars_lm>)

Confidence interval of maars_lm, lm object

Other utilities

Other utilities

as.maars()

Convert an object to an object that can be handled by the "maars" package

Datasets

Datasets included in the maars package

la_county

LA County Census tract data from see Buja et al. (2019)

boston_housing

This (corrected) dataset contains information collected by the U.S Census Service concerning housing in the area of Boston Massachusetts.