I am trying to use effects-coding to get mean values for my latent factors that are of the same scale as my indicators.
I have a higher order model, so I was not sure if I need to add effects coding in the same way for the second order factors or not. (as I would like to have a mean value for the second order factors as well)
After adding effects coding the model converged normally and I got the same fit measures as before, but I still get 0.000 as estimates for all latent factors.
knowledge ~~ NA*knowledge
I6_SQ1 ~ m1*1
I6_SQ2 ~ m2*1
I6_SQ3 ~ m3*1
k1 == 0 - k2 - k3
perceived_AC ~ NA*1
```{r, echo=TRUE}myModel10<-'# measurement modelknowledge =~ NA*C1_SQ1 + a1*C1_SQ1 + a2*C1_SQ2 + a3*C1_SQ3 + a4*C1_SQ4 + a5*C1_SQ5 + a6*C1_SQ6 + a7*C1_SQ7 + a8*C1_SQ8 + a9*C1_SQ9 + a10*C1_SQ10 + a11*C1_SQ11 + a12*C1_SQ12 + a13*C1_SQ13resources =~ NA*E3_SQ1 + b1*E3_SQ1 + b2*E3_SQ2 + b3*E3_SQ3fairness =~ NA*F2_SQ1 + c1*F2_SQ1 + c2*F2_SQ2 + c3*F2_SQ3 + c4*F2_SQ4uppward_trustVD =~ NA*G5_SQ1 + d1*G5_SQ1 + d2*G5_SQ2 + d3*G5_SQ3 + d4*G6uppward_trustLS =~ NA*G7_SQ1 + e1*G7_SQ1 + e2*G7_SQ2 + e3*G7_SQ3 + e4*G8communication =~ NA*D1_SQ1 + f1*D1_SQ1 + f2*D1_SQ2 + f3*D1_SQ3 + f4*D1_SQ4internal_collab =~ NA*D4_SQ1 + g1*D4_SQ1 + g2*D4_SQ2 + g3*D4_SQ3internal_trust =~ NA*G1_SQ1 + h1*G1_SQ1 + h2*G1_SQ2 + h3*G1_SQ3 + h4*G2downward_trust =~ NA*G3_SQ1 + i1*G3_SQ1 + i2*G3_SQ2 + i3*G3_SQ3 + i4*G4external_collab =~ NA*D2_SQ1 + j1*D2_SQ1 + j2*D2_SQ2 + j3*D2_SQ3 + j4*D3_SQ1 + j5*D3_SQ2 + j6*D3_SQ3perceived_AC =~ NA*I6_SQ1 + k1*I6_SQ1 + k2*I6_SQ2 + k3*I6_SQ3
#higher order factorstrust_above =~ NA*uppward_trustVD + l1*uppward_trustVD + l2*uppward_trustLSGroupsense =~ NA*communication + m1*communication + m2*internal_collab + m3*internal_trust#effects coding method for mean and covariance structures of latent variables#set loading structure -> loadings for a given construct should average to 1, which is the same as having them sum to the muber of indicators
a1 == 13 - a2 - a3 - a4 - a5 - a6 - a7 - a8 - a9 - a10 - a11 - a12 - a13b1 == 3 - b2 - b3c1 == 4 - c2 - c3 - c4d1 == 4 - d2 - d3 - d4e1 == 4 - e2 - e3 - e4f1 == 4 - f2 - f3 - f4g1 == 3 - g2 - g3h1 == 4 - h2 - h3 - h4i1 == 4 - i2 - i3 - i4j1 == 6 - j2 - j3 - j4 - j5 - j6k1 == 3 - k2 - k3
l1 == 2 - l2m1 == 3 - m2 - m3#set intercept structure for indicators -> they should sum to zero for each constructC1_SQ1 ~ n1*1C1_SQ2 ~ n2*1C1_SQ3 ~ n3*1C1_SQ4 ~ n4*1C1_SQ5 ~ n5*1C1_SQ6 ~ n6*1C1_SQ7 ~ n7*1C1_SQ8 ~ n8*1C1_SQ9 ~ n9*1C1_SQ10 ~ n10*1C1_SQ11 ~ n11*1C1_SQ12 ~ n12*1C1_SQ13 ~ n13*1n1 == 0 - n2 - n3 - n4 - n5 - n6 - n7 - n8 - n9 - n10 - n11 - n12 - n13E3_SQ1 ~ o1*1E3_SQ2 ~ o2*1E3_SQ3 ~ o3*1o1 == 0 - o2 - o3F2_SQ1 ~ p1*1F2_SQ2 ~ p2*1F2_SQ3 ~ p3*1F2_SQ4 ~ p4*1p1 == 0 - p2 - p3 - p4G5_SQ1 ~ q1*1G5_SQ2 ~ q2*1G5_SQ3 ~ q3*1G6 ~ q4*1q1 == 0 - q2 - q3 - q4G7_SQ1 ~ r1*1G7_SQ2 ~ r2*1G7_SQ3 ~ r3*1G8 ~ r4*1r1 == 0 - r2 - r3 - r4D1_SQ1 ~ s1*1D1_SQ2 ~ s2*1D1_SQ3 ~ s3*1D1_SQ4 ~ s4*1s1 == 0 - s2 - s3 - s4D4_SQ1 ~ t1*1D4_SQ2 ~ t2*1D4_SQ3 ~ t3*1t1 == 0 - t2 - t3G1_SQ1 ~ u1*1G1_SQ2 ~ u2*1G1_SQ3 ~ u3*1G2 ~ u4*1u1 == 0 - u2 - u3 - u4G3_SQ1 ~ v1*1G3_SQ2 ~ v2*1G3_SQ3 ~ v3*1G4 ~ v4*1v1 == 0 - v2 - v3 - v4D2_SQ1 ~ w1*1D2_SQ2 ~ w2*1D2_SQ3 ~ w3*1D3_SQ1 ~ w4*1D3_SQ2 ~ w5*1D3_SQ3 ~ w6*1w1 == 0 - w2 - w3 - w4 - w5 - w6I6_SQ1 ~ z1*1I6_SQ2 ~ z2*1I6_SQ3 ~ z3*1z1 == 0 - z2 - z3#free latent varianceknowledge ~~ NA*knowledgeresources ~~ NA*resourcesfairness ~~ NA*fairnessuppward_trustVD ~~ NA*uppward_trustVDuppward_trustLS ~~ NA*uppward_trustLScommunication ~~ NA*communicationinternal_collab ~~ NA*internal_collabinternal_trust ~~ NA*internal_trustdownward_trust ~~ NA*downward_trustexternal_collab ~~ NA*external_collabperceived_AC ~~ NA*perceived_ACtrust_above ~~ NA*trust_aboveGroupsense ~~ NA*Groupsense#free latent meansknowledge ~ NA*1resources ~ NA*1fairness ~ NA*1uppward_trustVD ~ NA*1uppward_trustLS ~ NA*1communication ~ NA*1internal_collab ~ NA*1internal_trust ~ NA*1downward_trust ~ NA*1external_collab ~ NA*1perceived_AC ~ NA*1trust_above ~ NA*1Groupsense ~ NA*1
# regression partperceived_AC ~ knowledge + resources + fairness + trust_above + Groupsense + downward_trust + external_collab
#residual correlation because of measurement#knowledge scale ungulateC1_SQ1 ~~ C1_SQ2C1_SQ1 ~~ C1_SQ3C1_SQ2 ~~ C1_SQ3C1_SQ3 ~~ C1_SQ4#knowledge scale damageC1_SQ5 ~~ C1_SQ6C1_SQ5 ~~ C1_SQ7C1_SQ5 ~~ C1_SQ8C1_SQ6 ~~ C1_SQ7C1_SQ6 ~~ C1_SQ8C1_SQ7 ~~ C1_SQ8#knowledge scale neg population effectsC1_SQ9 ~~ C1_SQ10C1_SQ9 ~~ C1_SQ11C1_SQ10 ~~ C1_SQ11#levels within external collaborationD2_SQ2 ~~ D2_SQ3D3_SQ2 ~~ D3_SQ3D2_SQ1 ~~ D3_SQ1D2_SQ2 ~~ D3_SQ2D2_SQ3 ~~ D3_SQ3#negative statements in trustG1_SQ1 ~~ G1_SQ3G3_SQ1 ~~ G3_SQ3G5_SQ1 ~~ G5_SQ3G7_SQ1 ~~ G7_SQ3#positive statements in trustG1_SQ2 ~~ G2G3_SQ2 ~~ G4G5_SQ2 ~~ G6G7_SQ2 ~~ G8#neg/pos statements in fairnessF2_SQ1 ~~ F2_SQ3F2_SQ2 ~~ F2_SQ4#communication with similar stemD1_SQ2 ~~ D1_SQ3#same trust question usedG1_SQ1 ~~ G3_SQ1G1_SQ2 ~~ G3_SQ2G1_SQ3 ~~ G3_SQ3G2 ~~ G4G1_SQ1 ~~ G5_SQ1G1_SQ2 ~~ G5_SQ2G1_SQ3 ~~ G5_SQ3G2 ~~ G6G1_SQ1 ~~ G7_SQ1G1_SQ2 ~~ G7_SQ2G1_SQ3 ~~ G7_SQ3G2 ~~ G8G3_SQ1 ~~ G5_SQ1G3_SQ2 ~~ G5_SQ2G3_SQ3 ~~ G5_SQ3G4 ~~ G6G3_SQ1 ~~ G7_SQ1G3_SQ2 ~~ G7_SQ2G3_SQ3 ~~ G7_SQ3G4 ~~ G8G5_SQ1 ~~ G7_SQ1G5_SQ2 ~~ G7_SQ2G5_SQ3 ~~ G7_SQ3G6 ~~ G8'
Looking at the results I see that it worked partly, but not for those latent that are part of a higher order factor.
I would like to get latent mean estimates for the first and second order factors. (If this is even possible?)