Skip to content

Commit ed988a9

Browse files
Patch 13 (#54)
* update to vcov 0.8 * Update Project.toml
1 parent 508eb1d commit ed988a9

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Project.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name = "InteractiveFixedEffectModels"
22
uuid = "80307280-efb2-5c5d-af8b-a9c15821677b"
3-
version = "1.2.1"
3+
version = "1.2.2"
44

55
[deps]
66
DataFrames = "a93c6f00-e57d-5684-b7b6-d8193f3e46c0"
@@ -33,7 +33,7 @@ StatsBase = "0.33, 0.34"
3333
StatsModels = "0.7"
3434
StatsFuns = "0.9, 1"
3535
Tables = "1"
36-
Vcov = "0.5, 0.6, 0.7"
36+
Vcov = "0.8"
3737
julia = "1.6"
3838

3939
[extras]

src/fit.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ function regife(
222222
dof_residual = max(size(X, 1) - size(X, 2) - df_absorb_fe, 1)
223223

224224
## estimate vcov matrix
225-
vcov_data = Vcov.VcovData(Xm, crossxm, residualsm, dof_residual)
225+
vcov_data = Vcov.VcovData(Xm, crossxm, inv(crossxm), residualsm, dof_residual)
226226
matrix_vcov = StatsBase.vcov(vcov_data, vcov_method_data)
227227
# compute various r2
228228
nobs = sum(esample)

0 commit comments

Comments
 (0)