The DO Loop
Statistical programming in SAS with an emphasis on SAS/IML programs![Caslibs and librefs in SAS Viya](https://blogs.sas.com/content/iml/files/2017/01/ProgrammingTips-2.png)
When SAS 9 programmers transition to SAS Viya, there are inevitably questions about how new concepts in Cloud Analytic Services (CAS) relate to similar concepts in SAS. This article discusses the question, "What is the difference between a libref and a caslib?" Both are used to access data, but they
![What is a CAS-enabled procedure?](https://blogs.sas.com/content/iml/files/2017/01/ProgrammingTips-2.png)
I attended a seminar last week whose purpose was to inform SAS 9 programmers about SAS Viya. I could tell from the programmer's questions that some programmers were confused about three basic topics: What are the computing environments in Viya, and how should a programmer think about them? What procedures
![The order of vertices on a convex polygon](https://blogs.sas.com/content/iml/files/2021/11/cvexhull06-480x336.png)
In a previous article, I showed how to use theCVEXHULL function in SAS/IML to compute the convex hull of a finite set of planar points. The convex hull is a convex polygon, which is defined by its vertices. To visualize the polygon, you need to know the vertices in sequential
![Two-dimensional convex hulls in SAS](https://blogs.sas.com/content/iml/files/2021/11/cvexhull01-640x336.png)
Given a cloud of points in the plane, it can be useful to identify the convex hull of the points. The convex hull is the smallest convex set that contains the observations. For a finite set of points, it is a convex polygon that has some of the points as
![Create a frequency polygon in SAS](https://blogs.sas.com/content/iml/files/2021/11/FreqPoly1-640x336.png)
I was recently asked how to create a frequency polygon in SAS. A frequency polygon is an alternative to a histogram that shows similar information about the distribution of univariate data. It is the piecewise linear curve formed by connecting the midpoints of the tops of the bins. The graph
![The normal approximation and random samples of the binomial distribution](https://blogs.sas.com/content/iml/files/2021/11/BinomNormal2-640x336.png)
Recall that the binomial distribution is the distribution of the number of successes in a set of independent Bernoulli trials, each having the same probability of success. Most introductory statistics textbooks discuss the approximation of the binomial distribution by the normal distribution. The graph to the right shows that the