diff --git a/Project.toml b/Project.toml index 58c75b8..8b45ec7 100755 --- a/Project.toml +++ b/Project.toml @@ -1,6 +1,6 @@ name = "Vcov" uuid = "ec2bfdc2-55df-4fc9-b9ae-4958c2cf2486" -version = "0.8.0" +version = "0.8.1" [deps] Combinatorics = "861a8166-3701-5b0c-9a16-15d98fcdc6aa" diff --git a/src/ranktest.jl b/src/ranktest.jl index 24ba4bf..51805fe 100644 --- a/src/ranktest.jl +++ b/src/ranktest.jl @@ -55,7 +55,7 @@ function ranktest!(X::Matrix{Float64}, vlab = cholesky!(Hermitian((kronv * kronv') ./ size(X, 1)), check = false) else K = kron(Gmatrix, Fmatrix)' - vcovmodel = Vcov.VcovData(Z, K, X, nothing, size(Z, 1) - dof_small - dof_fes) + vcovmodel = Vcov.VcovData(Z, K, nothing, X, size(Z, 1) - dof_small - dof_fes) matrix_vcov2 = Vcov.S_hat(vcovmodel, vcov_method) vhat = K \ (K \ matrix_vcov2)' vlab = cholesky!(Hermitian(kronv * vhat * kronv'), check = false)