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?
mean through several variables Hello, I have 4 different variables, each with the expression 1-5. the variables include mental he…
Margins after -gsem-Dear all, I am having some trouble with my margins command after -gsem-. Here below my data looks l…
Generate new variable by command "if"Hi I want to create a new variable (var3) using an existing variable (var2). Like the attached photo…
Advice on which model to use with binary dependent variable and endogenous ordinal independent variableHello, I have come to a roadblock in my research. I am trying to figure out what type of model to us…
Difference-in-Difference with three time periods when age assigns treatmentDear Statalist, I am trying to estimate the effect of a pension reform on work status of poor peopl…
Subscribe to:
Post Comments (Atom)
0 Response to sqom subcost matrix problem?
Post a Comment