161.330 Statistical Programming

161.330 Statistical Programming

An introduction to programming applied to data analysis, statistical modelling, and data mining. A functional language is studied and used for interactive programming, analysing large data sets, and creating quality graphical displays. Other languages are used for programming statistical algorithms from first principles, and for more intensive computational work. Applications will include: optimisation, linear models, neural networks, and simulation.

Prerequisites

Either (i) 161.1xx and 159.2xx, or (ii) 159.1xx and 161.2xx.

Lecture Notes and Demonstrations

1. Introduction

2. Data Manipulation

3. S Language

4. Graphics

5. Exploratory Data Analysis

6. Linear Models

7. Data Mining

8. Scheme Programming

Assignments

Assignment 1

Assignment 2

Assignment 3

Assignment 4

Data

Chocolate, Beer, Electricity
Weight Data
Exchange rate (Sterling to $NZ)
Maximum daily rainfall (NZ)
NZ Rain
Maximum daily temperature (NZ)
Mean monthly temperature (NZ)
Southern oscillation index
Water consumption (UK)
Nile river levels
Amount spent in a supermarket
Speed of light experiment
Scottish Hill races
Air quality in New York
House Sales
Earthquakes

Data for Assignment 4

Wellington Earthquake Data
U.S.A. Vote Data
Text file for U.S.A. Vote Data

Practicals

Preliminary Practicals

Supplementary Practicals

Text

Modern Applied Statistics with S

(Counter) [an error occurred while processing this directive]