powered by
Perform the Theil nonparametric estimation and confidence interval for a slope parameter.
theil(x, y, conf = 0.9)
A list with letters and numbers.
est - An estimate, the median of pairwise slopes.
ci - A vector of confidence interval endpoints.
A vector of values of the explanatory variable.
A vector of values of the response variable.
Level of confidence interval.
a<-0:19;b<-a^2.5 theil(a,b)
Run the code above in your browser using DataLab