I am trying to use the ChisqTest function to check adequation between my empirical repartition and a theoretical probability distribution. Unfortunately it seems that parameter theta0 is not recognized.
MWE:
ChisqTest([25,25,25,25],theta0=[0.25,0.25,0.25,0.25])
Output :
MethodError: no method matching ChisqTest(::Array{Int64,1}; theta0=[0.25, 0.25, 0.25, 0.25])
Closest candidates are:
ChisqTest(::AbstractArray{T,1}) where T<:Integer at /home/vincent.leclerev/.julia/packages/HypothesisTests/5rgiE/src/power_divergence.jl:385 got unsupported keyword argument "theta0"
ChisqTest(::AbstractArray{T,1}, !Matched::Array{U,1}) where {T<:Integer, U<:AbstractFloat} at /home/vincent.leclerev/.julia/packages/HypothesisTests/5rgiE/src/power_divergence.jl:385 got unsupported keyword argument "theta0"
ChisqTest(::AbstractArray{T,1}, !Matched::AbstractArray{T,1}, !Matched::Tuple{UnitRange{T},UnitRange{T}}) where T<:Integer at /home/vincent.leclerev/.julia/packages/HypothesisTests/5rgiE/src/power_divergence.jl:376 got unsupported keyword argument "theta0"