Posts Tagged ‘ Uncategorized ’

The BOOTSTRAP statement for t tests in SAS

June 18, 2018
By
The BOOTSTRAP statement for t tests in SAS

Bootstrap resampling is a powerful way to estimate the standard error for a statistic without making any parametric assumptions about its sampling distribution. The bootstrap method is often implemented by using a sequence of calls to resample from the data, compute a statistic on each sample, and analyze the bootstrap [...] The post The BOOTSTRAP statement for t tests in SAS appeared first on The DO Loop.

Read more »

Video: New random number generators in SAS

June 15, 2018
By
Video: New random number generators in SAS

My 2018 SAS Global Forum paper was about "how to use the random-number generators (RNGs) in SAS." You can read the paper for details, but I recently recorded a short video that summarizes the main ideas in the paper. In particular, the video gives an overview of the new RNGs [...] The post Video: New random number generators in SAS appeared first on The DO Loop.

Read more »

Attrs, attrs, everywhere: The interaction between ATTRPRIORITY, CYCLEATTRS, and STYLEATTRS in ODS graphics

June 13, 2018
By
Attrs, attrs, everywhere: The interaction between ATTRPRIORITY, CYCLEATTRS, and STYLEATTRS in ODS graphics

If you use PROC SGPLOT to create ODS graphics, "ATTRS" are everywhere. ATTRS is an abbreviation of "attributes." Most options that change the attributes of a graphical element end with the ATTRS suffix. For example, the MARKERATTRS option modifies attributes of markers, the LINEATTRS option modifies attributes of lines, and [...] The post Attrs, attrs, everywhere: The interaction between ATTRPRIORITY, CYCLEATTRS, and STYLEATTRS in ODS graphics appeared first on The…

Read more »

6 ways to use the _NULL_ data set in SAS

June 11, 2018
By
6 ways to use the _NULL_ data set in SAS

In SAS, the reserved keyword _NULL_ specifies a SAS data set that has no observations and no variables. When you specify _NULL_ as the name of an output data set, the output is not written. The _NULL_ data set is often used when you want to execute DATA step code [...] The post 6 ways to use the _NULL_ data set in SAS appeared first on The DO Loop.

Read more »

Bayesian hierarchical modelling with Rainier

June 9, 2018
By
Bayesian hierarchical modelling with Rainier

Introduction In the previous post I gave a brief introduction to Rainier, a new HMC-based probabilistic programming library/DSL for Scala. In that post I assumed that people were using the latest source version of the library. Since then, version 0.1.1 of the library has been released, so in this post I will demonstrate use of … Continue reading Bayesian hierarchical modelling with Rainier

Read more »

Video: A new syntax for lists in SAS/IML

June 8, 2018
By
Video: A new syntax for lists in SAS/IML

I recently recorded a short video about the new syntax for specifying and manipulating lists in SAS/IML 14.3. This is a video of my Super Demo at SAS Global Forum 2018. The new syntax supports dynamic arrays, associative arrays ("named lists"), and hierarchical data structures such as lists of lists. [...] The post Video: A new syntax for lists in SAS/IML appeared first on The DO Loop.

Read more »

Sample and obtain the results in random order

June 6, 2018
By
Sample and obtain the results in random order

The SURVEYSELECT procedure in SAS 9.4M5 supports the OUTRANDOM option, which causes the selected items in a simple random sample to be randomly permuted after they are selected. This article describes several statistical tasks that benefit from this option, including simulating card games, randomly permuting observations in a DATA step, [...] The post Sample and obtain the results in random order appeared first on The DO Loop.

Read more »

An easy way to make a "Top 10" table and bar chart in SAS

June 4, 2018
By
An easy way to make a "Top 10" table and bar chart in SAS

Years ago, I wrote an article about how to create a Top 10 table and bar chart. The program can be trivially modified to create a "Top N" table and plot, such as Top 5, Top 20, or even Top 100. Not long after the article was written, the developer [...] The post An easy way to make a "Top 10" table and bar chart in SAS appeared first on…

Read more »

Monadic probabilistic programming in Scala with Rainier

June 1, 2018
By
Monadic probabilistic programming in Scala with Rainier

Introduction Rainier is an interesting new probabilistic programming library for Scala recently open-sourced by Stripe. Probabilistic programming languages provide a computational framework for building and fitting Bayesian models to data. There are many interesting probabilistic programming languages, and there is currently a lot of interesting innovation happening with probabilistic programming languages embedded in strongly typed … Continue reading Monadic probabilistic programming in Scala with Rainier

Read more »

Use a fringe plot to visualize binary data in logistic models

May 31, 2018
By
Use a fringe plot to visualize binary data in logistic models

A previous article showed how to use a calibration plot to visualize the goodness-of-fit for a logistic regression model. It is common to overlay a scatter plot of the binary response on a predicted probability plot (below, left) and on a calibration plot (below, right): The SAS program that creates [...] The post Use a fringe plot to visualize binary data in logistic models appeared first on The DO Loop.

Read more »


Subscribe

Email:

  Subscribe