Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • no; data in memory would be lost for bayesmh

    I am using bayesmh command on Stata 14 with the code below

    bayesmh cumulitive_count i.gender i.disease weight nagem i.location#i.person, saving(poispostsl.dta, replace) ///
    > noconstant likelihood(poisson, exposure(cumulitive_time)) ///
    > prior({cumulitive_count:i.location#i.person}, normal({cumulitive_count:i.person},{var_person})) ///
    > prior({var_0}, igamma(0.001, 0.001)) ///
    > prior({var_location}, igamma(0.001, 0.001)) ///
    > prior({var_person}, igamma(0.001, 0.001)) ///
    > prior({cumulitive_count:i.gender}, normal(0,1)) ///
    > prior({cumulitive_count:i.disease}, normal(0,1)) ///
    > prior({cumulitive_count:weight}, normal(0,1)) ///
    > prior({cumulitive_count:nagem}, normal(0,1)) ///
    > prior({cumulitive_count:_cons}, normal(0,1)) ///
    > block({var_0}, gibbs) ///
    > block({var_location}, gibbs) ///
    > block({var_person}, gibbs) ///
    > block({cumulitive_count:i.disease}, gibbs) ///
    > block({cumulitive_count:i.location#i.person}, gibbs) ///
    > block({cumulitive_count:i.gender}, gibbs) ///
    > block({cumulitive_count:_cons}, gibbs) ///
    > block({cumulitive_count:nagem}, gibbs) ///
    > block({cumulitive_count:weight}, gibbs) ///
    > mcmcsize(5000) dots notable

    but it throws back an error of no; data in memory would be lost
    what could be the problem
Working...
X