Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Weighted PCA with EasyCoda package #2

Open
Ramon-88 opened this issue Dec 2, 2022 · 0 comments
Open

Weighted PCA with EasyCoda package #2

Ramon-88 opened this issue Dec 2, 2022 · 0 comments

Comments

@Ramon-88
Copy link

Ramon-88 commented Dec 2, 2022

Dear professor Greenacre, first of all, thanks for your work and for having developed this amazing package "EasyCoda" that makes compositional data analysis more accessible and straightforward. My question doesn't concern problems with the package; instead, it's about conceptual aspects related to weighted PCA. I'm using the PCA function from EasyCodapackage to perform a weighted PCA on Clr log ratios by using weights for my observation (or rows). I'm trying to understand how the scores for each observation are calculated, as I would like to use the weighted PCA to create an index based on the row scores. I also had a look to appendix A of your "Compositional Data Analysis in Practice", but I'm not fully convinced I got the procedure.

So, to rephrase my question differently, if I added an observation (or a row) to my sample, what would be the equation I would have to calculate in order to assign it a score on the selected components? Thanks in advance for any help or suggestion

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant