itemStability | R Documentation |
bootEGA
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
itemStability(bootega.obj, IS.plot = TRUE, structure = NULL, ...)
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 |
Returns a list containing:
membership |
A list containing:
|
item.stability |
A list containing:
|
plot |
Plot output if |
Hudson Golino <hfg9s at virginia.edu> and Alexander P. Christensen <alexpaulchristensen@gmail.com>
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.
plot.EGAnet
for plot usage in EGAnet
# 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.