Introduction to Matlab

Slides:



Advertisements
Similar presentations
Statistical Methods Lynne Stokes Department of Statistical Science Lecture 7: Introduction to SAS Programming Language.
Advertisements

Introduction to Matlab. I use Matlab for: Data analysis Data plotting Image Analysis Also – Simulations (solving odes/pdes/finite element methods) – Minimisations,
R for Research Data Analysis using R Day1: Basic R Baburao Kamble University of Nebraska-Lincoln.
A Simple Guide to Using SPSS© for Windows
Introduction to MATLAB Northeastern University: College of Computer and Information Science Co-op Preparation University (CPU) 10/22/2003.
IS&T Scientific Visualization Tutorial – Spring 2010 Robert Putnam Plotting packages overview.
EViews. Agenda Introduction EViews files and data Examining the data Estimating equations.
RESEARCH HUB AT THE UNIVERSITY LIBRARIES PENN STATE UNIVERSITY TOUR OF STATISTICAL PACKAGES.
Version 4 for Windows NEX T. Welcome to SphinxSurvey Version 4,4, the integrated solution for all your survey needs... Question list Questionnaire Design.
Uncertainty in Engineering - Introduction Jake Blanchard Fall 2010 Uncertainty Analysis for Engineers1.
FEBRUARY, 2013 BY: ABDUL-RAUF A TRAINING WORKSHOP ON STATISTICAL AND PRESENTATIONAL SYSTEM SOFTWARE (SPSS) 18.0 WINDOWS.
Monte Carlo Simulation 1.  Simulations where random values are used but the explicit passage of time is not modeled Static simulation  Introduction.
1 An Introduction to TI SmartView Emulator Software (Version 2.0) Jim Eiting Developmental Mathematics Department Collin County Community College August.
Introduction To Correlation with SAS Sam Gordji Weir 107.
Statistics for the Social Sciences Psychology 340 Fall 2013 Thursday, November 21 Review for Exam #4.
 Overview of SPSS  Interface  Getting Started  Managing Data  Descriptive Statistics  Basic Analysis  Additional Resources.
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.
Objectives Understand what MATLAB is and why it is widely used in engineering and science Start the MATLAB program and solve simple problems in the command.
SPSS Presented by Chabalala Chabalala Lebohang Kompi Balone Ndaba.
MATLAB WORKSHOP FOR EE 327FOR EE 327 MWF 8: AMMWF 8: AM August 26-30, 2002August 26-30, 2002 Dr. Ali A. Jalali.
A L I MAM M OHAMMAD B IN S AUD I SLAMIC U NIVERSITY C OLLEGE OF S CIENCES D EPARTMENT OF M ATHEMATICS MATLAB 251 : MATH SOFTWARE Introduction to MATLAB.
1 Computer Programming (ECGD2102 ) Using MATLAB Instructor: Eng. Eman Al.Swaity Lecture (1): Introduction.
Then click the box for Normal probability plot. In the box labeled Standardized Residual Plots, first click the checkbox for Histogram, Multiple Linear.
WRITING REPORTS Introduction Section 0 Lecture 1 Slide 1 Lecture 6 Slide 1 INTRODUCTION TO Modern Physics PHYX 2710 Fall 2004 Intermediate 3870 Fall 2015.
Resampling techniques
June 21, Objectives  Enable the Data Analysis Add-In  Quickly calculate descriptive statistics using the Data Analysis Add-In  Create a histogram.
Introduction to Correlation & Regression with SAS Sam Gordji Weir 107.
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.
Mantid Stakeholder Review Nick Draper 01/11/2007.
1.Introduction to SPSS By: MHM. Nafas At HARDY ATI For HNDT Agriculture.
Mantid Manipulation and Analysis Toolkit for ISIS data.
1 Lecture 5 Post-Graduate Students Advanced Programming (Introduction to MATLAB) Code: ENG 505 Dr. Basheer M. Nasef Computers & Systems Dept.
Engineering Analysis ENG 3420 Fall 2009 Dan C. Marinescu Office: HEC 439 B Office hours: Tu-Th 11:00-12:00.
M ATLAB – What Is It ? Name is from matrix laboratory Powerful tool for – Computation and visualization of engineering and science mathematics – Communication.
Bootstrapping James G. Anderson, Ph.D. Purdue University.
Overview G. Jogesh Babu. R Programming environment Introduction to R programming language R is an integrated suite of software facilities for data manipulation,
Plotting in Excel Ken youssefi Engineering 10.
A quick guide to other statistical software
Dive Into® Visual Basic 2010 Express
Advanced Data Analytics
Statistical Analysis – Part 3
SPSS: Using statistical software — a primer
Probability and Statistics
Release Numbers MATLAB is updated regularly
Monte Carlo Simulation
Linear Regression.
Introduction Osborn.
Introduction to MATLAB
DEPARTMENT OF COMPUTER SCIENCE
Microsoft Office Illustrated
Matlab Workshop 9/22/2018.
LINDSEY BREWER CSSCR (CENTER FOR SOCIAL SCIENCE COMPUTATION AND RESEARCH) UNIVERSITY OF WASHINGTON September 17, 2009 Introduction to SPSS (Version 16)
Statistical Analysis – Part 3
Advanced Quantitative Analysis
CS122 Engineering Computation Lab Lab 3
Introduction to R.
MATLAB – What Is It ? Name is from matrix laboratory Powerful tool for
MATLAB – What Is It ? Name is from matrix laboratory Powerful tool for
Communication and Coding Theory Lab(CS491)
Introduction to MATLAB
CSE 307 Basics of Image Processing
How do I conduct a search using
Demo of Basic Matlab Features
Analytics – Statistical Approaches
Introduction to MATLAB
Python for Data Analysis
Introductory Statistics
Introduction to Python
STAT 515 Statistical Methods I Lecture 1 August 22, 2019 Originally prepared by Brian Habing Department of Statistics University of South Carolina.
Presentation transcript:

Introduction to Matlab What is Matlab? Brief overview, purchasing & installation Using the Command Window As a calculator As a graphing tool To compute basic statistics Using the Editor to create scripts and functions Interactivity: Input/Output Non-standard statistics and simulation

What is Matlab? Matlab is a statistical analysis, visualization, and scripting language Used widely in the physical and engineering sciences Becoming more and more popular in the social sciences

What is Matlab? Matlab is a statistical analysis, visualization, and scripting language Used widely in the physical and engineering sciences Becoming more and more popular in the social sciences Excel? SPSS? SASS? Python?

Acquiring Matlab Visit: Matlab is available for purchase: Professional/academic license: $500 basic package (+$200 for statistics toolbox) Student license: $50 basic package (+$50 for statistics toolbox) Licenses are tied to the installation computer (Mac or PC) and do not expire. Visit: https://www.mathworks.com/products/matlab.html

1. Using the Command Window As a calculator Basic operations with scalars, vectors, and matrices As a graphing tool Scatter plots, line plots, bar graphs, histograms To compute standard statistics Mean, median, mode, quantile, max/min, sorting, and randomization T-tests, correlation, regression, polynomial fitting, ANOVAs

2. Using the Editor Window To create scripts: Save a list of commands Define iterative operations To create functions: Defining input and output variables

3. Interactivity Example 1: Survey questions Ask user a series of questions (of various formats) Save data in Matlab, and in Excel Example 2: Interact with an image Load and display an image of a face Ask user to click on the eyes and nose Save x,y positions of the mouse clicks

4. Nonparametric statistics Example: Bootstrap analysis Load a sample data set (heights from before) Compute the Bootstrap standard error of the mean Take an n-sample with replacement Record the mean of the n-sample Repeat many times Display the distribution of means

5. Other demos Face modeling

Future workshops Workshop 2: Matlab Research Tools for Social Scientists Friday, November 2, 3-5pm, Social Sciences 2, room 121 This workshop I will cover a variety of research tools in Matlab, including designing surveys and behavioral studies, randomizing variables and conditions, collecting user responses (button presses, mouse clicks, reaction times), saving and loading data individual and group data. Workshop 3. Data Analysis and Plotting in Matlab Friday, February 1, 3-5pm, Social Sciences 2, room 121 This workshop will cover more advanced examples of data analysis and plotting using Matlab’s statistics toolbox. Statistical tests included t-tests, ANOVA, correlation, and multiple regression. Plotting functions included scatter, line plots, bar graphs, and histograms. Workshop 4. Visualizing Multivariate Data in Matlab Friday, February 15, 3-5pm, Social Sciences 2, room 121 In this 2-hour workshop I presented methods for plotting and visualizing multivariate data involving 3 or more variables. These included 3D scatter plots, surface plots, and dynamic displays using Matlab video and graphing tools.

Future workshops (cont.) Workshop 5. Introduction to Matlab (refresher) Friday, April 12, 3-4pm, Social Sciences 2, room 121 This workshop will cover the basics of Matlab; using the Command Window for defining variables, conducting standard statistical analyses, making 2D plots, and using the Editor to create iterative scripts. Workshop 6. Nonparametric statistics Friday, April 26, 3-5pm, Social Sciences 2, room 121 This workshop will introduce nonparametric statistics, including rank-order statistics and the Bootstrap Method, that involve minimal assumptions about the underlying data distributions. Workshop 7. Computational simulation Friday, May 10, 3-5pm, Social Sciences 2, room 121 This workshop will introduce the use computational simulations for modeling irregular or non-parametric data. Examples include leave-one-out analyses, Monte Carlo simulation, and iterative parameter searches. .

Questions? Please visit me during my statistical consultation office hours: Fall quarter: Tuesdays 2-4pm (or by appointment), SS2-377 Winter & Spring: TBA (check https://csass.ucsc.edu/consulting/consultants.html ) Email me: ndaviden@ucsc.edu All workshop materials will be posted at: https://davidenko.sites.ucsc.edu/matlab-workshops/