Covariance Error Ellipse - sqrt of Eigen value as ellipse axis length
Axis-aligned confidence ellipses
 and a minor axis of length
 and a minor axis of length  , centered at the origin, is defined by the following equation:
, centered at the origin, is defined by the following equation:In our case, the length of the axes are defined by the standard deviations
 and
 and  of the data such that the equation of the error ellipse becomes:
 of the data such that the equation of the error ellipse becomes:The question is now how to choose
 , such that the scale of the resulting ellipse represents a chosen confidence level (e.g. a 95% confidence level corresponds to s=5.991).
, such that the scale of the resulting ellipse represents a chosen confidence level (e.g. a 95% confidence level corresponds to s=5.991).Arbitrary confidence ellipses
Reasoning of scale of ellipse holds if we temporarily define a new coordinate system such that the ellipse becomes axis-aligned, and then rotate the resulting ellipse afterwards.
In other words, whereas we calculated the variances  and
 and  parallel to the x-axis and y-axis earlier, we now need to calculate these variances parallel to what will become the major and minor axis of the confidence ellipse.
 parallel to the x-axis and y-axis earlier, we now need to calculate these variances parallel to what will become the major and minor axis of the confidence ellipse. 
In the case of arbitrary correlated data, the eigenvectors represent the direction of the largest spread of the data, whereas the eigenvalues define how large this spread really is.
Thus, the 95% confidence ellipse can be defined similarly to the axis-aligned case, with the major axis of length  and the minor axis of length
 and the minor axis of length  , where
, where  and
 and  represent the eigenvalues of the covariance matrix.
 represent the eigenvalues of the covariance matrix.
Reference


Comments
Post a Comment