Skip to contents

betaSandwich 1.1.0

Major

  • Added SCorSandwich(), PCorSandwich(), DeltaRSqSandwich(), and FSqSandwich(): delta-method intervals for semipartial correlations, squared partial correlations, the improvement in R-squared, and Cohen’s f-squared (global and local), with normal-theory, ADF, or HC standard errors, as in betaMC and betaNB.
  • RSqBetaSandwich() is removed. Use RSqSandwich(), which gives the same estimates and standard errors; its intervals and tests use the normal distribution, as the other functions do, and its estimates are named rsq and adj.
  • The new functions and DiffBetaSandwich() return objects of class essandwich with one set of methods. DiffBetaSandwich() objects also keep the class diffbetasandwich.

Minor

  • Selective standardization: the arguments std_y and std_x standardize only y or only the named regressors (for example, leave a dummy variable in its 0-1 units). The defaults give the same results as before.
  • DiffBetaSandwich() stops when the slopes are not fully standardized.

Patch

  • BetaHC() and the HC-based functions are faster: the internal .GammaHC() builds the vech(d_i d_i' - Sigma) rows for all observations at once and uses crossprod() (n = 5000, 8 regressors: 0.88 s to 0.02-0.07 s); the results are unchanged.

  • BetaADF() and the ADF-based functions are faster: the internal ADF covariance of the vech(d_i d_i') rows is built for all observations at once and uses crossprod(); the results are unchanged.

  • Fixed the standard error of R-squared in RSqBetaSandwich(), which was about three times too small for every covariance type. With R-squared as a parameter, the variance of y is beta’ Sigma_X beta / R-squared, so its derivatives with respect to beta and Sigma_X are now divided by R-squared.

  • The internal copies from linearAlgebra 0.0.5 (a faster duplication matrix and its inverse) and processLM 0.0.11 are current; the results are unchanged.

Documentation

  • Add SCorSqSandwich() for the image of a signed-semipartial interval under squaring.
  • Add a package help page; the description, README, and vignettes list the current features.
  • The definitions and formulas of the effect sizes are in the roxygen documentation and in the effect size vignette; the README no longer carries them.
  • Add examples for SCorSqSandwich() and for the coef(), vcov(), and confint() methods to the effect size vignette.
  • Replace roxygen links to betaDelta (not on CRAN) with code text, and wrap the roxygen lines at 80 characters.
  • The examples name every argument (stats::lm(formula = ..., data = ...), BetaHC(object = object)), as in the other beta packages.
  • DeltaRSqSandwich() cites Algina et al. (2007, 2008a, 2008b, 2010), and FSqSandwich() cites Selya et al. (2012).

betaSandwich 1.0.9

CRAN release: 2026-06-11

Patch

  • Minor edits to methods.

betaSandwich 1.0.8

CRAN release: 2025-10-19

Patch

  • Minor edits to methods.

betaSandwich 1.0.7

CRAN release: 2024-04-14

Patch

  • Minor documentation edits.

betaSandwich 1.0.6

CRAN release: 2023-10-14

Patch

  • Minor documentation edits.

betaSandwich 1.0.5

CRAN release: 2023-07-08

Patch

  • Added degrees of freedom to the table of results.

betaSandwich 1.0.4

CRAN release: 2023-04-25

Patch

betaSandwich 1.0.3

CRAN release: 2022-12-17

Patch

betaSandwich 1.0.2

CRAN release: 2022-10-07

Patch

  • Factor variables are dummy coded.

betaSandwich 1.0.1

CRAN release: 2022-09-20

Patch

  • Added the nas1982 data set.
  • Minor edits to methods.

betaSandwich 1.0.0

Major

  • And so it begins.