Coder Social home page Coder Social logo

Comments (6)

juliangehring avatar juliangehring commented on May 29, 2024 1

Okay, happy to hear that it is working fine for you.
You can use an arbitrary estimator function with the package, as in this case coming from the StatsBase package. The bootstrap package doesn't distribute any particular statistics function and is designed to work with whatever estimator function that you choose, irrespectively of where the function is defined.

from bootstrap.jl.

AhmedAlreweny avatar AhmedAlreweny commented on May 29, 2024 1

It is very clear now. Thanks a lot.

from bootstrap.jl.

juliangehring avatar juliangehring commented on May 29, 2024

Could you share some more details about the idea? Where do you see the benefits?

from bootstrap.jl.

AhmedAlreweny avatar AhmedAlreweny commented on May 29, 2024

It is an estimator that measures how the data are deviated from the median (similar to the std). The difference is that the std can be misleading if the distribution has outliers or heavy tail. In that case, the mean and std are replaced with the median and the iqr, respectively.

from bootstrap.jl.

juliangehring avatar juliangehring commented on May 29, 2024

I was rather asking about where you think that the iqr is "missing" in the package and in which form it should be "added".

You can already use the iqr as an estimator:

bootstrap(StatsBase.iqr, data, BootstrapSampling)

Doesn't that work as expected?

from bootstrap.jl.

AhmedAlreweny avatar AhmedAlreweny commented on May 29, 2024

Oh! I am sorry. I tried bootstrap(iqr, data, BootstrapSampling) and when it didn't work, I thought that it is not included. It is working fine. Thanks a lot!

from bootstrap.jl.

Related Issues (20)

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.