Hello
I am trying to create a new discrete distribution using the package Distributions.jl but I am getting error. I have tried with import instead of using but I always get the same message.
using Distributions
julia> struct shiftwilcoxon <: DiscreteUnivarateDistribution
n1::Int
n2::Int
lambda::Float64
eta::Float64
end
ERROR: UndefVarError: `DiscreteUnivarateDistribution` not defined in `Main`
Suggestion: check for spelling errors or missing imports.
What am I missing?
I will define all mandatory methods mentioned in the documentation after, but I understood that the first step was to create my structure from the abstract type.
Thanks for your time.