Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CDF is not defined for some EF distributions #186

Open
Nimrais opened this issue Jan 31, 2024 · 0 comments
Open

CDF is not defined for some EF distributions #186

Nimrais opened this issue Jan 31, 2024 · 0 comments

Comments

@Nimrais
Copy link
Member

Nimrais commented Jan 31, 2024

julia> using ExponentialFamily

julia> cdf(NormalMeanVariance(0, 1), 1)
ERROR: MethodError: no method matching cdf(::NormalMeanVariance{Float64}, ::Int64)

Closest candidates are:
  cdf(::Kolmogorov, ::Real)
   @ Distributions ~/.julia/packages/Distributions/UaWBm/src/univariate/continuous/kolmogorov.jl:59
  cdf(::Chernoff, ::Real)
   @ Distributions ~/.julia/packages/Distributions/UaWBm/src/univariate/continuous/chernoff.jl:156
  cdf(::DiscreteUniform, ::Int64)
   @ Distributions ~/.julia/packages/Distributions/UaWBm/src/univariate/discrete/discreteuniform.jl:76
  ...

Stacktrace:
 [1] top-level scope
   @ REPL[18]:1

julia> using Distributions

julia> cdf(NormalMeanVariance(0, 1), 1)
ERROR: MethodError: no method matching cdf(::NormalMeanVariance{Float64}, ::Int64)

Closest candidates are:
  cdf(::Kolmogorov, ::Real)
   @ Distributions ~/.julia/packages/Distributions/UaWBm/src/univariate/continuous/kolmogorov.jl:59
  cdf(::Chernoff, ::Real)
   @ Distributions ~/.julia/packages/Distributions/UaWBm/src/univariate/continuous/chernoff.jl:156
  cdf(::DiscreteUniform, ::Int64)
   @ Distributions ~/.julia/packages/Distributions/UaWBm/src/univariate/discrete/discreteuniform.jl:76
  ...

Stacktrace:
 [1] top-level scope
   @ REPL[20]:1

julia> cdf(Normal(0,1), 1)
0.841344746068543
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant