Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
PharmCat committed May 28, 2021
1 parent f37c594 commit 80161c6
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 5 deletions.
3 changes: 2 additions & 1 deletion Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ DataFrames = "a93c6f00-e57d-5684-b7b6-d8193f3e46c0"
StatsBase = "2913bbd2-ae8a-5f71-8c99-4fb6c76f3a91"
StatsModels = "3eaba693-59b7-5ba5-a881-562e759f1c8d"
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
CategoricalArrays = "324d7699-5711-5eae-9e2f-1d82baa6b597"

[targets]
test = ["Test", "CSV", "DataFrames", "StatsBase", "StatsModels"]
test = ["Test", "CSV", "DataFrames", "StatsBase", "StatsModels", "CategoricalArrays"]
6 changes: 5 additions & 1 deletion change.log
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
v0.9.2
* z matrix for random effect
* contain ddf

v0.9.1
* update deps
* anova table (experimental)

v0.9.0
* remove redundant code
* change in nlopt solver keyword handling
Expand Down
2 changes: 1 addition & 1 deletion src/anova.jl
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ function anova(lmm::LMM{T}; ddf::Symbol = :satter) where T
elseif ddf == :contain
df[i] = dof_contain(lmm, i)
elseif ddf == :residual
df[i] = dof_residual(lmm, i)
df[i] = dof_residual(lmm)
end
pval[i] = ccdf(FDist(ndf[i], df[i]), F[i])
end
Expand Down
2 changes: 0 additions & 2 deletions src/dof_contain.jl
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@ function zmatrix(lmm::LMM, i)
end
rzm
end


function fullzmatrix(lmm)
fzm = Matrix{Int}(undef, nobs(lmm), 0)
for r = 1:length(lmm.covstr.random)
Expand Down

0 comments on commit 80161c6

Please sign in to comment.