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
Fixed effect model with controlled variablesHi all. I am using a fixed-effect model to reveal the impact of some factors on the land price (I ha…
if else conditional of number of elements in a localHi, I am trying to set a condition within a nested loop. Now, the loop opens some folders; the cond…
closest relative match based on multiple variables after exact matchingDear Statalisters, I have the following problem: I am trying to match two survey waves (let's call …
Question about double quotesHi dear all, I want to rename all variabls. ----------------------- copy starting from the next line…
automatically creating year variable for panel dataHi, I am a beginner in Stata. recently I spent a lot of day in creating a panel data, I have a huge …
Subscribe to:
Post Comments (Atom)
0 Response to Testing Differences in Pearson's Correlations in Survey Data
Post a Comment