Skip to content

Commit

Permalink
Add regression tests to cover the Dinse variance estimator.
Browse files Browse the repository at this point in the history
  • Loading branch information
mvlvrd committed Dec 12, 2024
1 parent a04c6bc commit ed170a4
Show file tree
Hide file tree
Showing 2 changed files with 741 additions and 101 deletions.
2 changes: 1 addition & 1 deletion sksurv/nonparametric.py
Original file line number Diff line number Diff line change
Expand Up @@ -740,7 +740,7 @@ def cumulative_incidence_competing_risks(
return uniq_times, cum_inc

if var_type == "Dinse":
var = _var_dinse(n_events_cr, kpe_prime, n_at_risk, cum_inc)
var = _var_dinse(n_events_cr, kpe_prime, n_at_risk)
elif var_type == "Dinse_Approx":
var = _var_dinse_approx(n_events_cr, kpe_prime, n_at_risk, cum_inc)
elif var_type == "Aalen":
Expand Down
Loading

0 comments on commit ed170a4

Please sign in to comment.