# Partial correlation coefficient with complex survey data

I am working with complex survey data and trying to find a way to estimate a partial correlation coefficient based on a complex survey design. Is anyone familiar with an R package or function to estimate partial correlation coefficients with complex survey data?

New contributor
Zbigniew is a new contributor to this site. Take care in asking for clarification, commenting, and answering. Check out our Code of Conduct.
• hi, most of what's available in R is probably here r-survey.r-forge.r-project.org/survey – Anthony Damico Feb 14 at 14:34
• Thanks. I know that website. I looked there, but wasn't able to find a direct response to my question. – Zbigniew Feb 14 at 15:49

svyvar() will estimate the population covariance matrix. The inverse of this (use solve()) is the population precision matrix, and if you scale the diagonal to 1 (use cov2cor()) you get the population partial correlation matrix.