Unfortunately summmary function doesn't give me back AIC values by default. Browsing some site I found the function AIC() but I don't think I'm using it in the right way at all.
Can someone kindly indicate me the correct way to calculate the AIC in my situation?
Thank you so much
Hi, thank you for your answers. I did try that but I get this error: "lavaan WARNING: logLik only available if estimator is ML[1] NA". My estimator is unweighted least square and not maximum likehood.
Thank you again