View source: R/evaluateDataLikelihood.R
| evaluateDataLikelihood | R Documentation | 
This helper function is used
in the semforest varimp and
proximity aggregate functions.
evaluateDataLikelihood(
  model,
  data,
  data_type = "raw",
  loglik = c("default", "model", "mvn")
)
model | 
 A model as used in   | 
data | 
 Data set to apply to a fitted model.  | 
data_type | 
 Type of data ("raw", "cov", "cor")  | 
loglik | 
 Character. Either 'model' for model-based evaluation or 'mvn' for multivariate normal density.  | 
Returns a -2LL model fit for the model
Andreas M. Brandmaier, John J. Prindle
Brandmaier, A.M., Oertzen, T. v., McArdle, J.J., & Lindenberger, U. (2013). Structural equation model trees. Psychological Methods, 18(1), 71-86.
semtree, semforest
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.