0
$\begingroup$

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.
$\endgroup$
  • $\begingroup$ hi, most of what's available in R is probably here r-survey.r-forge.r-project.org/survey $\endgroup$ – Anthony Damico Feb 14 at 14:34
  • $\begingroup$ Thanks. I know that website. I looked there, but wasn't able to find a direct response to my question. $\endgroup$ – Zbigniew Feb 14 at 15:49
0
$\begingroup$

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.

$\endgroup$

Your Answer

Zbigniew is a new contributor. Be nice, and check out our Code of Conduct.

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.