-
Notifications
You must be signed in to change notification settings - Fork 991
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add examples using .BY to documentation #1363
Comments
This would be nice. I've never understood #Edit: Finally used this today! Exactly as suggested on Andrew Brooks' blog -- leave-one-out mean estimation to test sensitivity of a mean to certain observations. |
Here seems like a pretty good example if I do say so myself ;-) (I'm quite self-satisfied to have used |
Where do we want these to go? Came up with an example I think shows a typical use case of
|
@MichaelChirico Leave-one-out means will probably always be faster like
Maybe medians or something would make sense. You seem to have repeating ids within the same class and grade. Not obvious what that means here, but the extension is...
|
Just having multiple tests for each student (also the case in the first example). Goal here is to illustrate a use for |
@MichaelChirico I think the goal should be not just to illustrate what The performance here is pretty abysmal (1 sec for
While this dodges the retype-every-varname-twice issue, it is even slower, as one might expect. Anyway, we can agree to disagree. |
@mattdowle I see that you are pointing to How to benefit from One thing that the help text states " Some examples: Non-factor grouping variable in
Factor grouping variable in
|
Two people expressed they'd like more examples.
http://stackoverflow.com/questions/22511301/how-to-benefit-from-by-in-data-table
http://brooksandrew.github.io/simpleblog/articles/advanced-data-table/ (see comments)
The text was updated successfully, but these errors were encountered: