Package: kfa 0.2.2
kfa: K-Fold Cross Validation for Factor Analysis
Provides functions to identify plausible and replicable factor structures for a set of variables via k-fold cross validation. The process combines the exploratory and confirmatory factor analytic approach to scale development (Flora & Flake, 2017) <doi:10.1037/cbs0000069> with a cross validation technique that maximizes the available data (Hastie, Tibshirani, & Friedman, 2009) <isbn:978-0-387-21606-5>. Also available are functions to determine k by drawing on power analytic techniques for covariance structures (MacCallum, Browne, & Sugawara, 1996) <doi:10.1037/1082-989X.1.2.130>, generate model syntax, and summarize results in a report.
Authors:
kfa_0.2.2.tar.gz
kfa_0.2.2.zip(r-4.7)kfa_0.2.2.zip(r-4.6)kfa_0.2.2.zip(r-4.5)
kfa_0.2.2.tgz(r-4.6-any)kfa_0.2.2.tgz(r-4.5-any)
kfa_0.2.2.tar.gz(r-4.7-any)kfa_0.2.2.tar.gz(r-4.6-any)
kfa_0.2.2.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
card.svg |card.png
kfa/json (API)
NEWS
| # Install 'kfa' in R: |
| install.packages('kfa', repos = c('https://knickodem.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/knickodem/kfa/issues
Pkgdown/docs site:https://knickodem.github.io
- example.kfa - Kfa results from simulated data example
cross-validationfactor-analysispsychometricsscale-development
Last updated from:505687039d. Checks:9 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-x86_64 | OK | 214 | ||
| source / vignettes | OK | 254 | ||
| linux-release-x86_64 | OK | 223 | ||
| macos-release-arm64 | OK | 115 | ||
| macos-oldrel-arm64 | OK | 132 | ||
| windows-devel | OK | 168 | ||
| windows-release | OK | 230 | ||
| windows-oldrel | OK | 169 | ||
| wasm-release | OK | 178 |
Exports:agg_corsagg_loadingsagg_model_fitagg_relsefa_cfa_syntaxfind_kget_std_loadingsindex_availablek_model_fitkfakfa_reportmodel_structurerun_efawrite_efa
Dependencies:askpassbase64encbslibcachemcaretclasscliclockcodetoolscpp11data.tablediagramdigestdoParalleldplyre1071evaluatefarverfastmapflextablefontawesomefontBitstreamVerafontLiberationfontquiverforeachfsfuturefuture.applygdtoolsgenericsggplot2globalsgluegowerGPArotationgtablehardhathighrhtmltoolsipredisobanditeratorsjquerylibjsonliteKernSmoothknitrlabelinglatticelavalavaanlifecyclelistenvlubridatemagrittrMASSMatrixmemoisemimemnormtModelMetricsmvtnormnlmennetnumDerivofficeropensslparallellypbivnormpillarpkgconfigplyrpROCprodlimprogressrproxypurrrquadprogR6raggrappdirsRColorBrewerRcpprecipesreshape2rlangrmarkdownrpartS7sassscalessemToolsshapesimstandardsparsevctrsSQUAREMstringistringrsurvivalsyssystemfontstextshapingtibbletidyrtidyselecttimechangetimeDatetinytextzdbutf8uuidvctrsviridisLitewithrxfunxml2yamlzip
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| Aggregated factor correlations | agg_cors |
| Aggregated factor loadings | agg_loadings |
| Summary table of model fit | agg_model_fit |
| Aggregated scale reliabilities | agg_rels |
| Write confirmatory factor analysis syntax | efa_cfa_syntax |
| kfa results from simulated data example | example.kfa |
| Find k for k-fold cross-validation | find_k |
| Standardized factor loadings matrix | get_std_loadings |
| Available Fit Indices | index_available |
| Extract model fit | k_model_fit |
| Conducts k-fold cross validation for factor analysis | kfa |
| Creates summary report from a k-fold factor analysis | kfa_report |
| Unique factor structures | model_structure |
| Conducts exploratory factor analysis | run_efa |
| Write exploratory factor analysis syntax | write_efa |
