Displaying 1 result from an estimated 1 matches for "manhalobi".
Did you mean:
manhalobis
2011 May 28
2
Observation in a confidence ellipse
Hello everyone
I really need some help here. I made a confidence ellipse using the function ellipse from the package ellipse:
ellipse(SD, centre=colMeans(pcsref),t=sqrt((p * (n-1)/(n-p))*qf(0.99, p,n-p))
Now, I want to write a function whom return TRUE or FALSE if a given observation is in the confidence ellipse. But I have no clue how to do it
Can anyone help me?
Best regards
Jessica