Part I Learning about SPSS



Similar documents
SPSS/Excel Workshop 2 Semester One, 2010

6 3 The Standard Normal Distribution

If there is not a Data Analysis option under the DATA menu, you will need to install the Data Analysis ToolPak as an add-in for Microsoft Excel.

Important Probability Distributions OPRE 6301

Bowerman, O'Connell, Aitken Schermer, & Adcock, Business Statistics in Practice, Canadian edition

Using Formulas, Functions, and Data Analysis Tools Excel 2010 Tutorial

Guide to Microsoft Excel for calculations, statistics, and plotting data

Example 1: Dear Abby. Stat Camp for the Full-time MBA Program

3.4. The Binomial Probability Distribution. Copyright Cengage Learning. All rights reserved.

Binomial Probability Distribution

Finite Mathematics Using Microsoft Excel

EXCEL Tutorial: How to use EXCEL for Graphs and Calculations.

Probability Distributions

CHAPTER 7 INTRODUCTION TO SAMPLING DISTRIBUTIONS

The normal approximation to the binomial

Section 5-3 Binomial Probability Distributions

Chapter 3: DISCRETE RANDOM VARIABLES AND PROBABILITY DISTRIBUTIONS. Part 3: Discrete Uniform Distribution Binomial Distribution

How to Use a Data Spreadsheet: Excel

The normal approximation to the binomial

4. Continuous Random Variables, the Pareto and Normal Distributions

MATH 140 Lab 4: Probability and the Standard Normal Distribution

1. Go to your programs menu and click on Microsoft Excel.

Using Microsoft Excel for Probability and Statistics

Mail Merge: Create Mailing Labels Using Excel Data and Filtering the Contents in the Data

5 Cumulative Frequency Distributions, Area under the Curve & Probability Basics 5.1 Relative Frequencies, Cumulative Frequencies, and Ogives

The Binomial Probability Distribution

seven Statistical Analysis with Excel chapter OVERVIEW CHAPTER

SharePoint How To s / Team Sites 1of 6

Introduction to Statistical Computing in Microsoft Excel By Hector D. Flores; and Dr. J.A. Dobelman

Characteristics of Binomial Distributions

Key Concept. Density Curve

Creating a Gradebook in Excel

Smart Sync. Computer Classroom Management Software. What is SMART Sync? Table of Contents

You flip a fair coin four times, what is the probability that you obtain three heads.

Introduction to the Practice of Statistics Sixth Edition Moore, McCabe Section 5.1 Homework Answers

Lab: Data Backup and Recovery in Windows XP

Professional Fire Software Control Center. Fire Training Module Training Manual

Spreadsheets and Laboratory Data Analysis: Excel 2003 Version (Excel 2007 is only slightly different)

KSTAT MINI-MANUAL. Decision Sciences 434 Kellogg Graduate School of Management

EXCEL PREREQUISITES SOLVING TIME VALUE OF MONEY PROBLEMS IN EXCEL

SOLVING EQUATIONS WITH EXCEL

Creating tables of contents and figures in Word 2013

How To Insert Hyperlinks In Powerpoint Powerpoint

Microsoft Excel 2010

Statistical Data analysis With Excel For HSMG.632 students

Directions for Frequency Tables, Histograms, and Frequency Bar Charts

Formulas & Functions in Microsoft Excel

Lab - Data Backup and Recovery in Windows XP

Introduction. Inserting Hyperlinks. PowerPoint 2010 Hyperlinks and Action Buttons. About Hyperlinks. Page 1

Normality Testing in Excel

Stat 515 Midterm Examination II April 6, 2010 (9:30 a.m. - 10:45 a.m.)

Setting Preferences in QuickBooks

Statistical Functions in Excel

Page Numbering for a Thesis or Dissertation

MAT 155. Key Concept. September 22, S5.3_3 Binomial Probability Distributions. Chapter 5 Probability Distributions

0 Introduction to Data Analysis Using an Excel Spreadsheet

Electronic Signature Instructions

MAS108 Probability I

Below is a very brief tutorial on the basic capabilities of Excel. Refer to the Excel help files for more information.

The tool also provides an overview of date criteria set against all items within your module.

Appendix A How to create a data-sharing lab

MICROSOFT OUTLOOK 2010 WORK WITH CONTACTS

Stats for Strategy Fall 2012 First-Discussion Handout: Stats Using Calculators and MINITAB

Coins, Presidents, and Justices: Normal Distributions and z-scores

ClickView Digital Signage User Manual

Turn on or off the Out of Office Assistant

Making Visio Diagrams Come Alive with Data

LAB 4 INSTRUCTIONS CONFIDENCE INTERVALS AND HYPOTHESIS TESTING

Lab 1: The metric system measurement of length and weight

The Binomial Distribution. Summer 2003

Opgaven Onderzoeksmethoden, Onderdeel Statistiek

The Excel Statistical Master (that ll be you!)

Calibration and Linear Regression Analysis: A Self-Guided Tutorial

Using Excel (Microsoft Office 2007 Version) for Graphical Analysis of Data

Microsoft Excel 2007 Level 2

Using Microsoft Excel to Analyze Data

Absorbance Spectrophotometry: Analysis of FD&C Red Food Dye #40 Calibration Curve Procedure

Excel s Business Tools: What-If Analysis

Millennium Learning Centres How to scan documents you want to edit

8 6 X 2 Test for a Variance or Standard Deviation

Microsoft Word 2011: Create a Table of Contents

Probability Calculator

Probability Distributions. 7.1 Describing a Continuous Distribution. 7.2 Uniform Continuous Distribution. 7.4 Standard Normal Distribution

Excel 2010 Sorting and Filtering

EXCEL Analysis TookPak [Statistical Analysis] 1. First of all, check to make sure that the Analysis ToolPak is installed. Here is how you do it:

Everyday Excel Stuff Excel Day Planner Organizer Reference Guide

Beginning PowerPoint: Hands-On Exercise (Windows XP) Regent University

0 x = 0.30 x = 1.10 x = 3.05 x = 4.15 x = x = 12. f(x) =

Microsoft Excel. Qi Wei

Microsoft Excel Tutorial

Lesson 3 - Processing a Multi-Layer Yield History. Exercise 3-4

BUSINESS DATA ANALYSIS WITH PIVOTTABLES

Updates to Graphing with Excel

Section 5 Part 2. Probability Distributions for Discrete Random Variables

One of the following messages will appear in red when DisplayStudio is not properly connected to a media player on the wireless network.

The Basic Practice of Statistics Fifth Edition

Developing Own Crystal Reports

Transcription:

STATS 1000 / STATS 1004 / STATS 1504 Statistical Practice 1 Practical Week 5 2015 Practical Outline In this practical, we will look at how to do binomial calculations in Excel. look at how to do normal calculations in Excel. Part I Learning about SPSS 1 Opening Excel First, start Excel by clicking on the icon at the bottom of your screen. (Or choose: Start>All Programs>Microsoft Office>Microsoft Office Excel 2007) 2 Binomial Calculations in Excel Binomial probabilities can be calculated in Excel using the built-in function BINOMDIST. The easiest way to calculate a single binomial probability is as follows. 1. Click on the Insert Function icon f x above the column names. 1

(Alternatively, from the Formulas menu, select Insert Function. ) 2. In the Insert Function dialog box, select Category:Statistical, followed by Function:BINOMDIST. 3. Enter the required function arguments in the BINOMDIST dialog box before clicking on OK. Number s The number of successes, x. Trials The total number of trials, n. 2

cumulative = 1 cumulative = 0 0.3 0.3 0.2 0.2 0.1 0.1 0.0 0.0 0 1 2 3 4 5 6 x (a) P (X x) orange boxes. 0 1 2 3 4 5 6 x (b) P (X = x) orange box. Figure 1: Difference between cumulative = 1 and cumulative = 0 Probability s The probability of success in a single trial, p. Cumulative 1(TRUE) or 0(FALSE) (See Figure 1). Enter 1(TRUE) if the value to be calculated is the probability of being less than or equal to the number given in Numbers s. Enter 0(FALSE) if the value to be calculated is the probability of being equal to the number given in Numbers s For example is X Bin(10, 0.5) and you want to calculate the probability that X is less than or equal to 2, then you would enter Number s 2 Trials 10 Probability s 0.5 Cumulative 1 3

Question If you toss a fair coin 10 times, what is the probability of no heads, 3 or less heads, at least one head, between 1 and 3 heads (inclusive)? Solutions Let X be the number of heads, then X Bin(10, 1/2) P (X = 0) = BINOMDIST(0,10,0.5,0) = 0.0010 P (X 3) = BINOMDIST(3,10,0.5,1) = 0.1719 P (X 1) = 1 P (X = 0) = 1 BINOMDIST(0,10,0.5,0) = 0.9990 P (1 X 3) = P (X 3) P (X = 0) = BINOMDIST(3,10,0.5,1) - BINOMDIST(0,10,0.5,0) = 0.1709 3 Normal Probabilities Normal probabilities can be obtained in Excel using the built-in function NORMDIST as follows. 1. In the Insert Function dialog box, select Category:Statistical, followed by Function:NORMDIST (Note: not NORMSDIST). 2. Enter the required function arguments in the NORMDIST dialog box before clicking on OK. x The real number x. Mean The real number µ. Standard dev The real number σ > 0. Cumulative You should enter 1(TRUE) as we require the cumulative distribution function not the probability density function. 4

The value calculated is the probability that X is less than or equal to the number x for X N(µ, σ) (See Figure 2). X Figure 2: P (X x) for normal distribution (orange area). Note: a separate function NORMSDIST is also provided. This function has just a single argument z and calculates the probability that the standard normal random variable is less than or equal to z. It is equivalent to using NORMDIST with µ = 0 and σ = 1. The inverse cumulative distribution function can also be calculated in Excel. The inverse cumulative distribution function gives the constant c such that probability that X is less than or equal to c is equal to some given probability p. The Excel function to do this is NORMINV. It is used as follows: 1. In the Insert Function dialog box, select Category:Statistical, followed by Function:NORMINV (Note: not NORMSINV). 2. Enter the required function arguments in the NORMINV dialog box before clicking on OK. Probability The number p with 0 < p < 1. Mean The real number µ. Standard dev The real number σ > 0. 5

The value calculated is the solution x to the equation P (X x ) = p for X N(µ, σ). Question The weight of cats is normally distributed with a mean of 4kg and a standard deviation of 0.5kg. What is the probability of a randomly selected cat weighs less than 3kg? a randomly selected cat weighs more than 4kg? a randomly selected cat weighs more than 4kg or less than 3kg? a randomly selected cat weighs between 3 and 4kg? What weight c is such that 10% of all cats are less than this weight? Solutions P (X < 3) =NORMDIST(3,4,0.5,1) = 0.0228. P (X > 4) = 1 P (X 4) = =1 - NORMDIST(4,4,0.5,1) = 0.5 P (X > 4 or X < 3) = P (X > 4) + P (X < 3) =NORMDIST(3,4,0.5,1) + (1 - NORMDIST(4,4,0.5,1)) = 0.5228. P (3 X 4) = P (X 4) P (X 3) =NORMDIST(4,4,0.5,1) - NORMDIST(3,4,0.5,1) = 0.4772. Use NORMINV(0.2,4,0.5) to give the answer 3.58 kg Part II Assignment Questions Using excel answer the following questions. 1. A multiple choice test has 15 questions. Each question has 5 candidate answers of which exactly 1 is correct. Suppose a certain student answers each question by randomly choosing one of the five answers. Make sure you have checked your answers with the lab tutor. Let X be the number correctly answered. (a) What is the distribution of X? (b) Find the probability the student gets exactly 4 correct answers. 6

Solutions No solutions as assignment questions (c) Find the probability the student gets at most 4 correct answers. (d) Find the probability the student gets 6 or more correct answers. (e) Find the probability the student gets between 4 and 10 correct answers (inclusive). 2. The weight of mice is known to be normally distributed with a mean of 10grams and a standard deviation of 1gram. (a) What is the probability that a randomly selected mouse weighs less than 10 grams? (b) What is the probability that a randomly selected mouse weighs more than 11 grams? (c) What is the probability that a randomly selected mouse weighs between 8 and 12 grams? (d) What is the weight c such that the probability that a randomly selected mouse weighs less than c is 0.01? Part III Appendix A Probability notation X Bin(n, p): The random variable X has a binomial distribution with the number of trials n and the probability of success p. X N(µ, σ): The random variable X has a normal distribution with a mean of µ and a standard deviation of σ. P (X = x): The probability that the random variable X is equal to x. P (X x): The probability that the random variable X is equal to or less than x. 7