Before revision:  Applications include variance component estimation and tests of linear restrictions in hierarchical and panel models .
After revision:  Applications include variance component estimation and tests of linear restrictions in models with many regressors. An approximation algorithm is provided that enables accurate computation of the estimator in very large datasets.