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
Margins after cmroprobitHello I have a dataset which looks as follows (the below is just an excerpt): caseid 7 7 7 7 8 8 …
Ytitle positionI want to reposition the title of the Y axis to where the red line I marked in the attached screensh…
Importing .shp file to Stata with "long" varnameHello, I am trying to import a .shp shapefile containing English local authorities into Stata using…
How can I specify duplicated cases between two groups? id DOB year 1 901020 2014 2 981020 2014 3 841028 2014 4 790707 2014 5 800301 2014 6 9…
from Stata IC to SEHi, currently my Stata version is IC. But it seems IC cannot deal with my large data set. When I run…
Subscribe to:
Post Comments (Atom)
0 Response to Testing Differences in Pearson's Correlations in Survey Data
Post a Comment