Hi, please help me coding: model : y = f(x) + e, e ~ N(0, sigma^2) f(x) = 1/1+x^2 generate {(x_i,y_i), i=1,2,...,n} x_i: are ordered H(x_j) = sum_i =1, i neq j-1 y_i+1/x_i+1 - x_j (x_i+1 - x_i ) j = 1, ...,n find {(x_i, H(x_i)), i = 1, ..., n} Then find (x_i, H(H(x_i)), i = 1, ..., n} I do appreciate your help thank you in advance fatemah
--------------------------------- It's here! Your new message! Get new email alerts with the free Yahoo! Toolbar. [[alternative HTML version deleted]] ______________________________________________ R-help@stat.math.ethz.ch 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.