Git Product home page Git Product logo

mittagleffler's People

Contributors

cmeschede avatar gurteksinghgill avatar khees avatar strakaps avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

khees cmeschede

mittagleffler's Issues

generating random variables

The MittagLeffleR package allows

MittagLeffleR::rml(n = 5.5 , tail = 0.8 , scale = 1)

but not

MittagLeffleR::rml(n = 5L , tail = 0.8 , scale = 1)

because it wants an numeric argument for n. That leads to unnecessary errors. Please, might it possible to allow integers as well?

Optimization of null-loglikelihood

Why do restrict the optimization to the interval (0,1000)? Why do you not just use the max-likelihood estimator for the exponential distribution which is really easy?

Error in qml() if tail and probability are low

'MittagLeffleR::qml(0.01, 0.1)' leads to an error because of the uniroot()-function in MittagleffleR:::qml1().

you can fix it with:

qml1 <- function(p,tail,scale=1) {
x <- numeric(length(p))
for (i in 1:length(p)) {
qml_p <- function(t) {pml(exp(t),tail,scale) - p[i]}
x[i] <- stats::uniroot(qml_p, interval = c(log(10^-14),log(100)),
extendInt="yes", tol = 1e-14)$root
}
return(exp(x))
}

LRT Test

The asymptotic distribution of the teststatistic is not a chi-squared one distribution. Wilks Theorem is not working here, since our parameter of interest (tail) lies under H_0 on the boundary. You should remove the p_values!! They are wrong.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.