Comments (5)
@tatanlabra I won't do this until I have access to Stata 17. However, I will add a disclaimer the benchmarks (in particular collapse) are presumably dated.
from stata-gtools.
@tatanlabra While I appreciate the offer I would rather run the benchmarks myself before updating the README. (I am also curious to test out the faster collapse.) However, you are welcome to post your results here so others might find this thread (only warning is that I manually copy the times to make the plot; I didn't automate that part.)
from stata-gtools.
@mcaceresb, I can run the quick benchmarks in 16 and 17, maybe adding box plots from different scenarios, and sharing the results here.
from stata-gtools.
I can help with Stata 17 benchmarks as well. (Regardless I'll keep using Gtools as the syntax and capabilities are better than Stata's commands!)
from stata-gtools.
@tatanlabra @osnofas I finally had occasion to test out Stata's collapse on 17/MP. collapse
was indeed faster on my quick benchmarks. However, after some probing:
- Single core performance is slower for native collapse.
- In SE native collapse remains slower.
- The speed improvement does not hold for some collapses or machines (on my laptop, even slightly complicated collapses were slower, as were collapses with larger data, e.g. 100M; on the server where I work, however, native collapse was 2x faster across the board).
I resolved to note in the README and the gcollapse
docs that the native collapse
in 17/MP is often faster but may also be slower. I think this is a sensible way to update the docs (but feel free to add any comments or feedback). Cheers!
from stata-gtools.
Related Issues (20)
- gegen total vs. egen total HOT 6
- Could not load gtools_macosx_v3.plugin, error 9999 HOT 9
- gegen normalize does not realize that a new variable shall be created HOT 1
- gunique missing scalars when there are no observations
- gtools version of merge HOT 4
- gtools not installing on macos Stata 16 HOT 3
- Problem with -if- condition in several commands HOT 1
- gtools 1.8.1 not working *at all* with Stata MP 16.1 on MacOS 11.6 HOT 7
- Plugin download error when using "ssc install gtools" HOT 2
- the option cw in gcollapse is invalid. HOT 2
- Error r(111) in Stata MP 16.1 and SE 17.0, macOS Monterey HOT 4
- OSX plugin fails; move OSX Compilation to github
- gegen max does not properly evaluate string expressions HOT 2
- Error trying to copy gtop.sthlp in Stata 14 HOT 3
- Could not load gtools_macosx_v3.plugin, error 9999 HOT 17
- Some commands appear to ignore [w=weights] HOT 3
- Export results to word or excel HOT 4
- Wrong number of groups HOT 1
- Will greshape support strL variabes in the future? HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from stata-gtools.