[R] Is Least Squares the Best Approach?
jasonkrupert at yahoo.com
Tue Feb 2 04:56:51 CET 2010
Assuming I have two data sets that are two dimensional that should from similar functions, is Least Squares or a related approach the best way to compare these 2-D data sets? I guess I would like to know how related the two data sets are and if they are from the same function or close to being from the same function.
Thanks for any tips on this topic, as when I look at least squares I only see how well a function fits a set of data and then when I look at chi squared it looks like it is only discussing 1-D type data. Any insights are appreciated, as I believe I am overlooking something.
input_degree_one<-seq(from = from_val, to = to_val, length.out = num_vals)
points(input_degree, output_one, col="blue")
points(input_degree, output_two, col="red")
More information about the R-help