Dear readers,
I am carrying out a study with panel data from 2011 to 2016 for several cities. I created some factors based on the principal component analysis PCA results (command "pca"), on the exploratory factor analysis EFA results (command "factor"), and on the literature review.
However, I want to analyze the goodness of fit indices for the factors (e.g., CFI, RMSEA, factor loadings significance...). To do so, I run the "confa" command and I get always an error. I paste it below. Please note that I called the factors that I previously created f20 and f17 and the name of the items that form the factors start with "ie...".
. confa (f20:ieq11d ieq16d ieq17d ieq110d ieq111d ieq112d ieq29d) (f17:ieq23d ieq24d ieq27d ieq28d)
initial: log likelihood = -4904.2775
rescale: log likelihood = -4904.2775
rescale eq: log likelihood = -303.87926
could not calculate numerical derivatives
flat or discontinuous region encountered
convergence not achieved
r(430);
I was planning to run "estat fitindices" afterwards but the program does not allow me to do it.
. estat fitindices
last estimates not found
r(301);
I have also tried with the options "missing", "from", "level"...and I always got an error.
Am I addressing the issue correctly? Is there any specification for the "confa" command that I am not taking into account?
Thank you very much for your help.
Best,
Maria
Related Posts with Confirmatory factors analysis CFA in panel data
Page numbers in PDFDear All, I am creating a report in PDF directly from Stata with putpdf command. I would like to nu…
Aggregating law dataHi all. I'm using voter data from Anes but have a problem about the data only giving me the state o…
Rename country id in a paneldataDear Statalisters. I am working with two different panal datasets which I want to merge. Unfortunat…
Limiting the y-axis on a marginsplot graphI'm creating a marginsplot graph for a probit model estimating predicted probabilities. Some of the …
Panel data: Generate A Variable with values based on difference in other variableHi I am working with panel data and I want to generate the variable "polstability" which measures t…
Subscribe to:
Post Comments (Atom)
0 Response to Confirmatory factors analysis CFA in panel data
Post a Comment