Implements a consistent model selection strategy for high dimensional sparse regression when the covariate dependence can be reduced through factor models. By separating the latent factors from idiosyncratic components, the problem is transformed from model selection with highly correlated covariates to that with weakly correlated variables. It is appropriate for cases where we have many variables compared to the number of samples. Moreover, it implements a robust procedure to estimate distribution parameters wherever possible, hence being suitable for cases when the underlying distribution deviates from Gaussianity. See the paper on the 'FarmSelect' method, Fan et al.(2017) <arXiv:1612.08490>, for detailed description of methods and further references.

Performs robust multiple testing for means in the presence of known and unknown latent factors presented in Fan et al.(2019) "FarmTest: Factor-Adjusted Robust Multiple Testing With Approximate False Discovery Control" <doi:10.1080/01621459.2018.1527700>.
             Implements a series of adaptive Huber methods combined with fast data-drive tuning schemes proposed in Ke et al.(2019) "User-Friendly Covariance Estimation for Heavy-Tailed Distributions" <doi:10.1214/19-STS711> to estimate model parameters and construct test statistics that are robust against heavy-tailed and/or asymmetric error distributions. 
             Extensions to two-sample simultaneous mean comparison problems are also included. 
             As by-products, this package contains functions that compute adaptive Huber mean, covariance and regression estimators that are of independent interest.

Handy functions and data to support a course book for accounting research. 
    Gow, Ian and Tongqing Ding (2022) 'Accounting Research: An Introductory Course' <https://iangow.github.io/far_book/>.

Allows the user to execute interactively radial data envelopment analysis models. The user has the ability to upload a data frame, 
    select the input/output variables, choose the technology assumption to adopt and decide whether to run an input or an output oriented model. 
    When the model is executed a set of results are displayed which include efficiency scores, peers' determination, scale efficiencies' evaluation 
    and slacks' calculation. Fore more information about the theoretical background of the package, 
    please refer to Bogetoft & Otto (2011) <doi:10.1007/978-1-4419-7961-2>.