Programming the statistical procedures from SAS

Correlation over power set

Reply
Contributor
Posts: 36

Correlation over power set

I am doing correlations between two variables A and B in the following setting.

A B
a d
b d
c d

Using proc corr results in a Cartesian product (A x B) correlation. However, I need to do a power set correlation, that is

A B
a d
b d
c d
aORb d
aORb d
aORc d
aORc d
bORc d
bORc d
(aORbORc d)

How can I do this when having tons of values for A?
Ask a Question
Discussion stats
  • 0 replies
  • 72 views
  • 0 likes
  • 1 in conversation