Hello everyone:
I am trying to compare the correlation among the same two numerical variables (x1 and x2) in two different populations (n1 and n2) in NHANES data (survey data). I have been using the corr_svy to calculate the correlations but I want to test whether the correlation between x1 and x2 differs significantly in n1 as opposed to n2. I have seen the user command cortesti but this does not take weights. Is it necessary to use weights when comparing these correlations? I also see the user command corrcii (which does take weights) and I could examine whether confidence intervals overlap but I am wondering if it is possible to get an actual p-value. Does anyone have any thoughts or suggestions?
I appreciate any assistance, thank you. I am using Stata 16.1.
Related Posts with Testing Differences in Pearson's Correlations in Survey Data
how to calculate monthly incomei have different income earnings by day, week . and fortnight what should i do to get it all to mont…
Panel-Data: Fixed vs. Random with Hausmann testHello Statalist, In a scientific paper I would like to examine the effects of public debt on real e…
Dynamic treatment effects model (difference in difference)Hello Statalist, I am currently analyzing a repeated cross-sectional data to estimate the impact of…
Sample selection correction after biprobitHello, I'm currently estimating some earning equations and controlling for unexplained earnings for…
Code for Cost-Effectiveness Acceptability CurveHello Does anyone have simple code to create a cost-effectiveness acceptability curve? I have a dat…
Subscribe to:
Post Comments (Atom)
0 Response to Testing Differences in Pearson's Correlations in Survey Data
Post a Comment