calculates the diagonal elements of a projection matrix X(X'X)^(-1) X' or (diag(w)^(1/2))X(X'diag(w)X)^(-1) X'diag(w)^(1/2); the calculation may be performed with a weight vector W.
Auxiliary quantlet for harefit and plot hare. Computes density, cumulative probability, hazard rates, quantiles, and random sample from a model fitter with harefit.