Skip to content

Commit 0cdde3b

Browse files
committed
fix: typo in Examples
1 parent a0d9a8b commit 0cdde3b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/04 investment portfolios with DCF.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -445,8 +445,8 @@
445445
"execution_count": 61,
446446
"outputs": [],
447447
"source": [
448-
"s = pf2.m(\n",
449-
" distr='norm', # the rate of return distribution. Can be set to `norm` for normal distribution or `lognorm` for lognormal\n",
448+
"s = pf2.monte_carlo_survival_period(\n",
449+
" distr='norm', # the rate of return distribution. Can be set to `norm` for normal distribution, `lognorm` for lognormal or 't' for Student's\n",
450450
" years=30, # future period\n",
451451
" n=100 # Number of random time series generated by Monte Carlo\n",
452452
")"

0 commit comments

Comments
 (0)