View source: R/withinParTable.R
withinParTable | R Documentation |
The standard 'parTable' in lavaan does not provide correct degrees of freedom when working with a deviation-score data file; this corrects that
withinParTable(fit, data)
fit |
standard output from an sem(...) statement in lavaan |
data |
original 'long' format data frame that was used in sem(...) statement |
(This may become outdated as procedures for doing multilevel analyses with field models become further developed. It should also substantially underestimate significance, I believe if 3 or more observations are within-person)
parTable in which se, z, and p statistics are adjusted to person level
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.