Lab 5, part b: Scatterplots and Correlation

Size: px
Start display at page:

Download "Lab 5, part b: Scatterplots and Correlation"

Transcription

1 Lab 5, part b: Scatterplots and Correlation Toews, Math 160, Fall 2014 November 21, 2014 Objectives: 1. Get more practice working with data frames 2. Start looking at relationships between two variables Introduction Most of the techniques we ve learned thus far in this class have pertained to a single variable. The truly interesting questions in statistics generally involve two variables, however. For example, we might be interest in whether or not there is a relationship between smoking and lung cancer, or exercise and longevity. Our goal in two variable statistics is generally to investigate how different variables influence one another. This lab introduces you to some techniques in R that you can use to start exploring two-variable questions. The most basic technique at our disposal is a scatterplot: we plot the value of one variable against another, and then examine the plot for revealing patterns. A pattern that looks like a line is particularly compelling, for it suggests that as one variable increases (eg smoking levels), the other increased proportionally (eg cancer rates.) We can calculate a number called the correlation that gives us the strength of the linear relationship between two variables. You ll get some practice calculating this number in this lab. Due by Monday, December 1 1. Your <YourFirstName>_lab5.R script, in your Dropbox. 2. Turn in your Lab Notebook in class. Activities Getting Organized In Lab 5, Part A, you created a lab5 folder on your laptop. Navigate to that folder and set it as the working directory. Also open up the file lab5.r that you started in the last lab you ll add the commands you use today to the same file. Getting the data Download the files sgpdata.rdata and freelunchdata.rdata to your computer. If you downloaded freelunchdata.rdata last week, redownload and save over the old file I ve made a few changes to the file and would rather you had the new one. 1

2 Load free lunch data In the file browser in the lower right pane of Rstudio, browse to your Lab5 directory and then click More -> Set as working directory. Double click on the files freelunchdata.rdata and sgpdata.rdata and import them into your workspace. Alternatively, use the load command: load('freelunchdata.rdata') fld = freelunchdata # load the data # rename the data variable with a short, easy name Refine your data In the Environment tab (upper right pane), click on freelunchdata and take a look at the schools. Some schools stand out as not like the others. For example, if we re doing a sociological analysis, we might not want to include the Remann Juvenile Hall Detention Center. We might like to drop these schools from our analysis. We might also like to dro Special Services. Note that these items are on rows 44 and 50, respectively. Here s how we drop them from your data: fld = fld[-c(44,50),] 1. Note that square brackets are used for indexing our data frame 2. Note the minus sign in front of the c(44,50) vector: the minus sign means drop. 3. Note the comma after the -c(44,50) expression: elements before the comma refer to rows, elements after refer to columns. 4. Note that I go ahead and store the modifed free lunch data in the variable fld. I still have freelunchdata floating around in the workspace, so if I make a mistake, I can always go back and get the original data. In particular, however, I don t modify the original data set freelunchdata. This is good practice: keep a pristine copy of the data on hand at all times. Pause for reflection # 1: Are there other schools that you might drop from your analysis? Make some comments in your lab book about which ones, and then go ahead and drop them. Load test score data We ll be interested in exploring whether or not there is a relationship between the level of free lunch assistance at a school and the results of standardized testing. To do this, we ll need to load up some standardized test scores: load('mathsgpdata.rdata') sgp = mathsgpdata # give data a name that is easy to work with Take a look at this data set by clicking it in the Environment tab. Note that there are fewer schools represented here, and I ve already weeded out a bunch of schools that might not fit within the scope of our analysis. 2

3 Prepare to make a scatter plot: how to get a common set of schools We re going to focus on the variable MedianSGP. We d like to form a scatterplot of the percentage of free-lunch eligible students against the median SGP score. To do this, we need to make sure that we have exactly the same set of schools in both data sets. Here s how we can do this: idx = fld$school.name %in% sgp$schoolname # which names from fld are in sgp? fld = fld[idx,] # restrict fld data to include just these names idx = sgp$schoolname %in% fld$school.name #which names from sgp are in fld? sgp = sgp[idx,] # restrict sgp data to include just these names 1. The a %in% b command checks to see what names from a are in b, and returns the indices these names. 2. Running this command the other way, i.e. b %in% a, checks to see what names from b are in a, and returns the indices of these names. 3. By running the command both ways, and restricting the appropriate data set after each one, we limit the data to just those rows that that correspond to school names in both data sets. Make the scatterplot Now that we ve reduced both data sets to consist of just the same school names, making a scatterplot is easy. You do it like this: plot(fld$percent.eligible.for.free..reduced.lunch, sgp$mediansgp) sgp$mediansgp fld$percent.eligible.for.free..reduced.lunch 3

4 Pause for reflection # 2: Take a look at the data. Does it look like there is a relationship? In your lab book, comment on the form, direction, and strength of that relation. Calculate the correlation Remember that the correlation is a number between -1 and 1 that characterizes the strength of the linear relationship between two variables. You can calculate the correlation between free lunch eligibility and SGP scores with the following command: correl = cor(fld$percent.eligible.for.free..reduced.lunch, sgp$mediansgp) correl ## [1] Pause for reflection # 3: Is the sign of this correlation (positive or negative) what you would expect, based purely on socioligical grounds? Is it what you would expect, based on looking at the scatterplot you just generated? Fit a line to the data Finally, we d like to fit a line to the data that shows a rough theoretical relationship between free lunch data and SGP scores. There s a lot of mathematical machinery that goes into making such a line, but it s easy to do in R: res = lm(sgp$mediansgp ~ fld$percent.eligible.for.free..reduced.lunch) plot(fld$percent.eligible.for.free..reduced.lunch, sgp$mediansgp) abline(res) 4

5 sgp$mediansgp fld$percent.eligible.for.free..reduced.lunch 1. The function lm calculates parameters for a linear model between the two variables. Note the use of the tilde. We store the results of this function in a variable called res. 2. The function abline simply adds a best fit line to an existing scatterplot. The only thing it needs to form this line is the output of the lm function. 3. CAUTION: ORDER IS IMPORTANT! Note that the plot command you issued above had the fld data first, and then the sgp data this produces a plot with fld data on the horizontal axis, and SGP data on the vertical. In the lm command above, we need to switch the order (if you don t, your line won t fit the data!) Pause for reflection #4: Use your correlation coefficient and your best-fit-line to summarize in plain language what you feel the relation might be between free-lunch-eligibility and test scores 5

Lab 1: Getting started with R and RStudio Questions? or

Lab 1: Getting started with R and RStudio Questions? or Lab 1: Getting started with R and RStudio Questions? david.montwe@ualberta.ca or isaacren@ualberta.ca 1. Installing R and RStudio To install R, go to https://cran.r-project.org/ and click on the Download

More information

Your Name: Section: INTRODUCTION TO STATISTICAL REASONING Computer Lab #4 Scatterplots and Regression

Your Name: Section: INTRODUCTION TO STATISTICAL REASONING Computer Lab #4 Scatterplots and Regression Your Name: Section: 36-201 INTRODUCTION TO STATISTICAL REASONING Computer Lab #4 Scatterplots and Regression Objectives: 1. To learn how to interpret scatterplots. Specifically you will investigate, using

More information

Using Excel for Graphical Analysis of Data

Using Excel for Graphical Analysis of Data Using Excel for Graphical Analysis of Data Introduction In several upcoming labs, a primary goal will be to determine the mathematical relationship between two variable physical parameters. Graphs are

More information

STAT 113: R/RStudio Intro

STAT 113: R/RStudio Intro STAT 113: R/RStudio Intro Colin Reimer Dawson Last Revised September 1, 2017 1 Starting R/RStudio There are two ways you can run the software we will be using for labs, R and RStudio. Option 1 is to log

More information

Applied Regression Modeling: A Business Approach

Applied Regression Modeling: A Business Approach i Applied Regression Modeling: A Business Approach Computer software help: SAS SAS (originally Statistical Analysis Software ) is a commercial statistical software package based on a powerful programming

More information

Working with Macros. Creating a Macro

Working with Macros. Creating a Macro Working with Macros 1 Working with Macros THE BOTTOM LINE A macro is a set of actions saved together that can be performed by issuing a single command. Macros are commonly used in Microsoft Office applications,

More information

An introduction to plotting data

An introduction to plotting data An introduction to plotting data Eric D. Black California Institute of Technology February 25, 2014 1 Introduction Plotting data is one of the essential skills every scientist must have. We use it on a

More information

Rockefeller College MPA Excel Workshop: Clinton Impeachment Data Example

Rockefeller College MPA Excel Workshop: Clinton Impeachment Data Example Rockefeller College MPA Excel Workshop: Clinton Impeachment Data Example This exercise is a follow-up to the MPA admissions example used in the Excel Workshop. This document contains detailed solutions

More information

STAT 213: R/RStudio Intro

STAT 213: R/RStudio Intro STAT 213: R/RStudio Intro Colin Reimer Dawson Last Revised February 10, 2016 1 Starting R/RStudio Skip to the section below that is relevant to your choice of implementation. Installing R and RStudio Locally

More information

1 Introduction to Using Excel Spreadsheets

1 Introduction to Using Excel Spreadsheets Survey of Math: Excel Spreadsheet Guide (for Excel 2007) Page 1 of 6 1 Introduction to Using Excel Spreadsheets This section of the guide is based on the file (a faux grade sheet created for messing with)

More information

Intro to Stata for Political Scientists

Intro to Stata for Political Scientists Intro to Stata for Political Scientists Andrew S. Rosenberg Junior PRISM Fellow Department of Political Science Workshop Description This is an Introduction to Stata I will assume little/no prior knowledge

More information

Submitting Assignments

Submitting Assignments Submitting Assignments Blackboard s assignments feature allows the instructor to assign coursework for you to submit electronically. First, you need to locate the assignment. Your instructor will place

More information

In math, the rate of change is called the slope and is often described by the ratio rise

In math, the rate of change is called the slope and is often described by the ratio rise Chapter 3 Equations of Lines Sec. Slope The idea of slope is used quite often in our lives, however outside of school, it goes by different names. People involved in home construction might talk about

More information

How Do I Choose Which Type of Graph to Use?

How Do I Choose Which Type of Graph to Use? How Do I Choose Which Type of Graph to Use? When to Use...... a Line graph. Line graphs are used to track changes over short and long periods of time. When smaller changes exist, line graphs are better

More information

Statistics 13, Lab 1. Getting Started. The Mac. Launching RStudio and loading data

Statistics 13, Lab 1. Getting Started. The Mac. Launching RStudio and loading data Statistics 13, Lab 1 Getting Started This first lab session is nothing more than an introduction: We will help you navigate the Statistics Department s (all Mac) computing facility and we will get you

More information

Introduction to R Programming

Introduction to R Programming Course Overview Over the past few years, R has been steadily gaining popularity with business analysts, statisticians and data scientists as a tool of choice for conducting statistical analysis of data

More information

Introduction to Scientific Computing with Matlab

Introduction to Scientific Computing with Matlab UNIVERSITY OF WATERLOO Introduction to Scientific Computing with Matlab SAW Training Course R. William Lewis Computing Consultant Client Services Information Systems & Technology 2007 Table of Contents

More information

Math 121 Project 4: Graphs

Math 121 Project 4: Graphs Math 121 Project 4: Graphs Purpose: To review the types of graphs, and use MS Excel to create them from a dataset. Outline: You will be provided with several datasets and will use MS Excel to create graphs.

More information

Graphing Calculator Overview

Graphing Calculator Overview Graphing Calculator Overview Workshop One Objectives Learn the general layout of the calculator Learn how to navigate the menus Learn basic operating procedures Perform linear regression LEARNING CENTER

More information

Using the Dashboard. The dashboard allows you to see, and drill into, important summary information about the health of your reliability solution.

Using the Dashboard. The dashboard allows you to see, and drill into, important summary information about the health of your reliability solution. Using the Dashboard The dashboard allows you to see, and drill into, important summary information about the health of your reliability solution. Opening the Dashboard: You can see part of the dashboard

More information

Survey of Math: Excel Spreadsheet Guide (for Excel 2016) Page 1 of 9

Survey of Math: Excel Spreadsheet Guide (for Excel 2016) Page 1 of 9 Survey of Math: Excel Spreadsheet Guide (for Excel 2016) Page 1 of 9 Contents 1 Introduction to Using Excel Spreadsheets 2 1.1 A Serious Note About Data Security.................................... 2 1.2

More information

Part 6b: The effect of scale on raster calculations mean local relief and slope

Part 6b: The effect of scale on raster calculations mean local relief and slope Part 6b: The effect of scale on raster calculations mean local relief and slope Due: Be done with this section by class on Monday 10 Oct. Tasks: Calculate slope for three rasters and produce a decent looking

More information

DOING MORE WITH EXCEL: MICROSOFT OFFICE 2013

DOING MORE WITH EXCEL: MICROSOFT OFFICE 2013 DOING MORE WITH EXCEL: MICROSOFT OFFICE 2013 GETTING STARTED PAGE 02 Prerequisites What You Will Learn MORE TASKS IN MICROSOFT EXCEL PAGE 03 Cutting, Copying, and Pasting Data Basic Formulas Filling Data

More information

Chapter 3: Data Description Calculate Mean, Median, Mode, Range, Variation, Standard Deviation, Quartiles, standard scores; construct Boxplots.

Chapter 3: Data Description Calculate Mean, Median, Mode, Range, Variation, Standard Deviation, Quartiles, standard scores; construct Boxplots. MINITAB Guide PREFACE Preface This guide is used as part of the Elementary Statistics class (Course Number 227) offered at Los Angeles Mission College. It is structured to follow the contents of the textbook

More information

Decimals should be spoken digit by digit eg 0.34 is Zero (or nought) point three four (NOT thirty four).

Decimals should be spoken digit by digit eg 0.34 is Zero (or nought) point three four (NOT thirty four). Numeracy Essentials Section 1 Number Skills Reading and writing numbers All numbers should be written correctly. Most pupils are able to read, write and say numbers up to a thousand, but often have difficulty

More information

Depending on the computer you find yourself in front of, here s what you ll need to do to open SPSS.

Depending on the computer you find yourself in front of, here s what you ll need to do to open SPSS. 1 SPSS 11.5 for Windows Introductory Assignment Material covered: Opening an existing SPSS data file, creating new data files, generating frequency distributions and descriptive statistics, obtaining printouts

More information

Tips and Guidance for Analyzing Data. Executive Summary

Tips and Guidance for Analyzing Data. Executive Summary Tips and Guidance for Analyzing Data Executive Summary This document has information and suggestions about three things: 1) how to quickly do a preliminary analysis of time-series data; 2) key things to

More information

MATLAB Demo. Preliminaries and Getting Started with Matlab

MATLAB Demo. Preliminaries and Getting Started with Matlab Math 250C Sakai submission Matlab Demo 1 Created by G. M. Wilson, revised 12/23/2015 Revised 09/05/2016 Revised 01/07/2017 MATLAB Demo In this lab, we will learn how to use the basic features of Matlab

More information

Project 11 Graphs (Using MS Excel Version )

Project 11 Graphs (Using MS Excel Version ) Project 11 Graphs (Using MS Excel Version 2007-10) Purpose: To review the types of graphs, and use MS Excel 2010 to create them from a dataset. Outline: You will be provided with several datasets and will

More information

CHAPTER 1 COPYRIGHTED MATERIAL. Finding Your Way in the Inventor Interface

CHAPTER 1 COPYRIGHTED MATERIAL. Finding Your Way in the Inventor Interface CHAPTER 1 Finding Your Way in the Inventor Interface COPYRIGHTED MATERIAL Understanding Inventor s interface behavior Opening existing files Creating new files Modifying the look and feel of Inventor Managing

More information

Matlab notes Matlab is a matrix-based, high-performance language for technical computing It integrates computation, visualisation and programming usin

Matlab notes Matlab is a matrix-based, high-performance language for technical computing It integrates computation, visualisation and programming usin Matlab notes Matlab is a matrix-based, high-performance language for technical computing It integrates computation, visualisation and programming using familiar mathematical notation The name Matlab stands

More information

GIS LAB 1. Basic GIS Operations with ArcGIS. Calculating Stream Lengths and Watershed Areas.

GIS LAB 1. Basic GIS Operations with ArcGIS. Calculating Stream Lengths and Watershed Areas. GIS LAB 1 Basic GIS Operations with ArcGIS. Calculating Stream Lengths and Watershed Areas. ArcGIS offers some advantages for novice users. The graphical user interface is similar to many Windows packages

More information

Unit I Supplement OpenIntro Statistics 3rd ed., Ch. 1

Unit I Supplement OpenIntro Statistics 3rd ed., Ch. 1 Unit I Supplement OpenIntro Statistics 3rd ed., Ch. 1 KEY SKILLS: Organize a data set into a frequency distribution. Construct a histogram to summarize a data set. Compute the percentile for a particular

More information

Week 1: Introduction to R, part 1

Week 1: Introduction to R, part 1 Week 1: Introduction to R, part 1 Goals Learning how to start with R and RStudio Use the command line Use functions in R Learning the Tools What is R? What is RStudio? Getting started R is a computer program

More information

MATH3880 Introduction to Statistics and DNA MATH5880 Statistics and DNA Practical Session Monday, 16 November pm BRAGG Cluster

MATH3880 Introduction to Statistics and DNA MATH5880 Statistics and DNA Practical Session Monday, 16 November pm BRAGG Cluster MATH3880 Introduction to Statistics and DNA MATH5880 Statistics and DNA Practical Session Monday, 6 November 2009 3.00 pm BRAGG Cluster This document contains the tasks need to be done and completed by

More information

Blackboard for Faculty: Grade Center (631) In this document:

Blackboard for Faculty: Grade Center (631) In this document: 1 Blackboard for Faculty: Grade Center (631) 632-2777 Teaching, Learning + Technology Stony Brook University In this document: blackboard@stonybrook.edu http://it.stonybrook.edu 1. What is the Grade Center?..

More information

Homework 1 Excel Basics

Homework 1 Excel Basics Homework 1 Excel Basics Excel is a software program that is used to organize information, perform calculations, and create visual displays of the information. When you start up Excel, you will see the

More information

Further Maths Notes. Common Mistakes. Read the bold words in the exam! Always check data entry. Write equations in terms of variables

Further Maths Notes. Common Mistakes. Read the bold words in the exam! Always check data entry. Write equations in terms of variables Further Maths Notes Common Mistakes Read the bold words in the exam! Always check data entry Remember to interpret data with the multipliers specified (e.g. in thousands) Write equations in terms of variables

More information

PSU Standard-based Grading Setup. Working with Standards. Activity 1 Creating a Grade Conversion Scale

PSU Standard-based Grading Setup. Working with Standards. Activity 1 Creating a Grade Conversion Scale PSU 2012 Standard-based Grading Setup Standard-based Grading Setup Applying standards-based grades to assignments is a powerful feature of PowerSchool. When your school administrators and teachers implement

More information

Math Lab 6: Powerful Fun with Power Series Representations of Functions Due noon Thu. Jan. 11 in class *note new due time, location for winter quarter

Math Lab 6: Powerful Fun with Power Series Representations of Functions Due noon Thu. Jan. 11 in class *note new due time, location for winter quarter Matter & Motion Winter 2017 18 Name: Math Lab 6: Powerful Fun with Power Series Representations of Functions Due noon Thu. Jan. 11 in class *note new due time, location for winter quarter Goals: 1. Practice

More information

Scatterplot: The Bridge from Correlation to Regression

Scatterplot: The Bridge from Correlation to Regression Scatterplot: The Bridge from Correlation to Regression We have already seen how a histogram is a useful technique for graphing the distribution of one variable. Here is the histogram depicting the distribution

More information

Module 1: Introduction RStudio

Module 1: Introduction RStudio Module 1: Introduction RStudio Contents Page(s) Installing R and RStudio Software for Social Network Analysis 1-2 Introduction to R Language/ Syntax 3 Welcome to RStudio 4-14 A. The 4 Panes 5 B. Calculator

More information

Lab - Monitor and Manage System Resources in Windows 7 and Vista

Lab - Monitor and Manage System Resources in Windows 7 and Vista Lab - Monitor and Manage System Resources in Windows 7 and Vista Introduction In this lab, you will use administrative tools to monitor and manage system resources. Recommended Equipment The following

More information

Statistics with a Hemacytometer

Statistics with a Hemacytometer Statistics with a Hemacytometer Overview This exercise incorporates several different statistical analyses. Data gathered from cell counts with a hemacytometer is used to explore frequency distributions

More information

Spreadsheet View and Basic Statistics Concepts

Spreadsheet View and Basic Statistics Concepts Spreadsheet View and Basic Statistics Concepts GeoGebra 3.2 Workshop Handout 9 Judith and Markus Hohenwarter www.geogebra.org Table of Contents 1. Introduction to GeoGebra s Spreadsheet View 2 2. Record

More information

AP Statistics Summer Review Packet

AP Statistics Summer Review Packet 60 NAME: PERIOD: AP Statistics Summer Review Packet Teacher(s): Ryan Oben Teacher(s) Contact Information: Ryan_Oben@mcpsmd.org Course: Purpose of the Summer Assignment: In general, AP Statistics includes

More information

Lastly, in case you don t already know this, and don t have Excel on your computers, you can get it for free through IT s website under software.

Lastly, in case you don t already know this, and don t have Excel on your computers, you can get it for free through IT s website under software. Welcome to Basic Excel, presented by STEM Gateway as part of the Essential Academic Skills Enhancement, or EASE, workshop series. Before we begin, I want to make sure we are clear that this is by no means

More information

Using Excel for Graphical Analysis of Data

Using Excel for Graphical Analysis of Data EXERCISE Using Excel for Graphical Analysis of Data Introduction In several upcoming experiments, a primary goal will be to determine the mathematical relationship between two variable physical parameters.

More information

Graphical Analysis of Data using Microsoft Excel [2016 Version]

Graphical Analysis of Data using Microsoft Excel [2016 Version] Graphical Analysis of Data using Microsoft Excel [2016 Version] Introduction In several upcoming labs, a primary goal will be to determine the mathematical relationship between two variable physical parameters.

More information

MIS 0855 Data Science (Section 006) Fall 2017 In-Class Exercise (Day 18) Finding Bad Data in Excel

MIS 0855 Data Science (Section 006) Fall 2017 In-Class Exercise (Day 18) Finding Bad Data in Excel MIS 0855 Data Science (Section 006) Fall 2017 In-Class Exercise (Day 18) Finding Bad Data in Excel Objective: Find and fix a data set with incorrect values Learning Outcomes: Use Excel to identify incorrect

More information

ENCM 339 Fall 2017: Editing and Running Programs in the Lab

ENCM 339 Fall 2017: Editing and Running Programs in the Lab page 1 of 8 ENCM 339 Fall 2017: Editing and Running Programs in the Lab Steve Norman Department of Electrical & Computer Engineering University of Calgary September 2017 Introduction This document is a

More information

AP Statistics Summer Math Packet

AP Statistics Summer Math Packet NAME: AP Statistics Summer Math Packet PERIOD: Complete all sections of this packet and bring in with you to turn in on the first day of school. ABOUT THIS SUMMER PACKET: In general, AP Statistics includes

More information

Welcome to class! Put your Create Your Own Survey into the inbox. Sign into Edgenuity. Begin to work on the NC-Math I material.

Welcome to class! Put your Create Your Own Survey into the inbox. Sign into Edgenuity. Begin to work on the NC-Math I material. Welcome to class! Put your Create Your Own Survey into the inbox. Sign into Edgenuity. Begin to work on the NC-Math I material. Unit Map - Statistics Monday - Frequency Charts and Histograms Tuesday -

More information

A/D Converter. Sampling. Figure 1.1: Block Diagram of a DSP System

A/D Converter. Sampling. Figure 1.1: Block Diagram of a DSP System CHAPTER 1 INTRODUCTION Digital signal processing (DSP) technology has expanded at a rapid rate to include such diverse applications as CDs, DVDs, MP3 players, ipods, digital cameras, digital light processing

More information

QUEEN MARY, UNIVERSITY OF LONDON. Introduction to Statistics

QUEEN MARY, UNIVERSITY OF LONDON. Introduction to Statistics QUEEN MARY, UNIVERSITY OF LONDON MTH 4106 Introduction to Statistics Practical 1 10 January 2012 In this practical you will be introduced to the statistical computing package called Minitab. You will use

More information

Fundamentals: Expressions and Assignment

Fundamentals: Expressions and Assignment Fundamentals: Expressions and Assignment A typical Python program is made up of one or more statements, which are executed, or run, by a Python console (also known as a shell) for their side effects e.g,

More information

Correlation. January 12, 2019

Correlation. January 12, 2019 Correlation January 12, 2019 Contents Correlations The Scattterplot The Pearson correlation The computational raw-score formula Survey data Fun facts about r Sensitivity to outliers Spearman rank-order

More information

Programming with Python

Programming with Python Programming with Python Dr Ben Dudson Department of Physics, University of York 21st January 2011 http://www-users.york.ac.uk/ bd512/teaching.shtml Dr Ben Dudson Introduction to Programming - Lecture 2

More information

Creating a Dropbox Folder & Category (6/2016)

Creating a Dropbox Folder & Category (6/2016) Creating a Dropbox Folder & Category (6/2016) Categories are how you organize your Folders in the Dropbox, if you need a new Category you will create it while you are creating your New Folder. 1. Enter

More information

An Introduction to the R Commander

An Introduction to the R Commander An Introduction to the R Commander BIO/MAT 460, Spring 2011 Christopher J. Mecklin Department of Mathematics & Statistics Biomathematics Research Group Murray State University Murray, KY 42071 christopher.mecklin@murraystate.edu

More information

Introduction to Minitab 1

Introduction to Minitab 1 Introduction to Minitab 1 We begin by first starting Minitab. You may choose to either 1. click on the Minitab icon in the corner of your screen 2. go to the lower left and hit Start, then from All Programs,

More information

Excel Functions & Tables

Excel Functions & Tables Excel Functions & Tables Fall 2014 Fall 2014 CS130 - Excel Functions & Tables 1 Review of Functions Quick Mathematics Review As it turns out, some of the most important mathematics for this course revolves

More information

Activity 1 Creating a simple gradebook

Activity 1 Creating a simple gradebook Activity 1 Creating a simple gradebook 1 Launch Excel to start a new spreadsheet a. Click on the Excel icon to start a new workbook, either from the start menu, Office Toolbar, or an Excel icon on the

More information

STANDARDS OF LEARNING CONTENT REVIEW NOTES ALGEBRA I. 2 nd Nine Weeks,

STANDARDS OF LEARNING CONTENT REVIEW NOTES ALGEBRA I. 2 nd Nine Weeks, STANDARDS OF LEARNING CONTENT REVIEW NOTES ALGEBRA I 2 nd Nine Weeks, 2016-2017 1 OVERVIEW Algebra I Content Review Notes are designed by the High School Mathematics Steering Committee as a resource for

More information

SPSS 11.5 for Windows Assignment 2

SPSS 11.5 for Windows Assignment 2 1 SPSS 11.5 for Windows Assignment 2 Material covered: Generating frequency distributions and descriptive statistics, converting raw scores to standard scores, creating variables using the Compute option,

More information

Applied Regression Modeling: A Business Approach

Applied Regression Modeling: A Business Approach i Applied Regression Modeling: A Business Approach Computer software help: SPSS SPSS (originally Statistical Package for the Social Sciences ) is a commercial statistical software package with an easy-to-use

More information

OneNote. Using OneNote on the Desktop. Starting screen. The OneNote interface the Ribbon

OneNote. Using OneNote on the Desktop. Starting screen. The OneNote interface the Ribbon OneNote Using OneNote on the Desktop 1. Click start on the task bar 2. Type OneNote (search is a quick way to find applications, documents and other items on your computer) 3. Select Microsoft OneNote

More information

ELEC4042 Signal Processing 2 MATLAB Review (prepared by A/Prof Ambikairajah)

ELEC4042 Signal Processing 2 MATLAB Review (prepared by A/Prof Ambikairajah) Introduction ELEC4042 Signal Processing 2 MATLAB Review (prepared by A/Prof Ambikairajah) MATLAB is a powerful mathematical language that is used in most engineering companies today. Its strength lies

More information

Exploration Assignment #1. (Linear Systems)

Exploration Assignment #1. (Linear Systems) Math 0280 Introduction to Matrices and Linear Algebra Exploration Assignment #1 (Linear Systems) Acknowledgment The MATLAB assignments for Math 0280 were developed by Jonathan Rubin with the help of Matthew

More information

Data Science and Machine Learning Essentials

Data Science and Machine Learning Essentials Data Science and Machine Learning Essentials Lab 3C Evaluating Models in Azure ML By Stephen Elston and Graeme Malcolm Overview In this lab, you will learn how to evaluate and improve the performance of

More information

Using the Health Indicators database to help students research Canadian health issues

Using the Health Indicators database to help students research Canadian health issues Assignment Using the Health Indicators database to help students research Canadian health issues Joel Yan, Statistics Canada, joel.yan@statcan.ca, 1-800-465-1222 With input from Brenda Wannell, Health

More information

CS 051 Homework Laboratory #2

CS 051 Homework Laboratory #2 CS 051 Homework Laboratory #2 Dirty Laundry Objective: To gain experience using conditionals. The Scenario. One thing many students have to figure out for the first time when they come to college is how

More information

Intermediate Microsoft Excel

Intermediate Microsoft Excel Intermediate Microsoft Excel Class learning objectives By the end of class, students should be able to perform the following tasks in Microsoft Word: 1. Completing a Series 2. Review of Excel Basics Create

More information

Hi. I m a three. I m always a three. I never ever change. That s why I m a constant.

Hi. I m a three. I m always a three. I never ever change. That s why I m a constant. Lesson 1-1: 1 1: Evaluating Expressions Hi. I m a three. I m always a three. I never ever change. That s why I m a constant. 3 Real life changes, though. So to talk about real life, math needs things that

More information

TABLE OF CONTENTS SECTION 1: INTRODUCTION TO PRIMAVERA PROJECT MANAGEMENT 3 PROJECT MANAGEMENT MODULE 3

TABLE OF CONTENTS SECTION 1: INTRODUCTION TO PRIMAVERA PROJECT MANAGEMENT 3 PROJECT MANAGEMENT MODULE 3 Miami-Dade County Public Schools Project Manager Training Conducted by Evans Technology Primavera Project Management (P3eC) for Engineering and Construction v.4.1 June 2005 TABLE OF CONTENTS SECTION 1:

More information

A short guide to learning more technology This week s topic: Windows 10 Tips

A short guide to learning more technology This week s topic: Windows 10 Tips Wednesday s Technology Tips November 2, 2016 A short guide to learning more technology This week s topic: Windows 10 Tips Like it or not, Microsoft is rushing quickly toward Windows 10 as the new standard

More information

Creating a Book Trailer with Windows Live Movie Maker. A book trailer is different than a book talk. A book trailer

Creating a Book Trailer with Windows Live Movie Maker. A book trailer is different than a book talk. A book trailer Tutorial 4.3 Creating a Book Trailer with Windows Live Movie Maker A book trailer is different than a book talk. A book trailer mimics a movie trailer by portraying highlights from the plot using video

More information

The first thing we ll need is some numbers. I m going to use the set of times and drug concentration levels in a patient s bloodstream given below.

The first thing we ll need is some numbers. I m going to use the set of times and drug concentration levels in a patient s bloodstream given below. Graphing in Excel featuring Excel 2007 1 A spreadsheet can be a powerful tool for analyzing and graphing data, but it works completely differently from the graphing calculator that you re used to. If you

More information

Introduction to Stata: An In-class Tutorial

Introduction to Stata: An In-class Tutorial Introduction to Stata: An I. The Basics - Stata is a command-driven statistical software program. In other words, you type in a command, and Stata executes it. You can use the drop-down menus to avoid

More information

Fall 2016 CS130 - Regression Analysis 1 7. REGRESSION. Fall 2016

Fall 2016 CS130 - Regression Analysis 1 7. REGRESSION. Fall 2016 Fall 2016 CS130 - Regression Analysis 1 7. REGRESSION Fall 2016 Fall 2016 CS130 - Regression Analysis 2 Regression Analysis Regression analysis: usually falls under statistics and mathematical modeling

More information

E-Business Systems 1 INTE2047 Lab Exercises. Lab 5 Valid HTML, Home Page & Editor Tables

E-Business Systems 1 INTE2047 Lab Exercises. Lab 5 Valid HTML, Home Page & Editor Tables Lab 5 Valid HTML, Home Page & Editor Tables Navigation Topics Covered Server Side Includes (SSI) PHP Scripts menu.php.htaccess assessment.html labtasks.html Software Used: HTML Editor Background Reading:

More information

EXERCISE: GETTING STARTED WITH SAV

EXERCISE: GETTING STARTED WITH SAV Sequencing Analysis Viewer (SAV) Overview 1 EXERCISE: GETTING STARTED WITH SAV Purpose This exercise explores the following topics: How to load run data into SAV How to explore run metrics with SAV Getting

More information

addition + =5+C2 adds 5 to the value in cell C2 multiplication * =F6*0.12 multiplies the value in cell F6 by 0.12

addition + =5+C2 adds 5 to the value in cell C2 multiplication * =F6*0.12 multiplies the value in cell F6 by 0.12 BIOL 001 Excel Quick Reference Guide (Office 2010) For your lab report and some of your assignments, you will need to use Excel to analyze your data and/or generate graphs. This guide highlights specific

More information

Exploratory data analysis with one and two variables

Exploratory data analysis with one and two variables Exploratory data analysis with one and two variables Instructions for Lab # 1 Statistics 111 - Probability and Statistical Inference DUE DATE: Upload on Sakai on July 10 Lab Objective To explore data with

More information

LAB 1 INSTRUCTIONS DESCRIBING AND DISPLAYING DATA

LAB 1 INSTRUCTIONS DESCRIBING AND DISPLAYING DATA LAB 1 INSTRUCTIONS DESCRIBING AND DISPLAYING DATA This lab will assist you in learning how to summarize and display categorical and quantitative data in StatCrunch. In particular, you will learn how to

More information

Lecture 2: SML Basics

Lecture 2: SML Basics 15-150 Lecture 2: SML Basics Lecture by Dan Licata January 19, 2012 I d like to start off by talking about someone named Alfred North Whitehead. With someone named Bertrand Russell, Whitehead wrote Principia

More information

Year 10 General Mathematics Unit 2

Year 10 General Mathematics Unit 2 Year 11 General Maths Year 10 General Mathematics Unit 2 Bivariate Data Chapter 4 Chapter Four 1 st Edition 2 nd Edition 2013 4A 1, 2, 3, 4, 6, 7, 8, 9, 10, 11 1, 2, 3, 4, 6, 7, 8, 9, 10, 11 2F (FM) 1,

More information

PSpice Tutorial. Physics 160 Spring 2006

PSpice Tutorial. Physics 160 Spring 2006 PSpice Tutorial This is a tutorial designed to guide you through the simulation assignment included in the first homework set. You may either use the program as installed in the lab, or you may install

More information

EGR 111 Introduction to MATLAB

EGR 111 Introduction to MATLAB EGR 111 Introduction to MATLAB This lab introduces the MATLAB help facility, shows how MATLAB TM, which stands for MATrix LABoratory, can be used as an advanced calculator. This lab also introduces assignment

More information

1. Basic Steps for Data Analysis Data Editor. 2.4.To create a new SPSS file

1. Basic Steps for Data Analysis Data Editor. 2.4.To create a new SPSS file 1 SPSS Guide 2009 Content 1. Basic Steps for Data Analysis. 3 2. Data Editor. 2.4.To create a new SPSS file 3 4 3. Data Analysis/ Frequencies. 5 4. Recoding the variable into classes.. 5 5. Data Analysis/

More information

Subject. Creating a diagram. Dataset. Importing the data file. Descriptive statistics with TANAGRA.

Subject. Creating a diagram. Dataset. Importing the data file. Descriptive statistics with TANAGRA. Subject Descriptive statistics with TANAGRA. The aim of descriptive statistics is to describe the main features of a collection of data in quantitative terms 1. The visualization of the whole data table

More information

BIOL 417: Biostatistics Laboratory #3 Tuesday, February 8, 2011 (snow day February 1) INTRODUCTION TO MYSTAT

BIOL 417: Biostatistics Laboratory #3 Tuesday, February 8, 2011 (snow day February 1) INTRODUCTION TO MYSTAT BIOL 417: Biostatistics Laboratory #3 Tuesday, February 8, 2011 (snow day February 1) INTRODUCTION TO MYSTAT Go to the course Blackboard site and download Laboratory 3 MYSTAT Intro.xls open this file in

More information

USER GUIDE: Typefitter Automation for print, online and mobile

USER GUIDE: Typefitter Automation for print, online and mobile USER GUIDE: Typefitter Automation for print, online and mobile release: 1.0.2 Australia. USA. UK. Netherlands. typefi.com 2004 2016 Typefi Systems Pty Ltd. All rights reserved. Under the copyright laws,

More information

STANDARDS OF LEARNING CONTENT REVIEW NOTES ALGEBRA II. 3 rd Nine Weeks,

STANDARDS OF LEARNING CONTENT REVIEW NOTES ALGEBRA II. 3 rd Nine Weeks, STANDARDS OF LEARNING CONTENT REVIEW NOTES ALGEBRA II 3 rd Nine Weeks, 2016-2017 1 OVERVIEW Algebra II Content Review Notes are designed by the High School Mathematics Steering Committee as a resource

More information

VCEasy VISUAL FURTHER MATHS. Overview

VCEasy VISUAL FURTHER MATHS. Overview VCEasy VISUAL FURTHER MATHS Overview This booklet is a visual overview of the knowledge required for the VCE Year 12 Further Maths examination.! This booklet does not replace any existing resources that

More information

Mathematics 9 Exploration Lab Scatter Plots and Lines of Best Fit. a line used to fit into data in order to make a prediction about the data.

Mathematics 9 Exploration Lab Scatter Plots and Lines of Best Fit. a line used to fit into data in order to make a prediction about the data. Mathematics 9 Exploration Lab Scatter Plots and Lines of Best Fit A. Definitions Line of Best Fit: a line used to fit into data in order to make a prediction about the data. Scatter Plot: a graph of unconnected

More information

This assignment is due the first day of school. Name:

This assignment is due the first day of school. Name: This assignment will help you to prepare for Geometry A by reviewing some of the topics you learned in Algebra 1. This assignment is due the first day of school. You will receive homework grades for completion

More information

STAT 213 HW0a. R/RStudio Intro / Basic Descriptive Stats. Last Revised February 5, 2018

STAT 213 HW0a. R/RStudio Intro / Basic Descriptive Stats. Last Revised February 5, 2018 STAT 213 HW0a R/RStudio Intro / Basic Descriptive Stats Last Revised February 5, 2018 1 Starting R/RStudio There are two ways you can run the software we will be using for labs, R and RStudio. Option 1

More information

Distributions of Continuous Data

Distributions of Continuous Data C H A P T ER Distributions of Continuous Data New cars and trucks sold in the United States average about 28 highway miles per gallon (mpg) in 2010, up from about 24 mpg in 2004. Some of the improvement

More information

Using a percent or a letter grade allows us a very easy way to analyze our performance. Not a big deal, just something we do regularly.

Using a percent or a letter grade allows us a very easy way to analyze our performance. Not a big deal, just something we do regularly. GRAPHING We have used statistics all our lives, what we intend to do now is formalize that knowledge. Statistics can best be defined as a collection and analysis of numerical information. Often times we

More information