Comments (6)
This would definitely fit.
Other things that come to my mind when I think of the scope:
- Other indices used in the structural equation field (this bunch of guys). As they are computed by default by lavaan, it would mostly consist of extractors consistent with the easyverse.
- Convenience methods for PCAs / Factor Analysis, returning the % of variance explained.
- I think that in general, and in the future, the easyverse (that is a thing now :) methods could be useful in the machine learning world, where people struggle with different models/packages. Providing a unifying syntax for extracting, interpreting and understanding their models could be quite appreciated. Although this will probably wait for the help of a future contributor, expert in this kind of things. But providing the tools to bridge the regression world with the ML world could be quite cool.
from performance.
According the 2nd point, I think we can use the code from here:
https://strengejacke.github.io/sjstats/reference/pca.html
from performance.
I've also made a parameters extraction implementation for fa/pca and lavaan in psycho, and I didn't know sjstats had it also (I guess it does too many things 😛)...
from performance.
I guess it does too many things
Yes, that's why an "out-sourcing" into separate packages makes sense. ;-) In the long term, I'll remove those functions from sjstats and just keep a set of useful functions that do not exactly fit into existing easyverse-packages.
from performance.
What do think about the name? Currently, we have pca()
and pca_rotate()
. What about item_pca()
, to be more consistent with this "group" of functions?
from performance.
What about integrating the two (similar to psych::pca()
) so that the rotation is an argument of the former, which would lower the number of exported functions.
As for the name, pca is good because it is widely known by this name. However, I think the name would clash with psych, which principal()
seems to have pca
as an alias.
We could go full plain with principal_components()
? or principal_components_analysis
(as you said, we live in the time of auto-completion ^^)?
principal_components
make sense tho as the function returns precisely the principal components. Whereas a principal components analysis would also possibly refer to other pre/post processing steps.
from performance.
Related Issues (20)
- `check_singularity` doesn't work for `glmmTMB` HOT 9
- `icc` doesn't work for `glmmTMB` HOT 4
- R-squared for Dirichlet regression (`r2`)
- QQ plot blank in check model for glmmTMB with tweedie distribution HOT 4
- Error checking normality for t.test HOT 1
- spurious(?) viewport-too-small error with new ggplot2 version 3.5.0 HOT 11
- incorrect warning with old `ggplot2`/failure to load `see` HOT 2
- check_model "Error in match.arg" HOT 5
- Error in performance::check_distribution(): in call bw.SJ() HOT 2
- Revising `check_model()` HOT 1
- check_model failing on logistic regression HOT 2
- Check_model in version 0.11.0 no longer produces qq plot residuals HOT 19
- r2_nakagawa and glmmTMB with beta_family
- Outlier detection in Linear mixed models failed? HOT 5
- cannot apply check_model title with patchwork::plot_annotation HOT 4
- check_model error suggestions are not complete HOT 4
- Error and Incomplete Output Using performance::check_collinearity with Cox Models HOT 1
- Normality of Residuals of check_model is abnormal. HOT 2
- Revise compare_models() for Bayesian models HOT 5
- R-squared for glmmTMB (binomial) HOT 9
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from performance.