release_bonferroni: Examening chisquare improvement if paths are unconstrained....

View source: R/bonferroni_chi.R

release_bonferroniR Documentation

Examening chisquare improvement if paths are unconstrained. The function returns the paths to be unconstrained based on chisquare change. Adjusted P-values are calculated based on iterative Bonferroni corrections.

Description

Examening chisquare improvement if paths are unconstrained. The function returns the paths to be unconstrained based on chisquare change. Adjusted P-values are calculated based on iterative Bonferroni corrections.

Usage

release_bonferroni(lavaan.fit, ndigit = 3, exp_p = 0.05, ...)

Arguments

lavaan.fit

Model fitted with lavaan

ndigit

Number of digits to round chi and p to

exp_p

Expected p-value

...

Arguments passed to lavTestScore

Value

Returns a dataframe representing a Bonferroni corrected version of lavTestScore.clean.

Author(s)

Maksim Rudnev


Jo-Karl/ccpsyc documentation built on Oct. 15, 2022, 3:20 p.m.