Hi,
I am trying to run the latest version of sqom on Stata16 using subcost(meanprobdistance) and am getting an error.
My command is:
sqom, subcost(meanprobdistance) full k(2)
and my data has 3 states (no study, part-time, full-time) for 684 periods and 5614 individuals.
When I run the command I get the following message:
symmetric SQsubcost[3,3]
c1 c2 c3
r1 0
r2 1.9972898 0
r3 1.9991412 1.9998221 0
Perform 3673405 Comparisons with Needleman-Wunsch Algorithm
Running mata function
needlemanwunschapproxmatrix(): 3001 expected 8 arguments but received 6
sqomfull(): - function returned error
<istmt>: - function returned error
I tried reindexing mata using:
mata: mata mlib index
but still get the same error. I tried running the same command on the same data using the old version of the SQ package on Stata15 and it seems to run.
Any ideas on how I might fix this error?
Thanks in advance,
Jane.
Related Posts with sqom subcost matrix problem?
Convert high frequency data to lower frequencyHi! I have a dataset with minute data (stock price) which I would like to convert into 30min data in…
Should I use dydx or dyex after fractional response regression?Hi all, I'm working on a fractional response regression: Code: fracreg logit y1 x1 x2, vce(clust…
test quadratic terms whether are statistically significant different in two different groupsHello, I am considering to do a test to test whether quadratic terms are statistically significant …
Bootstrapping a 3-step regression program - insufficient observation error on later iterationsI wrote a program that: (1) runs LASSO (with the elasticregress command) on a set of 52 instruments …
Collapse a variable for every percentileHi, I have a dataset of wages at the individual level. I want to collapse this dataset at every per…
Subscribe to:
Post Comments (Atom)
0 Response to sqom subcost matrix problem?
Post a Comment