Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: setting subcosts using sqom-ado


From   "Tisch Anita" <[email protected]>
To   <[email protected]>
Subject   st: setting subcosts using sqom-ado
Date   Wed, 23 Feb 2011 17:03:32 +0100

I have a problem using the sqom-ado. I want to use transition probabilities to set the subcosts. Thanks to the ado-files I can easily do so by using the (meanprobdistance) option. Unfortunately Stata gives me a error message:

subcosthash():  3204  <tmp>[8,1] found where scalar required
needlemanwunschexactmatrix():     -  function returned error
               sqomref():     -  function returned error
                 <istmt>:     -  function returned error

Return code 3204 = ‘matrix found where square required’

Hence, Stata is giving me a subcost-matrix, but it is not symmetric? Is this causing the problem? Any ideas how I can solve it?

Thanks 
Anita

*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index