Hello,
I'm trying to run an exploratory factor analysis with ordinal variables, using the "polychoric" command. I followed the instructions on the UCLA Stata website. My code was as below:
polychoric varlist
display r(sum_w)
global N = r(sum_w)
matrix r = r(R)
factormat r, n($N) factors(3)
When I do this after the last line of code I get the error message "r not positive (semi)definitive," when I run it again I get "matrix r has missing values." Is there a way to get around this issue?
Happy to post data example using dataex if needed.
Thank you,
Nur
Related Posts with Polychoric factor analysis - error messages
Comparing the Explanatory power of two regression modelsI would like to compare two models with each other. However, these two models have different sample …
How to calculate transition probabilties?Hi, I am trying to use the following model: UTPr,s = Pr (Yt > s+r | Yo < s) to calculate upwa…
Using datetime in an expression? (Or dropping duplicates with an *earlier* datetime?)Hello! I am looking at the results of a survey in which some respondents submitted a response premat…
Writing string variable to x-axis while actually plotting numeric variableI have this data. var1 var2 var3 apple 1 4 banana 2 6 strawberry 3 9 To draw a graph, I do Code:…
ardlthe ardl optimal lag length code is not working at all i have 5 countries t= 28 five independent var…
Subscribe to:
Post Comments (Atom)
0 Response to Polychoric factor analysis - error messages
Post a Comment