Hello,

I've got a function f(x) with this function. For x in -2 : 2 i've generated a vector y with function values. There is also a data set and I've constructed an estimator which should find values similar to y.

My question is, what is the best way to compare these vectors?

A simple example y=1 and a sample size of 10.

y = [1] 1 1 1 1 1 1 1 1 1 1
est = [1] -2.34465214 -1.85665524 -1.36865834 -0.88066144 -0.39266455 0.09533235 0.58332925 1.07132615 1.55932305 2.04731995

Kind regards,
Koen

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to