The DO Loop
Statistical programming in SAS with an emphasis on SAS/IML programs![Kernel regression in SAS](https://blogs.sas.com/content/iml/files/2018/08/KerReg1-640x336.png)
A SAS programmer recently asked me how to compute a kernel regression in SAS. He had read my blog posts "What is loess regression" and "Loess regression in SAS/IML" and was trying to implement a kernel regression in SAS/IML as part of a larger analysis. This article explains how to
![On the assumptions (and misconceptions) of linear regression](https://blogs.sas.com/content/iml/files/2018/08/RegAssumptions4-640x336.png)
A frequent topic on SAS discussion forums is how to check the assumptions of an ordinary least squares linear regression model. Some posts indicate misconceptions about the assumptions of linear regression. In particular, I see incorrect statements such as the following: Help! A histogram of my variables shows that they
![Standardized regression coefficients](https://blogs.sas.com/content/iml/files/2018/08/StdBeta3.png)
A SAS programmer recently asked how to interpret the "standardized regression coefficients" as computed by the STB option on the MODEL statement in PROC REG and other SAS regression procedures. The SAS documentation for the STB option states, "a standardized regression coefficient is computed by dividing a parameter estimate by
![Calculators killed the standard statistical table](https://blogs.sas.com/content/iml/files/2018/08/probtables3.png)
Video killed the radio star.... We can't rewind, we've gone too far. -- The Buggles (1979) "You kids have it easy," my father used to tell me. "When I was a kid, I didn't have all the conveniences you have today." He's right, and I could say the same
![Optimization with nonlinear constraints in SAS](https://blogs.sas.com/content/iml/files/2018/08/nonlinConstraints3-400x336.png)
This article shows how to perform an optimization in SAS when the parameters are restricted by nonlinear constraints. In particular, it solves an optimization problem where the parameters are constrained to lie in the annular region between two circles. The end of the article shows the path of partial solutions
![A quantile regression analysis of chess ratings by age](https://blogs.sas.com/content/iml/files/2018/08/chessrating4-702x336.png)
My colleague, Robert Allison, recently published an interesting visualization of the relationship between chess ratings and age. His post was inspired by the article "Age vs Elo — Your battle against time," which was published on the chess.com website. ("Elo" is one of the rating systems in chess.) Robert Allison's