Suppose that you run a correlation and find the correlation
Suppose that you run a correlation and find the correlation coefficient is -0.568 and the regression equation is y = - 4.2x + 38. The center of your x-data was 4 and the center of your y-data was 21.4. If the critical value is .396, use the appropriate method to predict the y value when x is 2.9
Solution
Okay so to find out the approximate area just plot the function using matlab
use ezplot(\'abs(x)^2+abs(y)^2-1\',[-10 10 -10 10]);
Once you have got the graph of the functions for varying values of p, you find the maximum and minimum of them and see the ranges to find out the Rectangular area under which the closed curve region of the function will lie.
Then, once you have got that, generate random (x,y) pairs and see if they lie inside the region of curve or if they lie outside it. Now find the ratio (#Points that are inside the cureve)/(#number of random points)and now multiply it with the area of rectangle you have got earlier. That is the approximation of the area of curve.
Later 2 parts can be done accordingly!
