nnet2sas() version 1 introduced a way to export a nnet() model trained in R to Base SAS through metaprogramming, and now nnet2sas() version 2 introduces support for variable centering and scaling as implemented in caret::train(). See the link for versi…
Finite Mixture Model for Loss Given Default (LGD)
Loss Given Default (LGD) is a key business metric of risk in financial service. One unique feature of this metric is overdispersion and the other is multi-mode.
Finite mixture model is an effective way to accommodate both. Multi-mode refers to the …
Grid computing: What you need to know
Right now, grid computing is one of the hottest topics here at SAS. To get more information about the technology and how people can get trained in it, I talked to Nancy Goodyear who manages e-Learning products at SAS. What is grid computing? Grid compu…
Dice probabilities and the game of "craps"
Gambling games that use dice, such as the game of “craps,” are often used to demonstrate the laws of probability. For two dice, the possible rolls and probability of each roll are usually represented by a matrix. Consequently, the SAS/IML language makes it easy to compute the probabilities of various […]
SAS and VBA (6) : delete empty rows
One tricky question of the data work is to delete empty rows/observations in a raw file. A code snippet is particular useful to handle such cases. At the mean time, we need to know how many rows are actually removed as the execution result. In this dem…
Using SAS to convert IP addresses into numerical IP values
As citizens of the Internet, we are all familiar with IP addresses — probably more so than our Internet founding fathers had ever intended. These addresses are typically represented in a 4-piece segmented list of numbers separated by dots. Here is an example: “149.173.5.120”. Each segment is called an octet […]