Cannot find a function in package - (bvnuppercdf in StatsFuns)

Hello!

I am trying to apply a function that is included in a package. However, I get a clear error message that the function is not available. This is what I’ve done:

using StatsFuns
bvnuppercdf()

UndefVarError: bvnuppercdf not defined

Stacktrace:
[1] include_string(::String, ::String) at .\loading.jl:522

I know that this particular function resides in the package in file tvpack.jl. Should I take some extra steps to find it from there? I use Julia version 0.6.2 and StatsFuns 0.5.0.

Cheers,

Antti

It is because the file (tvpack.jl), in which the function is defined, is not included into the StatsFuns module. I don’t know why, but I found a related issue: https://github.com/JuliaStats/StatsFuns.jl/issues/43.

Thanks! That explains some of it. So I guess I just have to make copy of that file tvpack.jl and include it in my code.