### Basic Data Types and Data Structures (Introduction to Statistical Computing)

Introduction to the course: statistical programming for autonomy, honesty,
and clarity of thought. The functional programming idea: write code by
building functions to transform input data into desired outputs. Basic data
types: Booleans, integers, characters, floating-point numbers. Subtleties of
floating point numbers. Operators as basic functions. Variables and names.
An example with resource allocation. Related pieces of data are bundled into
larger objects called data structures. Most basic data structures: vectors.
Some vector manipulations. Functions of vectors. Naming of vectors.
Continuing the resource-allocation example. Building more complicated data
structures on top of vectors. Arrays as a first vector structure.

Slides

Introduction to Statistical Computing

Posted at August 29, 2011 10:31 | permanent link