Introductory Data Analysis F73DA2. Contact Times (Spring Term 2008) Monday 4:15 - 5.15: Lecture in LT3 Tuesday 2:15 - 3.15: Lecture in LT3 Wednesday 10.15.

Slides:



Advertisements
Similar presentations
1 FrontPage 2000 Online Tutorial The following tutorial aims to help you get started with FrontPage 2000 for the creation of basic web pages. The different.
Advertisements

Welcome to eDMR This PowerPoint presentation is designed to show eDMR users how to login and begin using the eDMR system.
A Guide to INCTR s Portal Enhancing international communication in the service of global cancer control.
CONSOLIDATED ANNUAL REPORT (CAR) TRAINING Presented By: John Haigh Office of Vocational and Adult Education And Heather Fleck DTI Associates, Inc.
Blackboard Hands-On Lab Session Karl R. Wurst Computer Science Department Daron Barnard Biology Department Center for Teaching and Learning Worcester State.
CREATING A PAYMENT REQUEST FOR VENDOR IN SYSTEM
Welcome to the Plant Breeding and Genomics Webinar Series Today’s Presenter: Dr. Heather Merk Presentation & Supplemental Files:
 Statistics package  Graphics package  Programming language  Can be used to share/reproduce analyses  Many new packages being created - can be downloaded.
Pasewark & Pasewark Microsoft Office XP: Introductory Course 1 INTRODUCTION Lesson 1 – Microsoft Office XP Basics and the Internet.
Garland Library Online Orientation. Introduction  This portion of the Online orientation is intended to help library users gain the basic knowledge and.
Keeping You Connected Through Citrix Access your applications Access your network shares and documents Access your …and do it remotely!
1 of 4 This document is for informational purposes only. MICROSOFT MAKES NO WARRANTIES, EXPRESS OR IMPLIED, IN THIS DOCUMENT. © 2007 Microsoft Corporation.
Downloading and Installing AutoCAD Architecture 2015 This is a 4 step process 1.Register with the Autodesk Student Community 2.Downloading the software.
Blackboard student guidepage 1 of 21 Blackboard Basics – finding your way  this guide explains how to find your way around a Blackboard course.  click.
Properties of Poisson The mean and variance are both equal to. The sum of independent Poisson variables is a further Poisson variable with mean equal to.
Garland Library Online Orientation. Introduction  This portion of the Online orientation is intended to help library users gain the basic knowledge and.
DEMONSTRATION FOR SIGMA DATA ACQUISITION MODULES Tempatron Ltd Data Measurements Division Darwin Close Reading RG2 0TB UK T : +44 (0) F :
Introduction to R Statistical Software Anthony (Tony) R. Olsen USEPA ORD NHEERL Western Ecology Division Corvallis, OR (541)
Programming with App Inventor Computing Institute for K-12 Teachers Summer 2012 Workshop.
Toll Free: Project Manager Tutorial.
The basics of the Online Portal
Step 1: Create Login Page –  Copy an existing page and create a page that will house the login form.  Save and go back to Page Management.  Do not export.
Welcome to the Southeastern Louisiana University’s Online Employment Site Applicant Tutorial!
Basic Data Handling An introduction to using RM Information Magic Malcolm Wilson ICT Curriculum Development Officer Falkirk Council Education Services.
Computer Science : Information Systems Design and Development Unit Web Sites - National 4 / 5 St Andrew’s High School-Revised January 2013 Slide 1 St Andrew’s.
Basic Navigation in SAP For the Windows Graphical User Interface (GUI) Click your mouse anywhere or select “Page Down” to scroll through the pages.
VAAP Tracking and Monitoring SystemJob-Aid Information Systems Group Version 1.0 December 2002 Training Management Division JA VAAP 1 1. Create a new folder.
1 Lesson 6 Exploring Microsoft Office 2007 Computer Literacy BASICS: A Comprehensive Guide to IC 3, 3 rd Edition Morrison / Wells.
Getting Started with Application Software
Introduction to SPSS Edward A. Greenberg, PhD
Data, graphics, and programming in R 28.1, 30.1, Daily:10:00-12:45 & 13:45-16:30 EXCEPT WED 4 th 9:00-11:45 & 12:45-15:30 Teacher: Anna Kuparinen.
Statistics 3 F71SC3. Contact Times (Summer Term 2008) Monday, , Lecture in LT1 Tuesday, , Maple Practical, in SR G12/13 Thursday,
How to use the internet The internet is a wide ranging network that thousands of people use everyday. It is a useful tool in modern society that once one.
Hunter Valley Amateur Beekeepers Forum User Guide Guide shows sample screenshots with most relevant actions. Website is at
Borrow a Kindle book with the Kindle Fire.  Kindle Fire  Library Card Number  Connection to internet  Amazon login and password.
Activating Clarity  Activating Clarity  Activation  Online Activation  Fax Activation  Review and Verify Activation and License Terms  Updating.
Piotr Wolski Introduction to R. Topics What is R? Sample session How to install R? Minimum you have to know to work in R Data objects in R and how to.
1 Computer Programming (ECGD2102 ) Using MATLAB Instructor: Eng. Eman Al.Swaity Lecture (1): Introduction.
Downloading and Installing Autodesk Revit 2016
Downloading and Installing Autodesk Inventor Professional 2015 This is a 4 step process 1.Register with the Autodesk Student Community 2.Downloading the.
1 OGM Presentation for Your Hospital Today. 2 The Ongoing Maintenance Program The OGM Program Components.
11/25/2015Slide 1 Scripts are short programs that repeat sequences of SPSS commands. SPSS includes a computer language called Sax Basic for the creation.
ARMS Advanced Risk Management System User Documentation.
Pasewark & Pasewark Microsoft Office 2003: Introductory 1 INTRODUCTION Lesson 1 – Microsoft Office 2003 Basics and the Internet.
Pasewark & Pasewark Microsoft Office 2003: Introductory 1 INTRODUCTION Lesson 1 – Microsoft Office 2003 Basics and the Internet.
DLI and EQUINOX Question 1 How do I find out what survey datasets are available from Statistics Canada ?
NET 222: COMMUNICATIONS AND NETWORKS FUNDAMENTALS ( NET 222: COMMUNICATIONS AND NETWORKS FUNDAMENTALS (PRACTICAL PART) Tutorial 2 : Matlab - Getting Started.
1. Starting 1 Let’s Learn Saenthong School, January – February 2016 Teacher: Aj. Andrew Davison, CoE, PSU Hat Yai Campus
Downloading Procedures From the Web Importing Web Procedures Using ProEdit.
1 EPIB 698C Lecture 1 Instructor: Raul Cruz-Cano
SP5 - Neuroinformatics 3DSomaMS Tutorial Computational Intelligence Group Technical University of Madrid.
Chris Knight Beginners’ workshop.
E | W | E | W | NHS e-Referral Service Referring Roles Issued: 27 th.
Pasewark & Pasewark 1 Office Lesson 1 Microsoft Office 2007 Basics and the Internet Microsoft Office 2007: Introductory.
Advance startup options Shift Restart. Restart options.
Chapter 2 – Introduction to Windows Operating System II Manipulating Windows GUI 1CMPF112 Computing Skills for Engineers.
Lesson 11 Exploring Microsoft Office 2007
Getting Started with Application Software
Wireless Network Access on: Windows 7, Windows 8 and Windows 10
R Programming.
Operating Microcomputer
Online Testing System Assessment Viewing Application (AVA)
Windows Internet Explorer 7-Illustrated Essentials
Lab 1 Introductions to R Sean Potter.
Learning Services Induction for Partner Institution Students
Online Testing System Assessment Viewing Application (AVA)
ICPSR: Resources for Instructors Finding and Analyzing Data 9/26/2012
Health-e Claims July 2007.
Online Testing System Assessment Viewing Application (AVA)
Presentation transcript:

Introductory Data Analysis F73DA2

Contact Times (Spring Term 2008) Monday 4: : Lecture in LT3 Tuesday 2: : Lecture in LT3 Wednesday : Lecture in LT3 Group 1 Tuesday : Practical in SRG12/13 Group 2 Tuesday : Practical in SRG12/13

Group 1

Group 2

The web pages for this module can be found linked from John Phillips Home Page: John Phillips Office: CM S06

Aims This module aims to develop students' abilities in understanding and solving practical statistical problems, and to teach them how to choose appropriate techniques, analyse data and present results.

The module will consist of a mixture of lectures and practical work. Lectures will focus on statistical modelling, including the selection of appropriate models, the analysis and interpretation of results, and diagnostics. Exploratory and graphical techniques will be considered, as well as more formal statistical procedures.

Both parametric procedures (e.g. linear and generalized linear models) and nonparametric methods will be discussed, as will modern robust techniques. There will be considerable emphasis on examples, applications, and case studies, especially for continuous response variables. Computing facilities, especially R, will be used extensively.

Assessments The module will be assessed by the student's completion of two practical assignments, to be handed in by specified times during the term.

Installing R PC Caledonia

Simply double click on the “Installer” then select the “R” icon. This will produce a short-cut to R which should be available every time you log on.

Installing R On your own pc

Download free from the Comprehensive R Archive Network

R screen

Type command here …. appears in red

R screen Arrow keys on keyboard are very useful. Pressingrepeatedly allows you to retrieve previous commands entered.

Many keys and function names are very much as you would expect. > 6+4 [1] 10 > 18*3 [1] 54 > log(100) [1] > pi [1] > sin(pi) [1] e-16

Many keys and function names are very much as you would expect. > cos(pi) [1] -1 > x=7 > y=10 > x+y [1] 17 > sqrt(x*x+7*x*y-2*y*y) [1] >

Example : A survey produced the following 200 results of individuals salaries :

Graphical Representation  Histogram  Stem-and-Leaf  Boxplot  Frequency Polygon

>hist(salaries)

>hist(salaries, nclass=5)

> stem(salaries) The decimal point is 3 digit(s) to the right of the | 14 | 5 15 | 16 | | | | | | | | | | 48

>boxplot(salaries)

Summary Statistics

> mean(salaries)

> mean(salaries) [1]

> mean(salaries) [1] > median(salaries)

> mean(salaries) [1] > median(salaries) [1] 20020

> mean(salaries) [1] > median(salaries) [1] > sd(salaries)

> mean(salaries) [1] > median(salaries) [1] > sd(salaries) [1]

Scatter Diagrams

x y

>plot(x,y)

> plot(y~x) > abline(lm(y~x))

Pie Chart Example

> television=scan( ) 1: : Read 26 items

> television=scan( ) 1: : Read 26 items > barplot(table(television))

> television.counts=table(television) > names(television.counts)=c("BBC1","BBC2", "ITV1","CH4","Other") >pie(television.counts,col=c("purple","green2", "cyan","yellow","white"))

Binomial Distribution It takes ages to calculate a series of probabilities

If n= 5, a=0.2 and x runs from 0 to 5 5! p(0)= ! 5! p(0) =

If n= 5, a=0.2 and x runs from 0 to 5 5! p(1)= ! 4! p(1) =

If n= 5, a=0.2 and x runs from 0 to 5 5! p(2)= ! 3! p(2) =

If n= 5, a=0.2 and x runs from 0 to 5 5! p(2)= ! 3! p(2) = …………and so on

Using R > dbinom(0:5,5,0.2) [1]

Using R > dbinom(0:5,5,0.2) [1] > pf=dbinom(0:5,5,0.2) > pf [1] >

Using R > pf [1] > barplot(pf) >

R Packages

R is built from packages of datasets and functions. The base and ctest packages are loaded by default and contain everything necessary for basic statistical analysis. Other packages may be loaded on demand, either via the Packages menu, or via the R function library.

Once a package is loaded, the functions within it are automatically available. To make available a dataset from within a package, use the function data. Of particular interest to advanced statistical users is the package MASS, which contains the functions and datasets from the book Modern Applied Statistics with S by W N Venables and B D Ripley. This package can be loaded with > library(MASS)

To make available the dataset chem from within MASS, use additionally > data(chem) Documentation on any package is available via the R help system. Missing or further packages may usually be obtained from CRAN.

Some data sets are already in R when you open it. > data(iris) > iris Sepal.Length Sepal.Width Petal.Length Petal.Width Species setosa setosa setosa setosa setosa setosa setosa setosa setosa setosa

Notice, though, that if you haven’t used the data command, R will not know that iris exists. Type `demo()' for some demos, `help()' for on-line help, or `help.start()' for a HTML browser interface to help. Type `q()' to quit R. [Previously saved workspace restored] > iris Error: Object "iris" not found >

Similarly if you use a file from the library and do not use the library command first, R will not know that a data set exists. Type `demo()' for some demos, `help()' for on-line help, or `help.start()' for a HTML browser interface to help. Type `q()' to quit R. [Previously saved workspace restored] > data(chem) Warning message: Data set `chem' not found in: data(chem) >