I’m retiring within months. But I’ve been using SAS statistical analysis software for 34 years and would like to be able to continue doing the things it’s helped me do for my various personal scientific interests in retirement. Should I use SAS, or learn the R language, or use something else? I use a Mac.
A great example of what I’d like to be able to do is using the NLIN Procedure in SAS. This is an iterative arbitrary form regression tool (not just a linear regression polynomial fitting tool). If you state an expression and provide starting values for the parameters within it, it searches for a minumum fit error by iteratively adjusting all the parameters. I’ve used this for fun to write my own surveying code to relax distance, azimuth, and altitude angle from a total station, as well as GPS coordinates, onto a model map of a site. I’ve done a lot of work professionally with this. One example was modeling a Raman spectrum as the sum of multiple Lorentz distributions in Raman shift. Another was modeling blob dimensions in scanning electron microscope and atomic force microscope images. Another was modeling temperature changes in complex systems as nested exponential decays.
One particularly big project was studying fluid structure interaction, like a flapping flag problem. I did my own threadline analysis to model a flexible sheet shape in response to pressure profiles, and alternated this with CFD analysis which I did by writing text files to feed gemetrical parameters to a mesher, spawning a session in Windows to run the mesher (it was Gambit), spawning another session in Windows to run the CFD code on the mesh (it was Fluent) and drop a text file of pressure profiles, and repeating iteratively while evaluating convergence. So, there was modeling analysis, but also some minor system programming to programmatically run sessions of two other programs and pass data back and forth.
SAS is text based and includes canned “procedures” or statistical and graphing programs, an interpretive language, and a macro preprocessing system much like C++ adds to C. I like text programming just fine, and mostly avoid point-and-click software when possible.
So, what seemed like the path of least resistance was “SAS OnDemand for Academics: Studio”. This sounded like it was ordinary SAS, but without the expensive licensing (I think my current license runs a few thousand dollars a year), which SAS Institute made available because they were losing so much market share to R, a free package. But the information about “SAS OnDemand for Academics: Studio” seemed oddly worded regarding whether it was the real SAS language, or some weird trick thing. I tried downloading but got stuck clicking on the button for them to email me some confirmation link, which email never arrives (in Junk or otherwise). Should I persevere on the basis that it is real SAS?
On the other hand, some statisticians kind of blow off SAS, saying everybody just uses R of course. I could learn R, it sounds like a fun retirement project. However when I start down the R for macOS road, it looks messy – downloading binaries and compiling them, so installing compilers first, maybe the GNU Fortran compiler, being able to use X11 so maybe installing XQuartz, needing the Tcl/Tk libraries and Texinfo, on and on, each of these supported by joining various forums. And I really don’t like all this kind of messing around as it seems like there’s always stuff that goes wrong. I’d like to learn R and be able to use it. I spent my years learning UNIX already (SVR4, BSD, SunOS, X Windows system) and don’t want to go back.
Or perhaps I should learn some other programming environment and write my own solvers. I did this once in C# with a finite difference solver, creating a Windows .exe that estimated slab heating for a system with periods of heating on both surfaces. But these days writing any program for Windows or MacOS or IOS takes such an accumulation of skills before you actually compute anything, I think it’s not even worth trying – my best analytical thinking and learning days are behind me. I can barely make a printer work.
So, any thoughts on where I should place my bets???
Thank you!