cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Check out the JMP® Marketplace featured Capability Explorer add-in
Choose Language Hide Translation Bar
ansouk
Level III

How to enter imaginary error function (erfi) in formula column

I have a strong indication my data follow imaginary error function (erfi) function <https://en.wikipedia.org/wiki/Error_function>. Please recommend a way to input erfi into a formula column to be used in nonlinear fit platform. Both the argument and the function are real, so there is no need to use imaginary or complex numbers here. The plot looks very similar to one here Erfi—Wolfram Language Documentation . The derivative looks like a parabola in semi-log coordinates, but it is very noisy, so I have to fit the integral, which calls for erfi in the column formula.

1 ACCEPTED SOLUTION

Accepted Solutions
MRB3855
Super User

Re: How to enter imaginary error function (erfi) in formula column

Oops my bad...wrong error function!  Yes, a series approximation looks like your best bet.

View solution in original post

4 REPLIES 4
MRB3855
Super User

Re: How to enter imaginary error function (erfi) in formula column

As it says in the wiki link you sent, "In statistics, for non-negative values of x, the error function has the following interpretation: for a random variable Y that is normally distributed with mean 0 and standard deviation 1/√2, erf x is the probability that Y falls in the range [−x, x].".  So, a little algebra etc gives you erf(x) = the following in JMP:

MRB3855_0-1681805977201.png

 

ansouk
Level III

Re: How to enter imaginary error function (erfi) in formula column

I asked about erfi, and you answered about erf. Those are very different functions. I need a solution for erfi.

ansouk
Level III

Re: How to enter imaginary error function (erfi) in formula column

I guess I can use series approximation of erfi: Series[Erfi[x], {x, 0, 8}] - Wolfram|Alpha (wolframalpha.com) Can you think of something better?

MRB3855
Super User

Re: How to enter imaginary error function (erfi) in formula column

Oops my bad...wrong error function!  Yes, a series approximation looks like your best bet.