1
$\begingroup$

What is a family of functions which goes from 0 to 1 and has one or more parameters that alters the rate at which a value of 1 is approached?

$\endgroup$
1
  • 4
    $\begingroup$ @user333 Could you work on improving your question, please? As it stands, it is difficult to determine exactly what question is being asked, and what would be the purpose of such a function in a statistical context (ok I guess it might be related to your previous questions, e.g. on random walk). $\endgroup$
    – chl
    Apr 7 '11 at 11:19
2
$\begingroup$

How do you like the Sigmoid Function ? By adding a parameter k one gets

$f_k(x)=\frac{1}{1+exp(-k*x)}$.

By setting k you can control how steep the function is and hence how fast it approaches 1.

$\endgroup$
2
  • $\begingroup$ Any idea how to allow for "finer" tuning via two parameters? Where to put second parameter? $\endgroup$
    – user333
    Apr 19 '11 at 15:19
  • 1
    $\begingroup$ @user333 yes. What about $f_{k,c}(x)=\frac{1}{1+exp(-k*x+c)}$ ? More generalized: $f(x)=\frac{1}{1+exp(g(x))}$ where g(x) is any function you like. $\endgroup$
    – mlwida
    Apr 19 '11 at 16:04
1
$\begingroup$

There's an incredible amount of those functions... and it really depends on what you want to do with it.

In general any function $f(x)$ with no infinite bounds can be limited to [0;1] by simply using $\frac{f(x)-min}{max-min}$ (where min and max are the minimum and maximum of the function).

One commonly used function is the sigmoid.

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.