Locate extrema of fungible OLS regression weights
.fungible_extrema(
theta,
Rxx,
rxy,
Nstarts = 1000,
MaxMin = c("min", "max"),
silent = FALSE
)
A list containing the alternative weights and other fungible weights estimation parameters
The value of the R-squared decrement used to generate a family of fungible coefficients.
An intercorrelation matrix among the predictor variables
A vector of predictor–criterion correlations
The maximum number
Should the cosine between the OLS and alternative weights be maximized ("max") to find the maximally similar coefficients or minimized ("min") to find the maximally dissimilar coefficients?
Should current optimization values be printed to the console (FALSE
) or suppressed (TRUE
)?
Adapted from fungible::fungibleExtrema()
by Niels Waller and Jeff Jones