GithubHelp home page GithubHelp logo

Comments (5)

vsbuffalo avatar vsbuffalo commented on May 29, 2024 1

Thanks Ben! I have implemented it, and am just finalizing the Eidos testing code before I push.

I would like to add relevant documentation for qnorm(), but can't seem to find the best way to do this. In what places should I add the documentation for this function?

from slim.

bhaller avatar bhaller commented on May 29, 2024 1

Hi @mufernando. I'm amenable to adding a quantile function. However, looking at the doc for quantile() in R, it's pretty complex and the mathematical details of all the different types of quantiles, etc., are beyond me. If you and/or Peter can make those details crystal clear (or write the necessary C code to implement it, even better!), and supply test cases that can be used to validate that the behavior is correct, then I'm happy to add it.

from slim.

bhaller avatar bhaller commented on May 29, 2024

Adding this would be fine, yes. It would be straightforward for me to do it, and I'd be happy to. If you'd like to take a crack at it, feel free, but the Eidos code is pretty hairy. :-> If you start from dnorm's implementation (maybe better than rnorm for these purposes), and do all the same things, you might get there.

Note that the GSL code is included inside SLiM's code; it does not link to the GSL. Note also that the GSL code included in SLiM is an incomplete copy, and the requisite code to implement qnorm() might not be there, in which case it would need to be copied over from the standard GSL code base, which is generally easy to do but requires fixing #includes and such.

If you decide you don't want to do it, just let me know and I'll do it; I could probably turn it around by the end of the weekend.

from slim.

bhaller avatar bhaller commented on May 29, 2024

Thanks Ben! I have implemented it, and am just finalizing the Eidos testing code before I push.

Groovy.

I would like to add relevant documentation for qnorm(), but can't seem to find the best way to do this. In what places should I add the documentation for this function?

That has to be done on my end; it's a Pages document that is used to generate the manual PDF, and it is not on GitHub. If you could send me text to be used for the documentation (email it or post it here), I'll see to incorporating it.

from slim.

mufernando avatar mufernando commented on May 29, 2024

Hi @bhaller, related to this issue, did you consider adding a quantile function to Eidos? That would be essential for simulating truncating selection. Let me know if you'd consider it and I can open a new issue.

from slim.

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.