search for: model2biovr

Displaying 1 result from an estimated 1 matches for "model2biovr".

Did you mean: model2biovre
2012 Jul 09
1
Lavaan Package - How to Extract Residuals in Data Values
...not know how to get the residuals in the data values themselves for BIOVOL. Does anyone know how to extract residuals for data values themselves in the Lavaan package? Here is the code I am using to construct my model and the model that I am trying to get the residuals for: #Specify the model > model2BIOVre <- 'BIOVOL ~ LOG_NTL + LOG_PTL + b1*LOG_SR_A_D + LOG_NTL ~~ LOG_PTL + LOG_NTL ~~ LOG_SR_A_D + b1 == 0' #Fit the model with the sem function > fit <- sem(model2BIOVre, data=lakes, fixed.x=FALSE, estimator="MLM") #Summarize model > summary(fit, fit.measures=TRUE, standa...