avg_spacing.Rd
Computes means for various slices of a regression_spec by betas product.
avg_spacing(x, betas, alpha, jstar, trim = 0)
Regression specification.
Fitted quantile coefficients for specification.
Quantiles targeted.
First quantile to be estimated (usually the center one)
Fraction (0 to 0.5) of observations to be trimmed from each end of a given column in the regression_spec by betas product before the mean is computed.
Matrix with rows containing means for each quantile for various slices of the specification.