Hello, I would like to calculate the point biserial correlation coefficient between a dichotomous variable and a continuous variable. However, my data is clustered with visits nested in higher level units. Is there a way in Stata to account for the clustering when calculating the correlation coefficient?
Many thanks!
Many thanks!