[R] SEM Model Not Converging

From: Sam Stewart <samstewart11_at_gmail.com>
Date: Mon, 16 May 2011 11:30:46 -0300


I'm trying to build a SEM using the sem package. I'll attach my model specification below.

When I turn debug=TRUE, it seems as if I'm getting to convergence because I get this message:

Successive iterates within tolerance.
Current iterate is probably solution.

However, at the end of the process I get this message:

Warning message:
In sem.default(ram = ram, S = S, N = N, param.names = pars, var.names = vars, :   Could not compute QR decomposition of Hessian. Optimization probably did not converge.

I tried setting par.size='startvalues' and it didn't make any difference. Is it just the size of my model?

F1->reFDE, lam1, NA
F1->ReFUIDGreg, lam2, NA
F1->reFDRwithDDRV, lam3, NA
F1->reparD, lam4, NA
F1->reparDR, lam5, NA
F1->reparRisk, lam6, NA
F1->reWDD, lam7, NA
F1->reWDH, lam8, NA
F1->reWSP, lam9, NA
F1->reWDIS, lam10, NA
F1->reWCell, lam11, NA
F1->reWFAT, lam12, NA
F1->reAanx, lam13, NA
F1->reDanx, lam14, NA
F1->reDstress, lam15, NA
F1->reAstress, lam16, NA
F2->reSI1, lam17, NA
F2->reSI2, lam18, NA
F2->reSI3, lam19, NA
F2->reSI4, lam20, NA
F2->reSimDE, lam21, NA
F2->reSimDD, lam22, NA
F2->reSimDrug, lam23, NA
F2->reSimDRD, lam24, NA
F3->RENOINTEND, lam25, NA
F3->RETRYNOTD, lam26, NA
F3->RENOSTARTD, lam27, NA
F3->REUSEDD, lam28, NA
F3->REWILLD1, lam29, NA
F3->REDU1, lam30, NA
F3->REDA1, lam31, NA
F3->RERIDE1, lam32, NA
F3->REAFTER1, lam33, NA
F3->REUSEC1, lam34, NA
F3->REUSESP1, lam35, NA
F3->REUM1, lam36, NA
F3->REABUSE1, lam37, NA
F3->RESB1, lam38, NA
F3->REMIGHT1, lam39, NA
F4->retrydrink, lam40, NA
F4->RetryDope, lam41, NA
F4->reNoD, lam42, NA
F4->reLeaveD, lam43, NA
F4->reDeDR, lam44, NA
F4->reDopeNo, lam45, NA
F4->reDopeleave, lam46, NA
F4->reDopeDD, lam47, NA
F4->reP3D, lam48, NA
F5->reP3DA, lam49, NA
F5->reP3DD, lam50, NA
F5->reP3DRD, lam51, NA
F5->reP3Equip, lam52, NA
F5->reP3UC, lam53, NA
F5->reP3SP, lam54, NA
F5->reP3UM, lam55, NA
F5->reP3Abuse, lam56, NA
F5->reP3SB, lam57, NA
F5->reP3helmet, lam58, NA
F5->reP1DADR, lam59, NA
F5->reP1DRUG, lam60, NA
F5->reP1SP, lam61, NA
F6->reinjwhileDU, lam62, NA
F6->reinjwhileWDUDRV, lam63, NA
F6->reinjwhileDA, lam64, NA
F6->reinjwhileDRafterD, lam65, NA
F6->reinjwhileUcrack, lam66, NA
F6->reinjwhileUM, lam67, NA
F6->reinjwhileabusePRDG, lam68, NA
F6->reinjwhilenoSB, lam69, NA
F6->reinjwhilenohelmet, lam70, NA
F7->relikeDR, lam71, NA
F7->relikeSP, lam72, NA
F7->relikeDIS, lam73, NA
F7->relikeCELL, lam74, NA
F7->relikeDROW, lam75, NA
F7->relikeDRUG, lam76, NA
F7->restupid, lam77, NA
F7->reimmature, lam78, NA
F7->takerisksFthinkcool, lam79, NA
F7->takeriskFthinkIMP, lam80, NA
F7->takeriskFthinkbrave, lam81, NA
F7->takeriskFthinkexciting, lam82, NA
F7->reSELF, lam83, NA
F7->reNORISK, lam84, NA
F7->reNOPERSON, lam85, NA
F7->reNOCONSE, lam86, NA
F7->reWRONG, lam87, NA
F7->reGEAR, lam88, NA
F7->reCONSEQ, lam89, NA
F7->reSUCES, lam90, NA

reFDE<->reFDE, e1, NA
ReFUIDGreg<->ReFUIDGreg, e2, NA
reFDRwithDDRV<->reFDRwithDDRV, e3, NA
reparD<->reparD, e4, NA
reparDR<->reparDR, e5, NA
reparRisk<->reparRisk, e6, NA
reWDD<->reWDD, e7, NA
reWDH<->reWDH, e8, NA
reWSP<->reWSP, e9, NA

reWDIS<->reWDIS, e10, NA
reWCell<->reWCell, e11, NA
reWFAT<->reWFAT, e12, NA
reAanx<->reAanx, e13, NA
reDanx<->reDanx, e14, NA

reDstress<->reDstress, e15, NA
reAstress<->reAstress, e16, NA
reSI1<->reSI1, e17, NA
reSI2<->reSI2, e18, NA
reSI3<->reSI3, e19, NA
reSI4<->reSI4, e20, NA

reSimDE<->reSimDE, e21, NA
reSimDD<->reSimDD, e22, NA
reSimDrug<->reSimDrug, e23, NA
reSimDRD<->reSimDRD, e24, NA
RENOINTEND<->RENOINTEND, e25, NA
RETRYNOTD<->RETRYNOTD, e26, NA
RENOSTARTD<->RENOSTARTD, e27, NA
REUSEDD<->REUSEDD, e28, NA
REWILLD1<->REWILLD1, e29, NA
REDU1<->REDU1, e30, NA
REDA1<->REDA1, e31, NA
RERIDE1<->RERIDE1, e32, NA
REAFTER1<->REAFTER1, e33, NA
REUSEC1<->REUSEC1, e34, NA
REUSESP1<->REUSESP1, e35, NA
REUM1<->REUM1, e36, NA
REABUSE1<->REABUSE1, e37, NA
RESB1<->RESB1, e38, NA
REMIGHT1<->REMIGHT1, e39, NA
retrydrink<->retrydrink, e40, NA
RetryDope<->RetryDope, e41, NA
reNoD<->reNoD, e42, NA
reLeaveD<->reLeaveD, e43, NA
reDeDR<->reDeDR, e44, NA
reDopeNo<->reDopeNo, e45, NA
reDopeleave<->reDopeleave, e46, NA
reDopeDD<->reDopeDD, e47, NA
reP3D<->reP3D, e48, NA
reP3DA<->reP3DA, e49, NA
reP3DD<->reP3DD, e50, NA
reP3DRD<->reP3DRD, e51, NA
reP3Equip<->reP3Equip, e52, NA
reP3UC<->reP3UC, e53, NA
reP3SP<->reP3SP, e54, NA
reP3UM<->reP3UM, e55, NA

reP3Abuse<->reP3Abuse, e56, NA
reP3SB<->reP3SB, e57, NA
reP3helmet<->reP3helmet, e58, NA
reP1DADR<->reP1DADR, e59, NA
reP1DRUG<->reP1DRUG, e60, NA
reP1SP<->reP1SP, e61, NA
reinjwhileDU<->reinjwhileDU, e62, NA
reinjwhileWDUDRV<->reinjwhileWDUDRV, e63, NA reinjwhileDA<->reinjwhileDA, e64, NA
reinjwhileDRafterD<->reinjwhileDRafterD, e65, NA reinjwhileUcrack<->reinjwhileUcrack, e66, NA reinjwhileUM<->reinjwhileUM, e67, NA
reinjwhileabusePRDG<->reinjwhileabusePRDG, e68, NA reinjwhilenoSB<->reinjwhilenoSB, e69, NA reinjwhilenohelmet<->reinjwhilenohelmet, e70, NA relikeDR<->relikeDR, e71, NA
relikeSP<->relikeSP, e72, NA
relikeDIS<->relikeDIS, e73, NA
relikeCELL<->relikeCELL, e74, NA
relikeDROW<->relikeDROW, e75, NA
relikeDRUG<->relikeDRUG, e76, NA

restupid<->restupid, e77, NA
reimmature<->reimmature, e78, NA
takerisksFthinkcool<->takerisksFthinkcool, e79, NA takeriskFthinkIMP<->takeriskFthinkIMP, e80, NA takeriskFthinkbrave<->takeriskFthinkbrave, e81, NA takeriskFthinkexciting<->takeriskFthinkexciting, e82, NA reSELF<->reSELF, e83, NA
reNORISK<->reNORISK, e84, NA
reNOPERSON<->reNOPERSON, e85, NA
reNOCONSE<->reNOCONSE, e86, NA
reWRONG<->reWRONG, e87, NA
reGEAR<->reGEAR, e88, NA
reCONSEQ<->reCONSEQ, e89, NA
reSUCES<->reSUCES, e90, NA
F1<->F1, 1, NA
F2<->F2, 1, NA
F3<->F3, 1, NA
F4<->F4, 1, NA
F5<->F5, 1, NA
F6<->F6, 1, NA
F7<->F7, 1, NA
F1<->F2, F1F2, NA
F1<->F3, F1F3, NA
F1<->F4, F1F4, NA
F1<->F5, F1F5, NA
F1<->F6, F1F6, NA
F1<->F7, F1F7, NA
F2<->F3, F2F3, NA
F2<->F4, F2F4, NA
F2<->F5, F2F5, NA
F2<->F6, F2F6, NA
F2<->F7, F2F7, NA
F3<->F4, F3F4, NA
F3<->F5, F3F5, NA
F3<->F6, F3F6, NA
F3<->F7, F3F7, NA
F4<->F5, F4F5, NA
F4<->F6, F4F6, NA
F4<->F7, F4F7, NA
F5<->F6, F5F6, NA
F5<->F7, F5F7, NA
F6<->F7, F6F7, NA

-- 
Sam Stewart, MMath, A.Stat
IDPhD Candidate (Health Informatics)
Faculty of Computer Science, Dalhousie University
6050 University Ave.
Halifax, NS, Canada, B3H 1W5

______________________________________________
R-help_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
Received on Mon 16 May 2011 - 18:04:55 GMT

This quarter's messages: by month, or sorted: [ by date ] [ by thread ] [ by subject ] [ by author ]

All messages

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Mon 16 May 2011 - 18:10:07 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive