# Posts Tagged ‘ ifelse() ’

## Example 2014.5: Simple mean imputation

April 25, 2014
By

We're both users of multiple imputation for missing data. We believe it is the most practical principled method for incorporating the most information into data analysis. In fact, one of our more successful collaborations is a review of software for ...

Tags: , ,
Posted in SAS | Comments Off on Example 2014.5: Simple mean imputation

## Example 9.32: Multiple testing simulation

May 21, 2012
By

In examples 9.30 and 9.31 we explored corrections for multiple testing and then extracting p-values adjusted by the Benjamini and Hochberg (or FDR) procedure. In this post we'll develop a simulation to explore the impact of "strong" and "weak" control...

Tags: , , , , , , ,
Posted in SAS | Comments Off on Example 9.32: Multiple testing simulation

## Example 9.29: the perils of for loops

April 30, 2012
By

A recent exchange on the R-sig-teaching list featured a discussion of how best to teach new students R. The initial post included an exercise to write a function, that given a n, will draw n rows of a triangle made up of "*", noting that for a beginne...

Tags: , , , , , , , , , ,
Posted in SAS | Comments Off on Example 9.29: the perils of for loops

## Example 8.40: Side-by-side histograms

June 13, 2011
By

It's often useful to compare histograms for some key variable, stratified by levels of some other variable. There are several ways to display something like this. The simplest may be to plot the two histograms in separate panels.SASIn SAS, the most d...

Tags: , , , , ,
Posted in SAS | Comments Off on Example 8.40: Side-by-side histograms

## Example 8.40: Side-by-side histograms

June 13, 2011
By

It's often useful to compare histograms for some key variable, stratified by levels of some other variable. There are several ways to display something like this. The simplest may be to plot the two histograms in separate panels.SASIn SAS, the most d...

Tags: , , , , ,
Posted in SAS | Comments Off on Example 8.40: Side-by-side histograms

## Example 8.40: Side-by-side histograms

June 13, 2011
By

It's often useful to compare histograms for some key variable, stratified by levels of some other variable. There are several ways to display something like this. The simplest may be to plot the two histograms in separate panels.SASIn SAS, the most d...

Tags: , , , , ,
Posted in SAS | Comments Off on Example 8.40: Side-by-side histograms

## Example 8.21: latent class analysis

January 18, 2011
By

Latent class analysis is a technique used to classify observations based on patterns of categorical responses. Collins and Lanza's book,"Latent Class and Latent Transition Analysis," provides a readable introduction, while the UCLA ATS center has an o...

Tags: , , , , , , ,
Posted in SAS | Comments Off on Example 8.21: latent class analysis

## Welcome!

SAS-X.com offers news and tutorials about the various SAS® software packages, contributed by bloggers. You are welcome to subscribe to e-mail updates, or add your SAS-blog to the site.