Skip to content

Commit

Permalink
Use inverse
Browse files Browse the repository at this point in the history
  • Loading branch information
gragusa committed Dec 13, 2024
1 parent f124589 commit cbdadbc
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions docs/Project.toml
Original file line number Diff line number Diff line change
@@ -1,13 +1,17 @@
[deps]
CSV = "336ed68f-0bac-5ca0-87d4-7b16caf5d00b"
CategoricalArrays = "324d7699-5711-5eae-9e2f-1d82baa6b597"
DataFrames = "a93c6f00-e57d-5684-b7b6-d8193f3e46c0"
Distributions = "31c24e10-a181-5473-b8eb-7969acd0382f"
Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4"
GLM = "38e38edf-8417-5370-95a0-9cbb8c7f171a"
Optim = "429524aa-4258-5aef-a3af-852621145aeb"
RCall = "6f49c342-dc21-5d91-9882-a32aef131414"
RDatasets = "ce6b1742-4840-55fa-b093-852dadbb1d8b"
Revise = "295af30f-e4ad-537b-8983-00126c2a3abe"
StableRNGs = "860ef19b-820b-49d6-a774-d7a799459cd3"
StatsBase = "2913bbd2-ae8a-5f71-8c99-4fb6c76f3a91"
StatsFuns = "4c63d2b9-4356-54db-8cca-17b64c39e42c"
StatsModels = "3eaba693-59b7-5ba5-a881-562e759f1c8d"

[compat]
Expand Down
2 changes: 1 addition & 1 deletion src/lm.jl
Original file line number Diff line number Diff line change
Expand Up @@ -388,7 +388,7 @@ function momentmatrix(m::LinearModel)
end
end

invloglikhessian(m::LinearModel) = invchol(m.pp)
invloglikhessian(m::LinearModel) = inverse(m.pp)

function varstruct(x::LinearModel)
wrkwt = working_weights(x)
Expand Down

0 comments on commit cbdadbc

Please sign in to comment.