I used proc corr to find pearson and plot scatter with ellipses of 70% and 90%. to finde ellipses's centroid is it the mean value of variables that were use in this process?
i tried proc corr in sas studio and it provide me pearson Im expect to find elllipses's centroid but not sure if it mean value
From the documentation, the ellipses is calculated based on a bivariate normal distribution. The distribution is centered on
(mu_x, mu_y).Suppose we use the traditional Iris dataset to plot petal width vs. petal length. We'll add a marker for the point
(mean_PetalWidth, mean_PetalLength)and see where it is on the graph.We can see that it is clearly centered exactly around
(13.26, 42.6), or the mean values of X and Y.One other way to see this is by looking at the data itself. Let's create an ellipse with SGPlot and output the ellipse data SAS is using in the background.
The two variables
ELLIPSE(PetalWidth,PetalLeng__XOandELLIPSE(PetalWidth,PetalLeng__YOhold the centroid of the ellipse.