Weighting factor
Hi everyone, I would like some package of R or any help to solve the next problem with a weighting fatcors: Giving a data matrix with dichotomous (2 or more) variables in columns and individuals in rows, and also a theorical distribution of the dichotomous variables I would like a row weight (one per individual) that transform the real distribution of variables to the theorical distribution. Thanks in advance and best regards, -- Ferran Carrascosa