You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A major enhancement to the plugin would be to sort the groups internally in C. This would afford a major speed-up when processing a large number of groups (vs sorting in Stata) and allow gegen to be used as an adequate replacement for egen.
In particular, one issue raied in #4 is that gegen does not produce IDs in the order that the groups would be sorted. For instance,
Instead, gegen produces IDs in the order the groups appear. While this is by design, it is not the behavior of egen. Sorting groups internally would allow solving this issue as well.
The text was updated successfully, but these errors were encountered:
Features
* `gisid` is added as a working replacement for `isid` and `isid, missok`.
`gisid` taks `if` and `in` statements; however, it does not implement
`isid, sort` or `isid using`.
* `glevelsof` is added as a working replacement for `levelsof`.
All `levelsof` features are available.
* Temporary variable no longer created for `egen, tag` or `egen, group`
* Fixes#6
* Variables are sorted internally for `egen, group`, which matches `egen`.
* Variables are sorted internally for `gcollapse`, which is faster.
* Various internal enhancements:
* The hash is validated faster
* Hash validation is also used to read in group variables
* Integer bijection now sorts by the integers correctly,
obviating the need for a second sort.
* No need to validate the hash with integer bijection.
* The memory usage is marginally leaner.
* Reorganized all the files, making the code-base easier to maintain.
* Various commented internal code deleted.
Enhancements
* Fixes#13 so
`gcollapse` maintains source formats on targets.
* Improved internal handling of if conditions for `egen`.
* `egen` now only processes observations in range for `id, group`
* `egen, group` now marginally faster when all vars are integers
Bug fixes
* Prior versions de-facto used a 64-bit hash instead of a 128-bit hash.
The new version should use the 128-bit hash correctly.
* Prior versions would fail if there was only 1 observation.
* Fixes#15
which was introduced trying to fix#15
Backwards-incompatible
* `gcollapse, unsorted` no longer supported (due to internal sorting)
A major enhancement to the plugin would be to sort the groups internally in C. This would afford a major speed-up when processing a large number of groups (vs sorting in Stata) and allow
gegen
to be used as an adequate replacement foregen
.In particular, one issue raied in #4 is that
gegen
does not produce IDs in the order that the groups would be sorted. For instance,Instead,
gegen
produces IDs in the order the groups appear. While this is by design, it is not the behavior ofegen
. Sorting groups internally would allow solving this issue as well.The text was updated successfully, but these errors were encountered: