【问题标题】:heemod::how to define different initial counts for two strategies when running a modelheemod::如何在运行模型时为两种策略定义不同的初始计数
【发布时间】:2018-08-29 16:30:21
【问题描述】:

是否可以在 heemod 库中为两种策略运行不同的初始计数?

假设我们有 ?run_model 提供的示例

mod1 <- define_strategy( transition = define_transition( .5, .5, .1, .9 ), define_state( cost = 543, ly = 1 ), define_state( cost = 432, ly = 1 ) )

mod2 <- define_strategy( transition = define_transition( .5, .5, .1, .9 ), define_state( cost = 789, ly = 1 ), define_state( cost = 456, ly = 1 ) )

我们如何改变这个功能

res2 <- run_model( mod1, mod2, cycles = 10, cost = cost, effect = ly)

并设置 mod1 c(80,20) 和 mod2 c(60,40) 的初始计数?

谢谢

【问题讨论】:

    标签: r rstudio markov


    【解决方案1】:

    对于 heemod 包运行的基于队列的马尔可夫模型没有意义。这些模型比较了可比较的患者组的策略,开始时在健康状态之间平均分布。所以这个功能不可用。

    【讨论】:

      猜你喜欢
      • 2014-08-02
      • 1970-01-01
      • 1970-01-01
      • 2010-12-22
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2012-01-03
      • 1970-01-01
      相关资源
      最近更新 更多