Search for tag: "computing & information technology"

Repetitive Execution - Part 2 (repeat and while Loops)

In this video we introduce the repeat and while loops. There are small differences in the syntax of the three types of loops in R, which may make one form more convenient than another in any given…

From  Daniel Hall 146 plays 0  

Conditional Execution - Part 2 (The if Statement).mp4

Conditional execution is a fundamental technique in all computer programming and most computing languages have an if statement. The if and if else statements in R are similar to those in other…

From  Daniel Hall 68 plays 0  

Introduction to R - Part 3 (Using a Package)

R is an open source software system which is constantly being enhanced with user-contributed functions and data sets. Such material is organized into packages, which may be downloaded and installed…

From  Daniel Hall 192 plays 0  

Introduction to R - Part 1 (CRAN and Using the R Console)

In this video we introduce R. We give a brief overview of what R is; introduce CRAN (the Comprehensive R Archive Network website) and show how to find installation files, packages and documentation;…

From  Daniel Hall 574 plays 0  

The ODS System - Part 3 (The ODS Output Statement)

In this video we demonstrate the ODS OUTPUT statement with an example involving PROC FREQ and compare it to the OUT= option on the TABLES statement. PROC FREQ, PROC MEANS and several other SAS PROCs…

From  Daniel Hall 431 plays 0  

PROC TRANSPOSE - Part 2 (Transposing Variables into Observations)

In this video we show how to transpose variables (columns) into observations (rows) with PROC TRANSPOSE. We illustrate by converting a longitudinal data set from wide format to tall format. This can…

From  Daniel Hall 446 plays 0  

PROC TRANSPOSE - Part 1 (Transposing Observations into Variables)

Rearranging (or re-shaping) a data set can be done in several different ways in SAS. PROC TRANSPOSE is one important tool for such operations. Here we show how to use PROC TRANSPOSE to convert…

From  Daniel Hall 372 plays 0  

Introduction to the OUTPUT Statement

Several SAS PROCs have an OUTPUT statement. But here we discuss the OUTPUT statement in a data step. It is used to write the current observation (the contents of the Program Data Vector) to a data…

From  Daniel Hall 231 plays 0