To resolve issues starting MATLAB on Mac OS X 10.10 (Yosemite) visit: http://www.mathworks.com/matlabcentral/answers/159016
ALPHA and BETA are two physical quantities:
A is dependent variable (Y-Axis) and B is independent variable (X-Axis).
Values of ALPHA range from 50 to 250. (with steps of 50 i.e. 50, 100, 150, 200, 250 )
Values of BETA range from -2 to 3. (with steps of 1 i.e. -2, -1, 0, 1, 2, 3)
Following points are to be plotted on the graph made by ALPHA and BETA.
PLOT these points on ALPHA vs BETA GRAPH.
For which subset of characters(above mentioned points), there is fairly linear relationship and for which subset of characters does it deviate the most ? Is there any need to find errors also ? How would we assure whatever answer we have got is correct ? (Any verification method?)
I know it is very simple statistics problem. PLEASE REPLY SOON. Since I am a beginner in Statistics, I don't know how to solve this problem.
Use the curve fitting toolbox to make a linear fit with all your points and throw out all which are further away than the standart distribution. Usually the throwing out of points is done by the fitting tool to(if you want to).
In general, it's not quite such a simple process. For example, look at the scatterplot of points on this page of Wikipedia for RANSAC: http://en.wikipedia.org/wiki/Ransac. To find only the points that are along the line is not necessarily trivial. This is the reason why the RANSAC method was developed. I'm not sure if there are RANSAC programs in the File Exchange, but you might look, otherwise program up the pseudocode from Wikiepdia.