Hi there,
I'm confused on the difference bewetween correlate and pwcorr functions in Stata. The two functions are giving me identical values for some pairs of variables, and only slightly different values for other pairs of variables. How do I decide which to use? Statistically speaking, what type of correlations are these two functions performing?
I am also wondering how to do correlations between a categorical (but NOT ordinal) variable and binary or continuous variables. One of my categorical variables has 4 values, and the other has about 30 values (depends on the year, some years have more or fewer values).
Many thanks,
alyssa
I'm confused on the difference bewetween correlate and pwcorr functions in Stata. The two functions are giving me identical values for some pairs of variables, and only slightly different values for other pairs of variables. How do I decide which to use? Statistically speaking, what type of correlations are these two functions performing?
I am also wondering how to do correlations between a categorical (but NOT ordinal) variable and binary or continuous variables. One of my categorical variables has 4 values, and the other has about 30 values (depends on the year, some years have more or fewer values).
Many thanks,
alyssa
Comment