Skip to content

Commit 6b4f908

Browse files
committed
Fix #2 - propagate input params to cmtc
1 parent a82248a commit 6b4f908

File tree

3 files changed

+10
-2
lines changed

3 files changed

+10
-2
lines changed

CHANGES.md

+4
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11

2+
# 0.1.1 / 2019-03-23
3+
4+
* Fix #2 -- propagate input params to ctmc in panelctmc_func.py line 34
5+
26
# 0.1.0 / 2018-10-05
37

48
* Initial Release

panelctmc/panelctmc_func.py

+5-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,11 @@ def panelctmc(paneldata, mapping, lastdate=None,
3131

3232
# Compute transitition matrix
3333
transmat, genmat, transcount, statetime = ctmc(
34-
datalist, len(mapping) + 1, 1.0, toltime=1e-8, debug=True)
34+
datalist,
35+
len(mapping) + 1,
36+
transintv=transintv,
37+
toltime=toltime,
38+
debug=debug)
3539

3640
# done
3741
return transmat, genmat, transcount, statetime, datalist

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ def read(fname):
77

88

99
setup(name='panelctmc',
10-
version='0.1.0',
10+
version='0.1.1',
1111
description=(
1212
"Continuous Time Markov Chain for daily panel data "
1313
"and annual transition probabilities"),

0 commit comments

Comments
 (0)