Package: robustfa 1.1-0

robustfa: Object Oriented Solution for Robust Factor Analysis

Outliers virtually exist in any datasets of any application field. To avoid the impact of outliers, we need to use robust estimators. Classical estimators of multivariate mean and covariance matrix are the sample mean and the sample covariance matrix. Outliers will affect the sample mean and the sample covariance matrix, and thus they will affect the classical factor analysis which depends on the classical estimators (Pison, G., Rousseeuw, P.J., Filzmoser, P. and Croux, C. (2003) <doi:10.1016/S0047-259X(02)00007-6>). So it is necessary to use the robust estimators of the sample mean and the sample covariance matrix. There are several robust estimators in the literature: Minimum Covariance Determinant estimator, Orthogonalized Gnanadesikan-Kettenring, Minimum Volume Ellipsoid, M, S, and Stahel-Donoho. The most direct way to make multivariate analysis more robust is to replace the sample mean and the sample covariance matrix of the classical estimators to robust estimators (Maronna, R.A., Martin, D. and Yohai, V. (2006) <doi:10.1002/0470010940>) (Todorov, V. and Filzmoser, P. (2009) <doi:10.18637/jss.v032.i03>), which is our choice of robust factor analysis. We created an object oriented solution for robust factor analysis based on new S4 classes.

Authors:Frederic Bertrand [cre], Ying-Ying Zhang [aut]

robustfa_1.1-0.tar.gz
robustfa_1.1-0.zip(r-4.5)robustfa_1.1-0.zip(r-4.4)robustfa_1.1-0.zip(r-4.3)
robustfa_1.1-0.tgz(r-4.4-any)robustfa_1.1-0.tgz(r-4.3-any)
robustfa_1.1-0.tar.gz(r-4.5-noble)robustfa_1.1-0.tar.gz(r-4.4-noble)
robustfa_1.1-0.tgz(r-4.4-emscripten)robustfa_1.1-0.tgz(r-4.3-emscripten)
robustfa.pdf |robustfa.html
robustfa/json (API)
NEWS

# Install 'robustfa' in R:
install.packages('robustfa', repos = c('https://fbertran.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Datasets:

On CRAN:

This package does not link to any Github/Gitlab/R-forge repository. No issue tracker or development information is available.

2.40 score 25 scripts 266 downloads 26 exports 6 dependencies

Last updated 2 years agofrom:c1951b364f. Checks:OK: 5 NOTE: 2. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 07 2024
R-4.5-winNOTENov 07 2024
R-4.5-linuxNOTENov 07 2024
R-4.4-winOKNov 07 2024
R-4.4-macOKNov 07 2024
R-4.3-winOKNov 07 2024
R-4.3-macOKNov 07 2024

Exports:compute_cov_corcomputeScoresdetailFaClassicFaClassic.defaultFaClassic.formulaFaCovFaCov.defaultFaCov.formulafactorScorePcafactorScorePfafsOrdergetCentergetEigenvaluesgetFagetLoadingsgetQuangetScoresgetSdevmyFaPrintmyplotDDplotpredictprintshowsummary

Dependencies:DEoptimRlatticemvtnormpcaPProbustbaserrcov

An Object-Oriented Solution for Robust Factor Analysis

Rendered fromrobustfa-knitr.Rnwusingknitr::knitron Nov 07 2024.

Last update: 2023-04-16
Started: 2023-04-16

Readme and manuals

Help Manual

Help pageTopics
An Object Oriented Solution for Robust Factor Analysisrobustfa-package robustfa
Compute the Robust Covariance and Correlation Matrix of A Numeric Matrixcompute_cov_cor
Compute Factor ScorescomputeScores
Show Details of an Objectdetail
Class '"Fa"'Fa-class
Classical Factor AnalysisFaClassic FaClassic.default FaClassic.formula
Class '"FaClassic"'FaClassic-class
Robust Factor AnalysisFaCov FaCov.default FaCov.formula
Class '"FaCov"'FaCov-class
Factor Analysis by Principal Component Analysis (PCA)factorScorePca
Factor Analysis by Principal Factor Analysis (PFA)factorScorePfa
Class '"FaRobust"'FaRobust-class
Compute the Ordered Factor ScoresfsOrder
Access Center slotgetCenter,Fa-method getCenter-methods
Access Eigenvalues slotgetEigenvalues,Fa-method getEigenvalues-methods
Access slots of "Fa"getFa getFa,Fa-method getFa-methods
Access Loadings slotgetLoadings,Fa-method getLoadings-methods
Access n.obs slotgetQuan,Fa-method getQuan-methods
Access Scores slotgetScores,Fa-method getScores-methods
Access Standard Deviation slotgetSdev,Fa-method getSdev-methods
Show/Print/Display an ObjectmyFaPrint
Distance-Distance PlotmyplotDD plot
Plot an object of class "Fa"plot,Fa,missing-method plot,Fa-method plot-methods
Calculates predictionpredict predict,Fa-method predict-methods
Print/Display an Objectprint print,Fa-method print,SummaryFa-method print-methods
The Stocks Data - Year 2001stock611
Summary an Objectsummary summary,Fa-method summary-methods
Class '"SummaryFa"'SummaryFa-class
Class '"Ulogical"'Ulogical-class
Class '"Unumeric"'Unumeric-class