r - Could not compute QR decomposition of Hessian CFA/SEM -
i using sem package build sem model. model can run however, there warning message this:
warning message: in eval(expr, envir, enclos) : not compute qr decomposition of hessian. optimization did not converge.
if run summary(cfa1.test), warning error message this:
error in summary.objectiveml(cfa1.test) : coefficient covariances cannot computed in addition: warning message: in vcov.sem(object, robust = robust, analytic = analytic.se) : singular hessian: model underidentified.
my model relationships among market orientation (mo), government incentives(gvincent), entreprenuerial orientation(eo) , firm performance(firmp). these 4 second order constructs. under each of them there number of constructs, example, responsiveness (resp), proactiveness (proa), economic performance(econp), government financial incentives (gvfin) , under sub constructs, there observed variables such resp3,4, 5 , econp(1-12).
below codes of model:
model.1<-specifymodel() gvinfo->gvinfo1, na, 1 #all lamda observed latent (56 lines) gvinfo->gvinfo2, lam112, na gvinfo->gvinfo3, lam113, na gvinfo->gvinfo4, lam114, na gvinfo->gvinfo5, lam115, na gvinfo->gvinfo6, lam116, na gvinfo->gvinfo7, lam117, na gvfin->gvfin1, na, 1 gvfin->gvfin2, lam122, na gvfin->gvfin3, lam123, na gvfin->gvfin4, lam124, na gvfin->gvfin5, lam125, na gvfin->gvfin6, lam126, na gvfin->gvfin7, lam127, na gvpat->gvpat1, na, 1 gvpat->gvpat2, lam132, na gvpat->gvpat3, lam133, na gvpat->gvpat4, lam134, na gvpat->gvpat5, lam135, na econp->econp1, na, 1 econp->econp2, lam402, na econp->econp3, lam403, na econp->econp4, lam404, na econp->econp5, lam405, na econp->econp6, lam406, na econp->econp7, lam407, na econp->econp8, lam408, na econp->econp9, lam409, na econp->econp10, lam410, na econp->econp11, lam411, na econp->econp12, lam412, na socp->socp1, na, 1 socp->socp2, lam422, na infog->infog1, na, 1 infog->infog2, lam312, na infog->infog3, lam313, na infog->infog4, lam314, na infog->infog5, lam315, na infog->infog6, lam316, na infod->infod1, na, 1 infod->infod2, lam322, na infod->infod3, lam323, na infod->infod4, lam324, na infod->infod5, lam325, na resp->resp3, na, 1 resp->resp4, lam334, na resp->resp5, lam335, na innov->innov1, na, 1 innov->innov2, lam212, na innov->innov3, lam213, na proa->proa1, na, 1 proa->proa2, lam222, na proa->proa3, lam223, na riskt->riskt1, na, 1 riskt->riskt2, lam232, na riskt->riskt3, lam233, na #all lamda observed latent gvincent->gvinfo, na, 1 #sub construct construct (11 lines) gvincent->gvfin, beta12, na gvincent->gvpat, beta13, na firmp->enop, na, 1 firmp->socp, beta42, na eo->innov, na, 1 eo->proa, beta22, na eo->riskt, beta23, na mo->infog, na, 1 mo->infod, beta32, na mo->resp, beta33, na #sub construct construct eo->firmp, beta24, na #path end end constructs (5 lines) mo->firmp, beta34, na #path end end constructs gvincent->eo, gam12, na #exd end construct gvincent->firmp, gam14, na #exd end construct eo<->mo, psi23, na #correlation btw end gvincent<->gvincent, phi11, na #error temrs exds (4 lines) eo<->eo, psi22, na #error temrs ends mo<->mo, psi33, na firmp<->firmp, psi44, na #error temrs ends gvinfo<->gvinfo, psi1111, na #error temrs ends subconstructs (11 lines) gvfin<->gvfin, psi1212, na gvpat<->gvpat, psi1313, na innov<->innov, psi2121, na proa<->proa, psi2222, na riskt<->riskt, psi2323, na infog<->infog, psi3131, na infod<->infod, psi3232, na resp<->resp, psi3333, na #error terms ends subconstructs econp<->econp, psi4141, na socp<->socp, psi4242, na gvinfo1<->gvinfo1, the111, na #errors of factor indicators of ends gvinfo2<->gvinfo2, the112, na gvinfo3<->gvinfo3, the113, na gvinfo4<->gvinfo4, the114, na gvinfo5<->gvinfo5, the115, na gvinfo6<->gvinfo6, the116, na gvinfo7<->gvinfo7, the117, na gvfin1<->gvfin1, the121, na gvfin2<->gvfin2, the122, na gvfin3<->gvfin3, the123, na gvfin4<->gvfin4, the124, na gvfin5<->gvfin5, the125, na gvfin6<->gvfin6, the126, na gvfin7<->gvfin7, the127, na gvpat1<->gvpat1, the131, na gvpat2<->gvpat2, the132, na gvpat3<->gvpat3, the133, na gvpat4<->gvpat4, the134, na gvpat5<->gvpat5, the135, na econp1<->econp1, the401, na econp2<->econp2, the402, na econp3<->econp3, the403, na econp4<->econp4, the404, na econp5<->econp5, the405, na econp6<->econp6, the406, na econp7<->econp7, the407, na econp8<->econp8, the408, na econp9<->econp9, the409, na econp10<->econp10, the410, na econp11<->econp11, the411, na econp12<->econp12, the412, na socp1<->socp1, the421, na socp2<->socp2, the422, na infog1<->infog1, the311, na infog2<->infog2, the312, na infog3<->infog3, the313, na infog4<->infog4, the314, na infog5<->infog5, the315, na infog6<->infog6, the316, na infod1<->infod1, the321, na infod2<->infod2, the322, na infod3<->infod3, the323, na infod4<->infod4, the324, na infod5<->infod5, the325, na resp3<->resp3, the333, na resp4<->resp4, the334, na resp5<->resp5, the335, na innov1<->innov1, the211, na innov2<->innov2, the212, na innov3<->innov3, the213, na proa1<->proa1, the221, na proa2<->proa2, the222, na proa3<->proa3, the223, na riskt1<->riskt1, the231, na riskt2<->riskt2, the232, na riskt3<->riskt3, the233, na #errors of factor indicators of ends #model1 test cfa1.test<-sem(model.1,cormat.model.1, n=534) summary(cfa1.test)
it nice if let me know probelms error , warning messages indicate , how should deal them. appreciated.
Comments
Post a Comment