Packages for weighted multivariate analysis


I am new to R/RStudio. In SAS/SPSS, it is very easy to apply sample/case weighting to any multivariate analysis e.g. multiple regression, factor analysis, cluster analysis, etc. Are there R packages that can be used to run weighted multivariate analysis such as multiple regression, factor analysis, etc.?

Thank you

Take a look at the survey package and specifically the svyglm function if you're looking for weighted linear modeling. If you're doing a lot of work with survey weighted data, you might also be interested in the srvyr package, which is an updated version of survey that has dplyr like syntax.

Thank you. This is very helpful.

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.