Skip to content

Commit

Permalink
null V in comparisons
Browse files Browse the repository at this point in the history
  • Loading branch information
vincentarelbundock committed Dec 15, 2024
1 parent fcd5e70 commit 2d0eae7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion marginaleffects/comparisons.py
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,7 @@ def outer(x):
out = outer(model.coef)

# Compute standard errors and confidence intervals
if vcov is not None and vcov is not False:
if vcov is not None and vcov is not False and V is not None:
J = get_jacobian(func=outer, coefs=model.coef, eps_vcov=eps_vcov)
se = get_se(J, V)
out = out.with_columns(pl.Series(se).alias("std_error"))
Expand Down

0 comments on commit 2d0eae7

Please sign in to comment.