GithubHelp home page GithubHelp logo

Comments (4)

mcaceresb avatar mcaceresb commented on May 26, 2024

I note in the README that gegen does not respect group order; perhaps I should change the function name since you find it misleading? (I'll fix the wrong option bug)

from stata-gtools.

sergiocorreia avatar sergiocorreia commented on May 26, 2024

Another problem is that the new IDs seem to have holes:

sysuse auto, clear
gegen id = group(turn) in 20/30
tab id

(groups 1-4, 6, 8, etc. are missing)

from stata-gtools.

mcaceresb avatar mcaceresb commented on May 26, 2024

I see. This is not a but per se, though, since all the groups are there and the ID is unique, but I agree that coupled with the order issue it makes the ID rather confusing.

from stata-gtools.

mcaceresb avatar mcaceresb commented on May 26, 2024

The IDs should no longer have have holes, and extraneous options now give an error. See 0.6.10 (master branch). However, the order of the IDs is pending a future release. I am opening a new issue for that. (See issue #6).

from stata-gtools.

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.