shadowsoli.blogg.se

Stata regress by group
Stata regress by group













stata regress by group

At which point I decided that I have more fun things to do, than to dig into the idiosyncratic syntax of a command that does something which I can do with 2 lines of code and without reading any extra help files.

Stata regress by group how to#

I could not figure out how to save the RMSE. I wanted to help, I went and I read the help file of -rangestat- for almost half an hour.

stata regress by group

The other day on another thread somebody asked how to accomplish similar task like from this thread, however the user wanted to save the Root Mean Squared Error from the regression. So you end up spending your time learning idiosyncratic syntaxes (which for me is not fun at all), instead of thinking how to make the one syntax you know work (this is more fun). User-contributed packages are a zoo of syntaxes. You do not need to spend your time on learning new syntax (which for me is not fun at all), but you spend your time on thinking how you can make the syntax you already know work (this is more fun).Ģ. Learning how to use loops, that is, learning the loops syntax, takes a couple of hours. I do not use user-contributed packages, and I am ready to dispute any time the claim that using user-contributed packages is "simpler" and "faster" (in terms of getting the job done, not in terms of how fast the calculations are made).ġ. Input int Index long PERMNO byte Weeks double Ret float(lagret LMSW_2002)ġ 22592 -50.















Stata regress by group