Mahmood Naderan <mahmo...@gmail.com>: Apr 05 10:35AM +0200
Hi I didn't find an option in PCA/CA/FAMD functions for dealing with weighted data points. Assume for a variable (V1), the value of the first individual (X) is 86% and the value of the second individual (Y) is 3% and so on. I would like to assign a weight vector like (0.55, 0.12, ...) to them. Any idea about that? Regards, Mahmood |
"Meinhard H. Schroeder" <meinhard.h...@gmail.com>: Apr 05 11:46AM +0200
You can use the subcommand row.w. Example below: 23 individuals with 23 different weights. res<-PCA(Dataset.PCA , scale.unit=TRUE, ncp=5, quali.sup=c(94: 94), graph = FALSE, row.w=c(0.033433509,0.034560481,0.023290759,0.025169046,0.016904583,0.013899324,0.196093163,0.063110443,0.046957175,0.043576258, 0.043200601,0.03756574,0.16904583,0.053719008,0.030052592,0.019158527,0.017655898,0.00864012,0.033433509,0.040570999, 0.024793388,0.007513148,0.017655898)) row.w an optional row weights (by default, a vector of 1 for uniform row weights); the weights are given only for the active individuals Von: factomin...@googlegroups.com [mailto:factomin...@googlegroups.com] Im Auftrag von Mahmood Naderan Gesendet: Montag, 5. April 2021 10:36 An: factomin...@googlegroups.com Betreff: Weighted PCA Hi I didn't find an option in PCA/CA/FAMD functions for dealing with weighted data points. Assume for a variable (V1), the value of the first individual (X) is 86% and the value of the second individual (Y) is 3% and so on. I would like to assign a weight vector like (0.55, 0.12, ...) to them. Any idea about that? Regards, Mahmood -- Vous recevez ce message, car vous êtes abonné au groupe Google Groupes "FactoMineR users". Pour vous désabonner de ce groupe et ne plus recevoir d'e-mails le concernant, envoyez un e-mail à l'adresse factominer-use...@googlegroups.com. Cette discussion peut être lue sur le Web à l'adresse https://groups.google.com/d/msgid/factominer-users/CADa2P2UK03GHSX2%3DT8k9V5sDVDZUKN_zC0SJv22u6HwiEsJ_9w%40mail.gmail.com <https://groups.google.com/d/msgid/factominer-users/CADa2P2UK03GHSX2%3DT8k9V5sDVDZUKN_zC0SJv22u6HwiEsJ_9w%40mail.gmail.com?utm_medium=email&utm_source=footer> . |
Jonatan Del Solar Velarde <delsola...@gmail.com>: Apr 04 10:23AM -0700
FRIENDS: IMJONATAN AND I WORK WITH FACTOMINER FEW YEARS AGO, AND FOR THE FIRST TIME I'M HAVING TROUBLES WITH YOUR PACKAGE, AND I WOULD LIKE TO BE HELPED. I'M TRYING TO RUN A PCA ANALYSIS AND I CAN'T GO FURTHER BECAUSE IM HAVING THIS MESSAGE IN R STUDIO (PICTURE 1) AND IN MOZILLA FIREFOX (PICTURE 2): I HAVE ALREADY: UPGRADE R SOFTWARE TO 4.0.5 VERSION UPDATE ALL PACKAGES INCLUDING FACTOMINER AND ALL PACKAGES ASSOCIATED I RUN ANALISYS THAT LAST YEAR WERE DONE SUCCESFULLY, BUT NOW IT IS NOT WORKING. THANKS FOR YOUR HELP. PICTURE 1 [image: 1.PNG] PICTURE2 [image: 2.PNG] |
Ce résumé vous a été envoyé, car vous êtes abonné aux actualités de ce groupe. Vous pouvez modifier vos paramètres sur la
page d'abonnement au groupe. Pour vous désinscrire de ce groupe et ne plus recevoir de messages, envoyez un e-mail à l'adresse factominer-use...@googlegroups.com. |