Skip to content

How to estate the correlation between two autocorrelated variables

2 messages · Zhiqiu Hu, Nordlund, Dan (DSHS/RDA)

#
If you want the partial correlation between t1 and t2 given x and y, then look at the pcor() function in the ppcor package.

Hope this is helpful,

Dan

Daniel J. Nordlund
Washington State Department of Social and Health Services
Planning, Performance, and Accountability
Research and Data Analysis Division
Olympia, WA 98504-5204