Estimate the lambda matrix.
lambda_matrix(object, sparsity, bandwidth_estimator, misspec)
An esreg object
The estimator to be used for the sparsity in \(\Lambda\), see density_quantile_function
iid - Piecewise linear interpolation of the distribution
nid - Hendricks and Koenker sandwich
The bandwidth estimator to be used for the iid and nid sparsity estimator, see density_quantile_function
Bofinger
Chamberlain
Hall-Sheather
if TRUE, the estimator accounts for potential misspecification in the model