Displaying 1 result from an estimated 1 matches for "arccotang".
2012 Nov 20
1
Closest fit data to a particular formula
...m reading the
documentation incorrectly. Here is my current loess line code:
mg.lo = loess(y ~ x, mg, span=0.25)
mg$x_c <- predict(mg.lo)
which produces a curve like the attached file loess_curve.png.
and I would like to have a curve "something like" the arccot in the
attached file arccotangent.png (from wikipedia), but all x values are
positive - meaning just the best fit of the sample data to that type of
curve.. starts high and finishes low but doesn't go below zero and only
decreases. Looking at the arccot(x) definition I can see it as:
arccot x = pi/2 - atan(x)
So I tried t...