Descriptive Exploratory Data Analysis II Jagdish S. Gangolly State University of New York at Albany.

Slides:



Advertisements
Similar presentations
Matrix Manipulation and 2D Plotting
Advertisements

MATLAB – What is it? Computing environment / programming language Tool for manipulating matrices Many applications, you just need to get some numbers in.
R tutorial g/methods2.2010/R-intro.pdf.
Descriptive Exploratory Data Analysis 9/6/2007 Jagdish S. Gangolly State University of New York at Albany.
Basics of R, Ch  Functions  Help  Managing your Objects  Getting Data into R  Getting Results out of R 1 © Fall 2004 Don Edwards and the University.
Descriptive Exploratory Data Analysis 9/6/2007 Jagdish S. Gangolly State University of New York at Albany.
An Introduction to R POL 51 October 13, 2008 Malcolm Easton Office hours: Thursday 3:30-5:30 in Rm
6/1/2015 Acc 522 Statistical Methods for Business Decisions (Gangolly/Dutta) 1 Introduction to Statistics for Business Decisions Jagdish S. Gangolly &
Maths for Computer Graphics
Introduction to Exploratory Descriptive Data Analysis in S-Plus Jagdish S. Gangolly State University of New York at Albany.
CPSC 452: Lecture 1 Introduction, Homogeneous transformations and Coordinate frames.
Module 6 Matrices & Applications Chapter 26 Matrices and Applications I.
How to Use the R Programming Language for Statistical Analyses Part I: An Introduction to R Jennifer Urbano Blackford, Ph.D. Department of Psychiatry Kennedy.
LISA Short Course Series R Basics
Arithmetic Operations on Matrices. 1. Definition of Matrix 2. Column, Row and Square Matrix 3. Addition and Subtraction of Matrices 4. Multiplying Row.
LISA Short Course Series Basics of R Lin Zhang Feb. 16, 2015 LISA: Basics of RFeb. 16, 2015.
Graphing Examples Categorical Variables
Basic R Programming for Life Science Undergraduate Students Introductory Workshop (Session 1) 1.
LISA Short Course Series R Basics Ana Maria Ortega Villa Fall 2013 LISA: R BasicsFall 2013.
An Introduction to. Web resources R home page: R Archive:
732A44 Programming in R.  Self-studies of the course book  2 Lectures (1 in the beginning, 1 in the end)  Labs (computer). Compulsory submission of.
Hands-on Introduction to R. Outline R : A powerful Platform for Statistical Analysis Why bother learning R ? Data, data, data, I cannot make bricks without.
10/2/2015 Acc 522 Statistical Methods for Forensic Accounting & Assurance (Fall 2008) Gangolly 1 Statistical Methods for Forensic Accounting & Assurance.
Computational Biology, Part E Basic Principles of Computer Graphics Robert F. Murphy Copyright  1996, 1999, 2000, All rights reserved.
Data Objects in R Vector1 dimensionAll elements have the same data types Data types: numeric, character logic, factor Matrix2 dimensions Array2 or more.
Descriptive Exploratory Data Analysis III Jagdish S. Gangolly State University of New York at Albany.
An Introduction to R graphics Cody Chiuzan Division of Biostatistics and Epidemiology Computing for Research I, 2012.
Hands-on Introduction to R. We live in oceans of data. Computers are essential to record and help analyse it. Competent scientists speak C/C++, Java,
Introduction to MATLAB Damon Tomlin February 22, 2008 Lecture 3: Data Visualization & User Interfaces.
Matlab 14.html Cost: $100 Available in labs on Windows and Unix machines.
Class Opener:. Identifying Matrices Student Check:
STAT 251 Lab 1. Outline Lab Accounts Introduction to R.
Introduction to MATLAB 7 MATLAB Programming for Engineer Hassan Migdadi Spring 2013.
Class 7: Answers 1 (C) Which of the following matrices below is in reduced row echelon form? A B C D. None of them.
10.3 Systems of Linear Equations: Matrices. A matrix is defined as a rectangular array of numbers, Column 1Column 2 Column jColumn n Row 1 Row 2 Row 3.
EXAMPLE 1 Represent figures using matrices Write a matrix to represent the point or polygon. a. Point A b. Quadrilateral ABCD.
3.6 Solving Systems Using Matrices You can use a matrix to represent and solve a system of equations without writing the variables. A matrix is a rectangular.
Introduction to Exploratory Descriptive Data Analysis in S-Plus Jagdish S. Gangolly State University of New York at Albany.
Section 9-1 An Introduction to Matrices Objective: To perform scalar multiplication on a matrix. To solve matrices for variables. To solve problems using.
1 Faculty Name Prof. A. A. Saati. 2 MATLAB Fundamentals 3 1.Reading home works ( Applied Numerical Methods )  CHAPTER 2: MATLAB Fundamentals (p.24)
Making Histograms with the TI-83 Plus Procedure Reference:
Table of Contents Matrices - Definition and Notation A matrix is a rectangular array of numbers. Consider the following matrix: Matrix B has 3 rows and.
MATH 2311 Help Using R-Studio. To download R-Studio Go to the following link: Follow the instructions for your computer.
= the matrix for T relative to the standard basis is a basis for R 2. B is the matrix for T relative to To find B, complete:
Notes Over 4.2 Finding the Product of Two Matrices Find the product. If it is not defined, state the reason. To multiply matrices, the number of columns.
Do Now: Perform the indicated operation. 1.). Algebra II Elements 11.1: Matrix Operations HW: HW: p.590 (16-36 even, 37, 44, 46)
4-3 Matrix Multiplication Objective: To multiply a matrix by a scalar multiple.
Hands-on Introduction to R. We live in oceans of data. Computers are essential to record and help analyse it. Competent scientists speak C/C++, Java,
Canadian Bioinformatics Workshops
Matrices and systems of Equations. Definition of a Matrix * Rectangular array of real numbers m rows by n columns * Named using capital letters * First.
16BIT IITR Data Collection Module If you have not already done so, download and install R from download.
Canadian Bioinformatics Workshops
Matlab Workshop Getting Started.
Descriptive Exploratory Data Analysis II
13.4 Product of Two Matrices
Using R Graphs in R.
Review Problems Matrices
Ch 11 Graphics Managing graphics windows 1-d, 2-d and 3-d plotting
Introduction Osborn.
2) Platform independent 3) Predefined functions
Introduction to Exploratory Descriptive Data Analysis in S-Plus II
Use of Mathematics using Technology (Maltlab)
Graphics in S-Plus Jagdish S. Gangolly School of Business
Basics of R, Ch Functions Help Managing your Objects
Introduction to Exploratory Descriptive Data Analysis in S-Plus
Stat 251 (2009, Summer) Lab 2 TA: Yu, Chi Wai.
3.6 Multiply Matrices.
Matrix A matrix is a rectangular arrangement of numbers in rows and columns Each number in a matrix is called an Element. The dimensions of a matrix are.
R tutorial
Matrix Multiplication Sec. 4.2
Presentation transcript:

Descriptive Exploratory Data Analysis II Jagdish S. Gangolly State University of New York at Albany

Data Manipulation: –Matrices: bind rows ( rbind ), bind columns ( cbind ) –Arrays: rowMeans, colMeans, rowSums, colSums, rowVars, colVars,… –apply(data, dim, function,…) –attach( framename ): permits you to refer to variables without cumbersome notations. You can detach the frame when done. –function (x) { function definition } : To define your own functions –rm( comma-separated S-Plus objects ) : To remove objects

S-Plus Graphics motif( ) : To open a graphics window. Each time you invoke this, a new graphics window is opened. dev.off() : Close the most recent graphics device opened. graphics.off() : Close all graphics devices. plot( comma-separated variables, plot character )

Trellis Graphics I A matrix of graphs Example: >par(mfrow=c(2,2)) # 2 X 2 matrix of figures >x <- 1:100/100:1 >plot(x) # plot cell (1,1) >plot(x, type=“l”) # plot cell (1,2) line >hist(x) # plot cell (2,1) histogram >boxplot(x) # plot cell (2,2) boxplot

Trellis Graphics II Syntax: Dependent variable ~ explanatory variable |conditioning variable Data set Output: >trellis.device(motif) >dev.off() or >graphics.off()