Skip to content

Commit

Permalink
adds citation to EigenDiff
Browse files Browse the repository at this point in the history
  • Loading branch information
dcgerard committed Mar 14, 2019
1 parent cbb3959 commit 2390987
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
6 changes: 6 additions & 0 deletions R/poisthin.R
Original file line number Diff line number Diff line change
Expand Up @@ -393,6 +393,9 @@ uncorassign <- function(n,
#' of `Y`. I also increase the performance by only calculating the
#' singular values (not the singular vectors).
#'
#' The method estimates the number of factors by the Eigenvalue Difference
#' Method of Onatski (2010).
#'
#' @param Y A matrix to estimate the rank.
#' @param rmax The maximum rank.
#' @param niter The maximum number of iterations.
Expand All @@ -401,6 +404,9 @@ uncorassign <- function(n,
#' Factor Analysis and Confounder Adjusted Testing and Estimation.
#' R package version 1.0.4. https://CRAN.R-project.org/package=cate
#'
#' A. Onatski (2010), Determining the number of factors from empirical
#' distribution of eigenvalues. The Review of Economics and Statistics 92(4).
#'
#' @author David Gerard
EigenDiff <- function (Y,
rmax = min(3 * sqrt(nrow(Y)), nrow(Y), ncol(Y)),
Expand Down
7 changes: 7 additions & 0 deletions man/EigenDiff.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 2390987

Please sign in to comment.