Statistics, Data, and R. 2 Sample Means, Variances, Covariances, and Correlations

Size: px
Start display at page:

Download "Statistics, Data, and R. 2 Sample Means, Variances, Covariances, and Correlations"

Transcription

1 Statistics, Data, and R 1 Populations and Samples A population refers to a group of animals that are part of the overall breeding structure in an industry. Examples are, Holstein dairy cattle in Canada that are on milk recording programs. Labrador retrievers in Ontario. Rainbow trout on the east coast of Canada. Racing pigeons of Quebec. Populations have parameters that describe the means and variances of traits that are observed on that population. The population mean for a trait is designated by the Greek letter mu, µ. The population standard deviation for a trait is designated by a Greek sigma, σ. Population parameters need to be estimated for use in genetic evaluation. These are estimated from samples of animals from the population. A sample is a subset of animals from the population. For example, the population of Holstein cows in Canada can be split into samples within each province. A sample might be cows in one herd. 2 Sample Means, Variances, Covariances, and Correlations Let y i be an observed trait value on an animal in the sample from the overall population, and let there be N such observations. The observation is composed of the population mean and a deviation (e i ) from that mean, i.e., y i = µ + e i. An unbiased estimator of the population mean is ˆµ = ( y i )/N, where is the summation symbol which means to add together the y i s. 1

2 Variance is an indicator of the range of possible values that y i could have. For example, if the minimum value of y i was 76 and the maximum value was 82, then the variance would be smaller than if the minimum was 25 and the maximum was 130. An estimator of the population variance is ˆσ 2 = ( yi 2 ( y i ) 2 /N)/(N 1), = (y i ˆµ) 2 /(N 1). Coefficient of Variation is a way to represent the degree of variation relative to the size of the mean, CV = 100%. ˆσˆµ Covariance is used to measure how two traits vary together. Let y i be one trait, like birthweight, and let w i be a different trait, like adjusted 200-d weight, both measured on the same animal. An estimator of the population covariance is ˆσ yw = ( y i w i ( y i )( w i )/N)/(N 1), = (y i ˆµ y )(w i ˆµ w )/(N 1). Covariances may be positive or negative. A positive covariance means that as one trait becomes larger in magnitude, so does the other trait. A negative covariance means that as one trait becomes larger the other trait becomes smaller. An easier way of looking at co-variation among traits is the correlation coefficient, ˆρ = ˆσ yw (ˆσ 2 y ˆσ 2 w).5. Correlation coefficients range between -1 and Normal Distribution Many quantitative traits of importance in livestock production follow the Normal Frequency Distribution. Every Normal distribution can be described entirely by its mean and variance as N(mean, variance). A Normal distribution with a mean of zero and a variance of one is known as the standard Normal distribution (N(0, 1)). A more general formulation is y i N(µ, σ 2 ), 2

3 where y i is the trait, µ is the mean of the population, and σ 2 is the variance of the observations. Table 1. Some commonly used values for the standard Normal distribution. z-values Percentage Point Confidence Interval Selection Intensity A few points to remember: z-value (z = (x i µ)/σ) is the trait value expressed as a difference from the population mean in standard deviation units. 3

4 Percentage point (p) gives the portion of the population above the given z-value. Confidence interval gives the portion of the distribution within z-value units of the mean, i.e. between z and +z on the horizontal axis. Selection intensity (i) is the average value (in standard deviation units and deviated from the mean) of the portion p of the population which lies above the z-value. The distribution is symmetric, with 50% above and 50% below the mean. Two-thirds (2/3) of the distribution, or about 67%, is within one standard deviation from the mean (i.e. between z-values of -1.0 and +1.0 on the standard Normal curve). About 95% of the distribution is within 2 standard deviations from the mean. These rules apply to any trait that follows a Normal distribution, by first standardizing the distribution by converting the observations for the trait (y i ) to z-values. For example, if y i N(µ, σ 2 ), then y i can be converted into a z-value as follows: z i = y i µ. σ The Normal distribution applies to the majority of traits recorded on livestock populations, but occasionally this is not the case. Examples of non-normality are as follows: 1. An animal either has a disease or does not have a disease (yes or no trait), which is a binomial distribution specified by p, a probability of having the disease. 2. Number of piglets born in a litter can be anywhere from 7 to 13 usually. The number born follows a Poisson distribution. 3. Calvings in cattle are categorized into 4 or 5 classes which range from Easy or Unassisted Calving, Assisted Calving, Difficult Calving, and Caesarian section. This is an example of a multinomial trait, i.e. more than two categories and probabilities associated with being in each. In many cases, traits are assumed to follow a normal distribution even if they do not, and the results are almost as good as using the more appropriate distribution. Distributions other than normal are often more complicated computationally. In practice, the first attempt should be to use the most appropriate distribution before making any simplification to a normal distribution. This course will only consider traits to follow a normal distribution. 4

5 4 Small Data Sets Most examples used in these notes to illustrate methods can be given in one table on less than a page of paper. In these cases, the student can enter the data into R manually in a few minutes. Below are data on 10 beef calves born at a research station within one week of each other. Beef calf data on birthweights (BW) and calving ease (CE). Calf Breed Sex CE BW(lbs) 1 AN M U 55 2 CH M E 68 3 HE M U 60 4 AN M U 52 5 CH F H 65 6 HE F E 64 7 CH F H 70 8 AN F E 61 9 HE F E CH M C 75 An easy way to enter the data is by columns of the table. calf = c(1:10) # makes a string of numbers 1 to 10 breed = c("an","ch","he","an","ch","he","ch","an", "HE","CH") sex = c("m","m","m","m","f","f","f","f","f","m") CE = c("u","e","u","u","h","e","h","e","e","c") BWT = c(55,68,60,52,65,64,70,61,63,75) Then the columns can be put into a data frame, as follows: beefdat = data.frame(calf,breed,sex,ce,bwt) beefdat # looks at the data, exactly like the table The data frame can be saved and used at other times. The saved file can not be viewed because it is stored in binary format 5

6 setwd(choose.dir()) save(beefdat,file="beef.rdata") # and retrieved later as load("beef.rdata") 4.1 Creating Design Matrices A desgin matrix is a matrix that relates levels of a factor to the observations. The observations, in this example, are the birthweights. The factors are breed, sex, and CE. The breed factor has 3 levels, namely AN, CH, and HE. The sex factor has 2 levels, M and F, and the CE factors has 4 levels, U, E, H, and C. A function to make a design matrix is as follows: desgn <- function(v) { if(is.numeric(v)) { va = v mrow = length(va) mcol = max(va) } if(is.character(v) { vf = factor(v) va = as.numeric(vf) mrow = length(va) mcol = length(levels(vf)) } X = matrix(data=c(0),nrow=mrow,ncol=mcol) for(i in 1:mrow) { ic = va[i] X[i,ic] = 1 } return(x) } # To use, then B = desgn(breed) S = desgn(sex) C = desgn(ce) 6

7 These matrices are B = 0 0, S = , C = Each row of a design matrix has one 1 and the remaining elements are zero. The location of the 1 indicates the level of the factor corresponding to that observation. If you summed together the elements of each row you will always get a vector of ones, or a J matrix with just one column. 4.2 The summary Function The data frame, beefdat, was created earlier. Now enter summary(beefdat) # Also try plot(beefdat) This gives information about each column of the data frame. If appropriate it gives the minimum and maximum value, median, and mean of numeric columns. For nonnumeric columns it gives the levels of that column and number of observations for each, or the total number of levels. This is useful to check if data have been entered correctly or if there are codes in that data that were not expected. The information may not be totally correct. For example, if missing birthweights were entered as 0, then R does not know that 0 means missing and assumes that 0 was a valid birthweight. The letters NA, signify a missing value, and these are skipped in the summary function. 7

8 4.3 Means and Variances The functions to calculate the means and variances are straightforward. Let y be a vector of the observations on a trait of interest. # The mean is mean(y) # The variance and standard deviation are var(y) sd(y) 4.4 Plotting The plot function is handy for obtaining a visual appreciation of the data. There are also the hist(), boxplot(), and qqnorm() functions that plot information. Use the?hist, for example, to find out more about a given function. This will usually show you all of the available options and examples of how the function is used. There are enough options and additional functions to make about any kind of graphical display that you like. 5 Large Data Sets Large, in these notes, means a data set with more than 30 observations. This could be real data that exists in a file on your computer. There are too many observations and variables to enter it manually into R. The data set can be up to 100,000 records, but R is not unlimited in space, and some functions may not be efficient with a large number of records. If the data set is larger than 100,000 records, then other programming approaches like FORTRAN or C++ should be considered, and computing should be on servers with multiprocessors and gigabytes of memory. For example, setting up a design matrix for a factor with a large data set may require too much memory. Techniques that do not require an explicit representation of the design matrix should be used. A chapter on analyses using this approach is given towards the end of the notes. To read a file of trotting horse data, as an example, into R, use 8

9 zz = file.choose() # allows you to browse for file # zz is the location or handle for the file trot = read.table(file = zz, header=false, col.names= c("race","horse","year","month","track","dist","time")) When a data frame is saved in R, it is written as a binary file, and the names of the columns form a header record in the file. Normally, data files do not have a header record, thus, header=false was indicated in the read.table() function, and the col.names had to be provided, otherwise R provides its own generic header names like V1, V2, Exploring the Data summary(trot) # as before with the small data sets dim(trot) # will indicate number of records and # number of columns in trot data frame horsef = length(factor(trot$horse)) # number of different horses # in the data set yearsf = length(factor(trot$year)) # number of different years yearsf = factor(trot$year) levels(yearsf) # list of years represented in data tapply(trot$times,trot$track,mean) # mean racing times by # track location 9

Chapter 2: The Normal Distributions

Chapter 2: The Normal Distributions Chapter 2: The Normal Distributions Measures of Relative Standing & Density Curves Z-scores (Measures of Relative Standing) Suppose there is one spot left in the University of Michigan class of 2014 and

More information

STA Rev. F Learning Objectives. Learning Objectives (Cont.) Module 3 Descriptive Measures

STA Rev. F Learning Objectives. Learning Objectives (Cont.) Module 3 Descriptive Measures STA 2023 Module 3 Descriptive Measures Learning Objectives Upon completing this module, you should be able to: 1. Explain the purpose of a measure of center. 2. Obtain and interpret the mean, median, and

More information

Student Learning Objectives

Student Learning Objectives Student Learning Objectives A. Understand that the overall shape of a distribution of a large number of observations can be summarized by a smooth curve called a density curve. B. Know that an area under

More information

MAT 142 College Mathematics. Module ST. Statistics. Terri Miller revised July 14, 2015

MAT 142 College Mathematics. Module ST. Statistics. Terri Miller revised July 14, 2015 MAT 142 College Mathematics Statistics Module ST Terri Miller revised July 14, 2015 2 Statistics Data Organization and Visualization Basic Terms. A population is the set of all objects under study, a sample

More information

STP 226 ELEMENTARY STATISTICS NOTES PART 2 - DESCRIPTIVE STATISTICS CHAPTER 3 DESCRIPTIVE MEASURES

STP 226 ELEMENTARY STATISTICS NOTES PART 2 - DESCRIPTIVE STATISTICS CHAPTER 3 DESCRIPTIVE MEASURES STP 6 ELEMENTARY STATISTICS NOTES PART - DESCRIPTIVE STATISTICS CHAPTER 3 DESCRIPTIVE MEASURES Chapter covered organizing data into tables, and summarizing data with graphical displays. We will now use

More information

a. divided by the. 1) Always round!! a) Even if class width comes out to a, go up one.

a. divided by the. 1) Always round!! a) Even if class width comes out to a, go up one. Probability and Statistics Chapter 2 Notes I Section 2-1 A Steps to Constructing Frequency Distributions 1 Determine number of (may be given to you) a Should be between and classes 2 Find the Range a The

More information

15 Wyner Statistics Fall 2013

15 Wyner Statistics Fall 2013 15 Wyner Statistics Fall 2013 CHAPTER THREE: CENTRAL TENDENCY AND VARIATION Summary, Terms, and Objectives The two most important aspects of a numerical data set are its central tendencies and its variation.

More information

Lecture 6: Chapter 6 Summary

Lecture 6: Chapter 6 Summary 1 Lecture 6: Chapter 6 Summary Z-score: Is the distance of each data value from the mean in standard deviation Standardizes data values Standardization changes the mean and the standard deviation: o Z

More information

STA 570 Spring Lecture 5 Tuesday, Feb 1

STA 570 Spring Lecture 5 Tuesday, Feb 1 STA 570 Spring 2011 Lecture 5 Tuesday, Feb 1 Descriptive Statistics Summarizing Univariate Data o Standard Deviation, Empirical Rule, IQR o Boxplots Summarizing Bivariate Data o Contingency Tables o Row

More information

Assignments. Math 338 Lab 1: Introduction to R. Atoms, Vectors and Matrices

Assignments. Math 338 Lab 1: Introduction to R. Atoms, Vectors and Matrices Assignments Math 338 Lab 1: Introduction to R. Generally speaking, there are three basic forms of assigning data. Case one is the single atom or a single number. Assigning a number to an object in this

More information

Unit WorkBook 2 Level 4 ENG U2 Engineering Maths LO2 Statistical Techniques 2018 UniCourse Ltd. All Rights Reserved. Sample

Unit WorkBook 2 Level 4 ENG U2 Engineering Maths LO2 Statistical Techniques 2018 UniCourse Ltd. All Rights Reserved. Sample Pearson BTEC Levels 4 and 5 Higher Nationals in Engineering (RQF) Unit 2: Engineering Maths (core) Unit Workbook 2 in a series of 4 for this unit Learning Outcome 2 Statistical Techniques Page 1 of 37

More information

Table of Contents (As covered from textbook)

Table of Contents (As covered from textbook) Table of Contents (As covered from textbook) Ch 1 Data and Decisions Ch 2 Displaying and Describing Categorical Data Ch 3 Displaying and Describing Quantitative Data Ch 4 Correlation and Linear Regression

More information

CHAPTER 2 Modeling Distributions of Data

CHAPTER 2 Modeling Distributions of Data CHAPTER 2 Modeling Distributions of Data 2.2 Density Curves and Normal Distributions The Practice of Statistics, 5th Edition Starnes, Tabor, Yates, Moore Bedford Freeman Worth Publishers Density Curves

More information

Minitab 17 commands Prepared by Jeffrey S. Simonoff

Minitab 17 commands Prepared by Jeffrey S. Simonoff Minitab 17 commands Prepared by Jeffrey S. Simonoff Data entry and manipulation To enter data by hand, click on the Worksheet window, and enter the values in as you would in any spreadsheet. To then save

More information

Product Catalog. AcaStat. Software

Product Catalog. AcaStat. Software Product Catalog AcaStat Software AcaStat AcaStat is an inexpensive and easy-to-use data analysis tool. Easily create data files or import data from spreadsheets or delimited text files. Run crosstabulations,

More information

Week 7: The normal distribution and sample means

Week 7: The normal distribution and sample means Week 7: The normal distribution and sample means Goals Visualize properties of the normal distribution. Learning the Tools Understand the Central Limit Theorem. Calculate sampling properties of sample

More information

Chapter 2 Modeling Distributions of Data

Chapter 2 Modeling Distributions of Data Chapter 2 Modeling Distributions of Data Section 2.1 Describing Location in a Distribution Describing Location in a Distribution Learning Objectives After this section, you should be able to: FIND and

More information

September 11, Unit 2 Day 1 Notes Measures of Central Tendency.notebook

September 11, Unit 2 Day 1 Notes Measures of Central Tendency.notebook Measures of Central Tendency: Mean, Median, Mode and Midrange A Measure of Central Tendency is a value that represents a typical or central entry of a data set. Four most commonly used measures of central

More information

Acquisition Description Exploration Examination Understanding what data is collected. Characterizing properties of data.

Acquisition Description Exploration Examination Understanding what data is collected. Characterizing properties of data. Summary Statistics Acquisition Description Exploration Examination what data is collected Characterizing properties of data. Exploring the data distribution(s). Identifying data quality problems. Selecting

More information

STATS PAD USER MANUAL

STATS PAD USER MANUAL STATS PAD USER MANUAL For Version 2.0 Manual Version 2.0 1 Table of Contents Basic Navigation! 3 Settings! 7 Entering Data! 7 Sharing Data! 8 Managing Files! 10 Running Tests! 11 Interpreting Output! 11

More information

Data can be in the form of numbers, words, measurements, observations or even just descriptions of things.

Data can be in the form of numbers, words, measurements, observations or even just descriptions of things. + What is Data? Data is a collection of facts. Data can be in the form of numbers, words, measurements, observations or even just descriptions of things. In most cases, data needs to be interpreted and

More information

Name: Date: Period: Chapter 2. Section 1: Describing Location in a Distribution

Name: Date: Period: Chapter 2. Section 1: Describing Location in a Distribution Name: Date: Period: Chapter 2 Section 1: Describing Location in a Distribution Suppose you earned an 86 on a statistics quiz. The question is: should you be satisfied with this score? What if it is the

More information

Fathom Dynamic Data TM Version 2 Specifications

Fathom Dynamic Data TM Version 2 Specifications Data Sources Fathom Dynamic Data TM Version 2 Specifications Use data from one of the many sample documents that come with Fathom. Enter your own data by typing into a case table. Paste data from other

More information

Resources for statistical assistance. Quantitative covariates and regression analysis. Methods for predicting continuous outcomes.

Resources for statistical assistance. Quantitative covariates and regression analysis. Methods for predicting continuous outcomes. Resources for statistical assistance Quantitative covariates and regression analysis Carolyn Taylor Applied Statistics and Data Science Group (ASDa) Department of Statistics, UBC January 24, 2017 Department

More information

Statistics Lecture 6. Looking at data one variable

Statistics Lecture 6. Looking at data one variable Statistics 111 - Lecture 6 Looking at data one variable Chapter 1.1 Moore, McCabe and Craig Probability vs. Statistics Probability 1. We know the distribution of the random variable (Normal, Binomial)

More information

IQR = number. summary: largest. = 2. Upper half: Q3 =

IQR = number. summary: largest. = 2. Upper half: Q3 = Step by step box plot Height in centimeters of players on the 003 Women s Worldd Cup soccer team. 157 1611 163 163 164 165 165 165 168 168 168 170 170 170 171 173 173 175 180 180 Determine the 5 number

More information

Prepare a stem-and-leaf graph for the following data. In your final display, you should arrange the leaves for each stem in increasing order.

Prepare a stem-and-leaf graph for the following data. In your final display, you should arrange the leaves for each stem in increasing order. Chapter 2 2.1 Descriptive Statistics A stem-and-leaf graph, also called a stemplot, allows for a nice overview of quantitative data without losing information on individual observations. It can be a good

More information

Section 10.4 Normal Distributions

Section 10.4 Normal Distributions Section 10.4 Normal Distributions Random Variables Suppose a bank is interested in improving its services to customers. The manager decides to begin by finding the amount of time tellers spend on each

More information

No. of blue jelly beans No. of bags

No. of blue jelly beans No. of bags Math 167 Ch5 Review 1 (c) Janice Epstein CHAPTER 5 EXPLORING DATA DISTRIBUTIONS A sample of jelly bean bags is chosen and the number of blue jelly beans in each bag is counted. The results are shown in

More information

Chapter 3: Describing, Exploring & Comparing Data

Chapter 3: Describing, Exploring & Comparing Data Chapter 3: Describing, Exploring & Comparing Data Section Title Notes Pages 1 Overview 1 2 Measures of Center 2 5 3 Measures of Variation 6 12 4 Measures of Relative Standing & Boxplots 13 16 3.1 Overview

More information

Genotype x Environmental Analysis with R for Windows

Genotype x Environmental Analysis with R for Windows Genotype x Environmental Analysis with R for Windows Biometrics and Statistics Unit Angela Pacheco CIMMYT,Int. 23-24 Junio 2015 About GEI In agricultural experimentation, a large number of genotypes are

More information

CHAPTER 1. Introduction. Statistics: Statistics is the science of collecting, organizing, analyzing, presenting and interpreting data.

CHAPTER 1. Introduction. Statistics: Statistics is the science of collecting, organizing, analyzing, presenting and interpreting data. 1 CHAPTER 1 Introduction Statistics: Statistics is the science of collecting, organizing, analyzing, presenting and interpreting data. Variable: Any characteristic of a person or thing that can be expressed

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

Normal Curves and Sampling Distributions

Normal Curves and Sampling Distributions Normal Curves and Sampling Distributions 6 Copyright Cengage Learning. All rights reserved. Section 6.2 Standard Units and Areas Under the Standard Normal Distribution Copyright Cengage Learning. All rights

More information

R Programming Basics - Useful Builtin Functions for Statistics

R Programming Basics - Useful Builtin Functions for Statistics R Programming Basics - Useful Builtin Functions for Statistics Vectorized Arithmetic - most arthimetic operations in R work on vectors. Here are a few commonly used summary statistics. testvect = c(1,3,5,2,9,10,7,8,6)

More information

IAT 355 Visual Analytics. Data and Statistical Models. Lyn Bartram

IAT 355 Visual Analytics. Data and Statistical Models. Lyn Bartram IAT 355 Visual Analytics Data and Statistical Models Lyn Bartram Exploring data Example: US Census People # of people in group Year # 1850 2000 (every decade) Age # 0 90+ Sex (Gender) # Male, female Marital

More information

Econ 3790: Business and Economics Statistics. Instructor: Yogesh Uppal

Econ 3790: Business and Economics Statistics. Instructor: Yogesh Uppal Econ 3790: Business and Economics Statistics Instructor: Yogesh Uppal Email: yuppal@ysu.edu Chapter 8: Interval Estimation Population Mean: Known Population Mean: Unknown Margin of Error and the Interval

More information

ECLT 5810 Data Preprocessing. Prof. Wai Lam

ECLT 5810 Data Preprocessing. Prof. Wai Lam ECLT 5810 Data Preprocessing Prof. Wai Lam Why Data Preprocessing? Data in the real world is imperfect incomplete: lacking attribute values, lacking certain attributes of interest, or containing only aggregate

More information

BAYESIAN STATISTIC COURSE. Valencia, 28 th January - 1 st February 2013 COMPUTER LAB NOTES. Agustín Blasco

BAYESIAN STATISTIC COURSE. Valencia, 28 th January - 1 st February 2013 COMPUTER LAB NOTES. Agustín Blasco BAYESIAN STATISTIC COURSE Valencia, 28 th January - st February 203 COMPUTER LAB NOTES Agustín Blasco 2 AN INTRODUCTION TO BAYESIAN ANALYSIS AND MCMC Computer Lab Notes Agustín Blasco Departamento de Ciencia

More information

QUESTION PORTOFOLIO FOR THE GRID TEST MVE

QUESTION PORTOFOLIO FOR THE GRID TEST MVE 1*Which of the following rules is not recommended when writing of a text in Microsoft Word: 0. Typing a space after a common punctuation mark; 1. Typing a space before a common punctuation mark; 2. Typing

More information

R practice. Eric Gilleland. 20th May 2015

R practice. Eric Gilleland. 20th May 2015 R practice Eric Gilleland 20th May 2015 1 Preliminaries 1. The data set RedRiverPortRoyalTN.dat can be obtained from http://www.ral.ucar.edu/staff/ericg. Read these data into R using the read.table function

More information

Descriptive Statistics, Standard Deviation and Standard Error

Descriptive Statistics, Standard Deviation and Standard Error AP Biology Calculations: Descriptive Statistics, Standard Deviation and Standard Error SBI4UP The Scientific Method & Experimental Design Scientific method is used to explore observations and answer questions.

More information

Multivariate Normal Random Numbers

Multivariate Normal Random Numbers Multivariate Normal Random Numbers Revised: 10/11/2017 Summary... 1 Data Input... 3 Analysis Options... 4 Analysis Summary... 5 Matrix Plot... 6 Save Results... 8 Calculations... 9 Summary This procedure

More information

MACAU User Manual. Xiang Zhou. March 15, 2017

MACAU User Manual. Xiang Zhou. March 15, 2017 MACAU User Manual Xiang Zhou March 15, 2017 Contents 1 Introduction 2 1.1 What is MACAU...................................... 2 1.2 How to Cite MACAU................................... 2 1.3 The Model.........................................

More information

Stat 528 (Autumn 2008) Density Curves and the Normal Distribution. Measures of center and spread. Features of the normal distribution

Stat 528 (Autumn 2008) Density Curves and the Normal Distribution. Measures of center and spread. Features of the normal distribution Stat 528 (Autumn 2008) Density Curves and the Normal Distribution Reading: Section 1.3 Density curves An example: GRE scores Measures of center and spread The normal distribution Features of the normal

More information

DATA ANALYSIS USING HIERARCHICAL GENERALIZED LINEAR MODELS WITH R

DATA ANALYSIS USING HIERARCHICAL GENERALIZED LINEAR MODELS WITH R DATA ANALYSIS USING HIERARCHICAL GENERALIZED LINEAR MODELS WITH R Lee, Rönnegård & Noh LRN@du.se Lee, Rönnegård & Noh HGLM book 1 / 24 Overview 1 Background to the book 2 Crack growth example 3 Contents

More information

WELCOME! Lecture 3 Thommy Perlinger

WELCOME! Lecture 3 Thommy Perlinger Quantitative Methods II WELCOME! Lecture 3 Thommy Perlinger Program Lecture 3 Cleaning and transforming data Graphical examination of the data Missing Values Graphical examination of the data It is important

More information

The first few questions on this worksheet will deal with measures of central tendency. These data types tell us where the center of the data set lies.

The first few questions on this worksheet will deal with measures of central tendency. These data types tell us where the center of the data set lies. Instructions: You are given the following data below these instructions. Your client (Courtney) wants you to statistically analyze the data to help her reach conclusions about how well she is teaching.

More information

Math 227 EXCEL / MEGASTAT Guide

Math 227 EXCEL / MEGASTAT Guide Math 227 EXCEL / MEGASTAT Guide Introduction Introduction: Ch2: Frequency Distributions and Graphs Construct Frequency Distributions and various types of graphs: Histograms, Polygons, Pie Charts, Stem-and-Leaf

More information

VIII/2015 TECHNICAL REFERENCE GUIDE FOR

VIII/2015 TECHNICAL REFERENCE GUIDE FOR MiX99 Solving Large Mixed Model Equations Release VIII/2015 TECHNICAL REFERENCE GUIDE FOR MiX99 PRE-PROCESSOR Copyright 2015 Last update: Aug 2015 Preface Development of MiX99 was initiated to allow more

More information

MS data processing. Filtering and correcting data. W4M Core Team. 22/09/2015 v 1.0.0

MS data processing. Filtering and correcting data. W4M Core Team. 22/09/2015 v 1.0.0 MS data processing Filtering and correcting data W4M Core Team 22/09/2015 v 1.0.0 Presentation map 1) Processing the data W4M table format for Galaxy 2) Filters for mass spectrometry extracted data a)

More information

Regression Analysis and Linear Regression Models

Regression Analysis and Linear Regression Models Regression Analysis and Linear Regression Models University of Trento - FBK 2 March, 2015 (UNITN-FBK) Regression Analysis and Linear Regression Models 2 March, 2015 1 / 33 Relationship between numerical

More information

L E A R N I N G O B JE C T I V E S

L E A R N I N G O B JE C T I V E S 2.2 Measures of Central Location L E A R N I N G O B JE C T I V E S 1. To learn the concept of the center of a data set. 2. To learn the meaning of each of three measures of the center of a data set the

More information

DSC 201: Data Analysis & Visualization

DSC 201: Data Analysis & Visualization DSC 201: Data Analysis & Visualization Exploratory Data Analysis Dr. David Koop What is Exploratory Data Analysis? "Detective work" to summarize and explore datasets Includes: - Data acquisition and input

More information

UPDATING POCKET DAIRY (Existing Users only) Updating PCDART to version Please read all directions before proceeding.

UPDATING POCKET DAIRY (Existing Users only) Updating PCDART to version Please read all directions before proceeding. Updating PCDART to version 7.15.0 Please read all directions before proceeding. If you use PocketDairy for Android, PPC and/or Palm: Sync your handheld with PCDART to save any current information prior

More information

Statistical Analysis of Metabolomics Data. Xiuxia Du Department of Bioinformatics & Genomics University of North Carolina at Charlotte

Statistical Analysis of Metabolomics Data. Xiuxia Du Department of Bioinformatics & Genomics University of North Carolina at Charlotte Statistical Analysis of Metabolomics Data Xiuxia Du Department of Bioinformatics & Genomics University of North Carolina at Charlotte Outline Introduction Data pre-treatment 1. Normalization 2. Centering,

More information

Things you ll know (or know better to watch out for!) when you leave in December: 1. What you can and cannot infer from graphs.

Things you ll know (or know better to watch out for!) when you leave in December: 1. What you can and cannot infer from graphs. 1 2 Things you ll know (or know better to watch out for!) when you leave in December: 1. What you can and cannot infer from graphs. 2. How to construct (in your head!) and interpret confidence intervals.

More information

2) familiarize you with a variety of comparative statistics biologists use to evaluate results of experiments;

2) familiarize you with a variety of comparative statistics biologists use to evaluate results of experiments; A. Goals of Exercise Biology 164 Laboratory Using Comparative Statistics in Biology "Statistics" is a mathematical tool for analyzing and making generalizations about a population from a number of individual

More information

Chapter 6. The Normal Distribution. McGraw-Hill, Bluman, 7 th ed., Chapter 6 1

Chapter 6. The Normal Distribution. McGraw-Hill, Bluman, 7 th ed., Chapter 6 1 Chapter 6 The Normal Distribution McGraw-Hill, Bluman, 7 th ed., Chapter 6 1 Bluman, Chapter 6 2 Chapter 6 Overview Introduction 6-1 Normal Distributions 6-2 Applications of the Normal Distribution 6-3

More information

Table Of Contents. Table Of Contents

Table Of Contents. Table Of Contents Statistics Table Of Contents Table Of Contents Basic Statistics... 7 Basic Statistics Overview... 7 Descriptive Statistics Available for Display or Storage... 8 Display Descriptive Statistics... 9 Store

More information

STA Module 2B Organizing Data and Comparing Distributions (Part II)

STA Module 2B Organizing Data and Comparing Distributions (Part II) STA 2023 Module 2B Organizing Data and Comparing Distributions (Part II) Learning Objectives Upon completing this module, you should be able to 1 Explain the purpose of a measure of center 2 Obtain and

More information

STA Learning Objectives. Learning Objectives (cont.) Module 2B Organizing Data and Comparing Distributions (Part II)

STA Learning Objectives. Learning Objectives (cont.) Module 2B Organizing Data and Comparing Distributions (Part II) STA 2023 Module 2B Organizing Data and Comparing Distributions (Part II) Learning Objectives Upon completing this module, you should be able to 1 Explain the purpose of a measure of center 2 Obtain and

More information

Statistical Methods. Instructor: Lingsong Zhang. Any questions, ask me during the office hour, or me, I will answer promptly.

Statistical Methods. Instructor: Lingsong Zhang. Any questions, ask me during the office hour, or  me, I will answer promptly. Statistical Methods Instructor: Lingsong Zhang 1 Issues before Class Statistical Methods Lingsong Zhang Office: Math 544 Email: lingsong@purdue.edu Phone: 765-494-7913 Office Hour: Monday 1:00 pm - 2:00

More information

Averages and Variation

Averages and Variation Averages and Variation 3 Copyright Cengage Learning. All rights reserved. 3.1-1 Section 3.1 Measures of Central Tendency: Mode, Median, and Mean Copyright Cengage Learning. All rights reserved. 3.1-2 Focus

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

Confidence Intervals. Dennis Sun Data 301

Confidence Intervals. Dennis Sun Data 301 Dennis Sun Data 301 Statistical Inference probability Population / Box Sample / Data statistics The goal of statistics is to infer the unknown population from the sample. We ve already seen one mode of

More information

SPSS Basics for Probability Distributions

SPSS Basics for Probability Distributions Built-in Statistical Functions in SPSS Begin by defining some variables in the Variable View of a data file, save this file as Probability_Distributions.sav and save the corresponding output file as Probability_Distributions.spo.

More information

Vocabulary. 5-number summary Rule. Area principle. Bar chart. Boxplot. Categorical data condition. Categorical variable.

Vocabulary. 5-number summary Rule. Area principle. Bar chart. Boxplot. Categorical data condition. Categorical variable. 5-number summary 68-95-99.7 Rule Area principle Bar chart Bimodal Boxplot Case Categorical data Categorical variable Center Changing center and spread Conditional distribution Context Contingency table

More information

STAT STATISTICAL METHODS. Statistics: The science of using data to make decisions and draw conclusions

STAT STATISTICAL METHODS. Statistics: The science of using data to make decisions and draw conclusions STAT 515 --- STATISTICAL METHODS Statistics: The science of using data to make decisions and draw conclusions Two branches: Descriptive Statistics: The collection and presentation (through graphical and

More information

1 RefresheR. Figure 1.1: Soy ice cream flavor preferences

1 RefresheR. Figure 1.1: Soy ice cream flavor preferences 1 RefresheR Figure 1.1: Soy ice cream flavor preferences 2 The Shape of Data Figure 2.1: Frequency distribution of number of carburetors in mtcars dataset Figure 2.2: Daily temperature measurements from

More information

Step-by-Step Guide to Advanced Genetic Analysis

Step-by-Step Guide to Advanced Genetic Analysis Step-by-Step Guide to Advanced Genetic Analysis Page 1 Introduction In the previous document, 1 we covered the standard genetic analyses available in JMP Genomics. Here, we cover the more advanced options

More information

The Power and Sample Size Application

The Power and Sample Size Application Chapter 72 The Power and Sample Size Application Contents Overview: PSS Application.................................. 6148 SAS Power and Sample Size............................... 6148 Getting Started:

More information

Quantitative - One Population

Quantitative - One Population Quantitative - One Population The Quantitative One Population VISA procedures allow the user to perform descriptive and inferential procedures for problems involving one population with quantitative (interval)

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

Generalized least squares (GLS) estimates of the level-2 coefficients,

Generalized least squares (GLS) estimates of the level-2 coefficients, Contents 1 Conceptual and Statistical Background for Two-Level Models...7 1.1 The general two-level model... 7 1.1.1 Level-1 model... 8 1.1.2 Level-2 model... 8 1.2 Parameter estimation... 9 1.3 Empirical

More information

Data processing. Filters and normalisation. Mélanie Pétéra W4M Core Team 31/05/2017 v 1.0.0

Data processing. Filters and normalisation. Mélanie Pétéra W4M Core Team 31/05/2017 v 1.0.0 Data processing Filters and normalisation Mélanie Pétéra W4M Core Team 31/05/2017 v 1.0.0 Presentation map 1) Processing the data W4M table format for Galaxy 2) A generic tool to filter in Galaxy a) Generic

More information

8. MINITAB COMMANDS WEEK-BY-WEEK

8. MINITAB COMMANDS WEEK-BY-WEEK 8. MINITAB COMMANDS WEEK-BY-WEEK In this section of the Study Guide, we give brief information about the Minitab commands that are needed to apply the statistical methods in each week s study. They are

More information

The Bootstrap and Jackknife

The Bootstrap and Jackknife The Bootstrap and Jackknife Summer 2017 Summer Institutes 249 Bootstrap & Jackknife Motivation In scientific research Interest often focuses upon the estimation of some unknown parameter, θ. The parameter

More information

EXST 7014, Lab 1: Review of R Programming Basics and Simple Linear Regression

EXST 7014, Lab 1: Review of R Programming Basics and Simple Linear Regression EXST 7014, Lab 1: Review of R Programming Basics and Simple Linear Regression OBJECTIVES 1. Prepare a scatter plot of the dependent variable on the independent variable 2. Do a simple linear regression

More information

Getting started with simulating data in R: some helpful functions and how to use them Ariel Muldoon August 28, 2018

Getting started with simulating data in R: some helpful functions and how to use them Ariel Muldoon August 28, 2018 Getting started with simulating data in R: some helpful functions and how to use them Ariel Muldoon August 28, 2018 Contents Overview 2 Generating random numbers 2 rnorm() to generate random numbers from

More information

Chapter 2. Descriptive Statistics: Organizing, Displaying and Summarizing Data

Chapter 2. Descriptive Statistics: Organizing, Displaying and Summarizing Data Chapter 2 Descriptive Statistics: Organizing, Displaying and Summarizing Data Objectives Student should be able to Organize data Tabulate data into frequency/relative frequency tables Display data graphically

More information

Chapter 2 Describing, Exploring, and Comparing Data

Chapter 2 Describing, Exploring, and Comparing Data Slide 1 Chapter 2 Describing, Exploring, and Comparing Data Slide 2 2-1 Overview 2-2 Frequency Distributions 2-3 Visualizing Data 2-4 Measures of Center 2-5 Measures of Variation 2-6 Measures of Relative

More information

MAT 110 WORKSHOP. Updated Fall 2018

MAT 110 WORKSHOP. Updated Fall 2018 MAT 110 WORKSHOP Updated Fall 2018 UNIT 3: STATISTICS Introduction Choosing a Sample Simple Random Sample: a set of individuals from the population chosen in a way that every individual has an equal chance

More information

appstats6.notebook September 27, 2016

appstats6.notebook September 27, 2016 Chapter 6 The Standard Deviation as a Ruler and the Normal Model Objectives: 1.Students will calculate and interpret z scores. 2.Students will compare/contrast values from different distributions using

More information

The Normal Distribution

The Normal Distribution The Normal Distribution Lecture 20 Section 6.3.1 Robb T. Koether Hampden-Sydney College Wed, Sep 28, 2011 Robb T. Koether (Hampden-Sydney College) The Normal Distribution Wed, Sep 28, 2011 1 / 41 Outline

More information

Using Internet Solutions

Using Internet Solutions Using Internet Solutions 1. Introduction Internet Solutions is the title given to an extensive range of web based services that have been developed by the Agricultural Business Research Institute (ABRI)

More information

Chapter 3. Descriptive Measures. Slide 3-2. Copyright 2012, 2008, 2005 Pearson Education, Inc.

Chapter 3. Descriptive Measures. Slide 3-2. Copyright 2012, 2008, 2005 Pearson Education, Inc. Chapter 3 Descriptive Measures Slide 3-2 Section 3.1 Measures of Center Slide 3-3 Definition 3.1 Mean of a Data Set The mean of a data set is the sum of the observations divided by the number of observations.

More information

Excel 2010 with XLSTAT

Excel 2010 with XLSTAT Excel 2010 with XLSTAT J E N N I F E R LE W I S PR I E S T L E Y, PH.D. Introduction to Excel 2010 with XLSTAT The layout for Excel 2010 is slightly different from the layout for Excel 2007. However, with

More information

Selected Introductory Statistical and Data Manipulation Procedures. Gordon & Johnson 2002 Minitab version 13.

Selected Introductory Statistical and Data Manipulation Procedures. Gordon & Johnson 2002 Minitab version 13. Minitab@Oneonta.Manual: Selected Introductory Statistical and Data Manipulation Procedures Gordon & Johnson 2002 Minitab version 13.0 Minitab@Oneonta.Manual: Selected Introductory Statistical and Data

More information

UNIT 1A EXPLORING UNIVARIATE DATA

UNIT 1A EXPLORING UNIVARIATE DATA A.P. STATISTICS E. Villarreal Lincoln HS Math Department UNIT 1A EXPLORING UNIVARIATE DATA LESSON 1: TYPES OF DATA Here is a list of important terms that we must understand as we begin our study of statistics

More information

To calculate the arithmetic mean, sum all the values and divide by n (equivalently, multiple 1/n): 1 n. = 29 years.

To calculate the arithmetic mean, sum all the values and divide by n (equivalently, multiple 1/n): 1 n. = 29 years. 3: Summary Statistics Notation Consider these 10 ages (in years): 1 4 5 11 30 50 8 7 4 5 The symbol n represents the sample size (n = 10). The capital letter X denotes the variable. x i represents the

More information

USER MANUAL. Software developed by Holstein Association USA, Inc. User Manual 1

USER MANUAL. Software developed by Holstein Association USA, Inc. User Manual 1 USER MANUAL Software developed by Holstein Association USA, Inc. User Manual 1 1) Introduction Minimum installation requirements Installation Instructions Getting Started 2) Looking up an Individual Bull

More information

And the benefits are immediate minimal changes to the interface allow you and your teams to access these

And the benefits are immediate minimal changes to the interface allow you and your teams to access these Find Out What s New >> With nearly 50 enhancements that increase functionality and ease-of-use, Minitab 15 has something for everyone. And the benefits are immediate minimal changes to the interface allow

More information

Animal ID Entry 4HOnline HelpSheet

Animal ID Entry 4HOnline HelpSheet Log in to 4HOnline: Open a web browser and type in: https://iowa.4honline.com On the Iowa 4-H Youth Development Log In page: 1. Click "I have a Profile." 2. Enter family email address provided to Extension

More information

MATH 1070 Introductory Statistics Lecture notes Descriptive Statistics and Graphical Representation

MATH 1070 Introductory Statistics Lecture notes Descriptive Statistics and Graphical Representation MATH 1070 Introductory Statistics Lecture notes Descriptive Statistics and Graphical Representation Objectives: 1. Learn the meaning of descriptive versus inferential statistics 2. Identify bar graphs,

More information

Bluman & Mayer, Elementary Statistics, A Step by Step Approach, Canadian Edition

Bluman & Mayer, Elementary Statistics, A Step by Step Approach, Canadian Edition Bluman & Mayer, Elementary Statistics, A Step by Step Approach, Canadian Edition Online Learning Centre Technology Step-by-Step - Minitab Minitab is a statistical software application originally created

More information

Age & Stage Structure: Elephant Model

Age & Stage Structure: Elephant Model POPULATION MODELS Age & Stage Structure: Elephant Model Terri Donovan recorded: January, 2010 Today we're going to be building an age-structured model for the elephant population. And this will be the

More information

Chapters 5-6: Statistical Inference Methods

Chapters 5-6: Statistical Inference Methods Chapters 5-6: Statistical Inference Methods Chapter 5: Estimation (of population parameters) Ex. Based on GSS data, we re 95% confident that the population mean of the variable LONELY (no. of days in past

More information

+ Statistical Methods in

+ Statistical Methods in 9/4/013 Statistical Methods in Practice STA/MTH 379 Dr. A. B. W. Manage Associate Professor of Mathematics & Statistics Department of Mathematics & Statistics Sam Houston State University Discovering Statistics

More information

Learner Expectations UNIT 1: GRAPICAL AND NUMERIC REPRESENTATIONS OF DATA. Sept. Fathom Lab: Distributions and Best Methods of Display

Learner Expectations UNIT 1: GRAPICAL AND NUMERIC REPRESENTATIONS OF DATA. Sept. Fathom Lab: Distributions and Best Methods of Display CURRICULUM MAP TEMPLATE Priority Standards = Approximately 70% Supporting Standards = Approximately 20% Additional Standards = Approximately 10% HONORS PROBABILITY AND STATISTICS Essential Questions &

More information