Skip to content

Commit

Permalink
numpy 2.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
vincentarelbundock committed Sep 12, 2024
1 parent 2247728 commit 7817555
Show file tree
Hide file tree
Showing 3 changed files with 800 additions and 594 deletions.
2 changes: 1 addition & 1 deletion marginaleffects/uncertainty.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ def get_z_p_ci(df, model, conf_level, hypothesis_null=0):
if hasattr(model, "df_resid") and isinstance(model.df_resid, float):
dof = model.df_resid
else:
dof = np.Inf
dof = np.inf
critical_value = stats.t.ppf((1 + conf_level) / 2, dof)

df = df.with_columns(
Expand Down
Loading

0 comments on commit 7817555

Please sign in to comment.