api2lm0.2 package

Functions and Data Sets for the Book "A Progressive Introduction to Linear Models"

arg_check_cooks_test

Check arguments of cooks_test

arg_check_dfbeta_plot

Check arguments of dfbeta_plot

arg_check_dfbetas_plot

Check arguments of dfbetas_plot

arg_check_dffits_test

Check arguments of dffits_test

arg_check_index_plot_lm

Check arguments of residual_plot.lm

arg_check_influence_plot

Check arguments of dfbetas_plot

arg_check_leverage_test

Check arguments of leverage_test

arg_check_outlier_test

Check arguments of outlier_test

arg_check_residual_plot_lm

Check arguments of residual_plot.lm

auto_mfrow

Automatically determine mfrow

autoplot.confint_adjust

Plot confint_adjust object

coef_compare

Compare coefficients of 2 models

coef_matrix

Return coefficient matrix

combine_coefs

Combine coefficients

confint_adjust

Adjust confidence intervals for multiple comparisons

cooks_plot

Index plot of Cook's distances for lm object

cooks_stats

Cook's statistics

cooks_test

Identify influential observations

dfbeta_plot

dfbeta index plots

dfbetas_plot

dfbetas index plots

dffits_plot

Index plot of DFFITS values for lm object

dffits_stats

DFFITS statistics

dffits_test

Identify influential observations

format_perc_api2lm

Format percentages

get_residuals

Extract residuals from a model

index_plot_dfbetas_elements

Get elements for dfbetas index plot

index_plot_lm

Index plot of statistics from of an lm object

index_plot_lm_elements

Create plot elements for index_plot_lm

index_plot_raw

Index plot helper function

influence_plot

Influence plots

influence_stats

Influence statistics

leverage_plot

Index plot of leverage values for lm object

leverage_stats

Leverage statistics

leverage_test

Identify leverage points

outlier_plot

Index plot of studentized residuals for lm object

outlier_stats

Outlier statistics

outlier_test

Identify outliers

plot.confint_adjust

Plot confint_adjust x

predict_adjust

Adjust prediction intervals for multiple comparisons

print.coef_matrix

Print an object of class coef_matrix produced by the coef_matrix f...

print.confint_adjust

Print confint_adjust object

print.predict_adjust

Print predict_adjust object

residual_plot.lm

Plot residuals of a fitted lm object

residual_plot

Plot residuals of a fitted model

rloo.lm

Compute leave-one-out residuals for lm objects.

rloo

Compute leave-one-out residuals

rplot_raw

Helper function for residuals_plot.lm

set_abline_arglist

Set default values of abline_arglist

set_lines_arglist

Set default values of lines_arglist

set_text_arglist

Set the default values of text_arglist if not specified by the user.

sl_plot.lm

Spread-level plot for lm object

sl_plot

Spread-level plot of a fitted model

Simplifies aspects of linear regression analysis, particularly simultaneous inference. Additionally, supports "A Progressive Introduction to Linear Models" by Joshua French (<https://jfrench.github.io/LinearRegression/>).

  • Maintainer: Joshua P. French
  • License: GPL-3
  • Last published: 2023-06-08