Hello everyone!
I have a 10 item questionnaire related to subjective financial wellbeing (SFWB) and I want to fit a bifactor graded model (bifactor IRT) using gsem in Stata 16. The general latent (G) is SFWB and two specific latent traits (S1 and S2; positively vs negatively worded items). The 10 items are below:
The code is:
My questions are:
1. is the code correct?
2. the model is not concave. Any suggestion?
I have a 10 item questionnaire related to subjective financial wellbeing (SFWB) and I want to fit a bifactor graded model (bifactor IRT) using gsem in Stata 16. The general latent (G) is SFWB and two specific latent traits (S1 and S2; positively vs negatively worded items). The 10 items are below:
Table. Subjective Financial Wellbeing Item Content | |
variable | item |
fwb1_exp | I could handle a major unexpected expense. |
fwb3_secure | I am securing my financial future. |
fwb6_enjoy | I can enjoy life because of the way I'm managing my money. |
fwb2_getby | I am just getting by financially. |
fwb4_concern | I am concerned that the money I have or will save won't last. |
fwb9_strain | Giving a gift for a wedding, birthday or other occasion would put a strain on my finances for the month. |
fwb5_never | Because of my money situation, I feel like I will never have the things I want in life. |
fwb10_left | I have money left over at the end of the month. |
fwb7_behind | I am behind with my finances. |
fwb8_control | My finances control my life. |
The code is:
Code:
mat V = I(4) gsem ( SFWB -> fwb1_exp fwb2_getby fwb3_secure fwb4_concern fwb5_never fwb6_enjoy fwb7_behind fwb8_control fwb9_strain fwb10_left, ologit) /// (S1 -> fwb1_exp fwb3_secure fwb6_enjoy fwb10_left, ologit) /// (S2 -> fwb2_getby fwb4_concern fwb5_never fwb7_behind fwb8_control fwb9_strain, ologit), /// latent (SFWB S1 S2) covstructure(SFWB S1 S2, fixed(V)) /// intp(3) difficult
1. is the code correct?
2. the model is not concave. Any suggestion?
Comment