itemStability {EGAnet} | R Documentation |
Item Stability Statistics from bootEGA
Description
Based on the bootEGA
results, this function
computes and plots the number of times an variable is estimated
in the same dimension as originally estimated by an empirical
EGA
structure or a theoretical/input structure.
The output also contains each variable's replication frequency (i.e., proportion of
bootstraps that a variable appeared in each dimension
Usage
itemStability(bootega.obj, IS.plot = TRUE, structure = NULL, ...)
Arguments
bootega.obj |
A |
IS.plot |
Boolean (length = 1).
Should the plot be produced for |
structure |
Numeric (length = number of variables).
A theoretical or pre-defined structure.
Defaults to |
... |
Deprecated arguments from previous versions of |
Value
Returns a list containing:
membership |
A list containing:
|
item.stability |
A list containing:
|
plot |
Plot output if |
Author(s)
Hudson Golino <hfg9s at virginia.edu> and Alexander P. Christensen <alexpaulchristensen@gmail.com>
References
Original implementation of bootEGA
Christensen, A. P., & Golino, H. (2021).
Estimating the stability of the number of factors via Bootstrap Exploratory Graph Analysis: A tutorial.
Psych, 3(3), 479-500.
Conceptual introduction
Christensen, A. P., Golino, H., & Silvia, P. J. (2020).
A psychometric network perspective on the validity and validation of personality trait questionnaires.
European Journal of Personality, 34(6), 1095-1108.
See Also
plot.EGAnet
for plot usage in EGAnet
Examples
# Load data
wmt <- wmt2[,7:24]
## Not run:
# Standard EGA example
boot.wmt <- bootEGA(
data = wmt, iter = 500,
type = "parametric", ncores = 2
)
## End(Not run)
# Standard item stability
wmt.is <- itemStability(boot.wmt)
## Not run:
# EGA fit example
boot.wmt.fit <- bootEGA(
data = wmt, iter = 500,
EGA.type = "EGA.fit",
type = "parametric", ncores = 2
)
# EGA fit item stability
wmt.is.fit <- itemStability(boot.wmt.fit)
# Hierarchical EGA example
boot.wmt.hier <- bootEGA(
data = wmt, iter = 500,
EGA.type = "hierEGA",
type = "parametric", ncores = 2
)
# Hierarchical EGA item stability
wmt.is.hier <- itemStability(boot.wmt.hier)
# Random-intercept EGA example
boot.wmt.ri <- bootEGA(
data = wmt, iter = 500,
EGA.type = "riEGA",
type = "parametric", ncores = 2
)
# Random-intercept EGA item stability
wmt.is.ri <- itemStability(boot.wmt.ri)
## End(Not run)