STATISTICAL LABORATORY, April 30th, 2010 BIVARIATE PROBABILITY DISTRIBUTIONS

Size: px
Start display at page:

Download "STATISTICAL LABORATORY, April 30th, 2010 BIVARIATE PROBABILITY DISTRIBUTIONS"

Transcription

1 STATISTICAL LABORATORY, April 3th, 21 BIVARIATE PROBABILITY DISTRIBUTIONS Mario Romanazzi 1 MULTINOMIAL DISTRIBUTION Ex1 Three players play 1 independent rounds of a game, and each player has probability 1/3 of winning each round. 1) Find the joint distribution of the numbers of games won by each of the three players. 2) What are the probabilities of the following events: X 1 = X 2 = 5, X 1 = X 2 = 3? (Rice, 3.3) 1. Denote with X i, i = 1, 2, 3 the number of games won by the i-th player. The joint distribution of (X 1, X 2, X 3 ) is multinomial with parameters n = 1 (number of independent trials) and success probabilities p 1 = p 2 = p 3 = 1/3. The probability function is P (X 1 = x 1, X 2 = x 2, X 3 = x 3 ) = where x i satisfies the constraints x i 1, i = 1, We use R to answer the questions. 1! x 1!x 2!(1 x 1 x 2 )! (1/3)x 1 (1/3) x 2 (1/3) 1 x 1 x 2, > dmultinom(x = c(5, 5, ), size = 1, prob = rep(1/3, 3)) [1] > dmultinom(x = c(3, 3, 4), size = 1, prob = rep(1/3, 3)) [1] Ex2 Three cards are drawn at random and with replacement from the box containing 2 cards, each card with the name of a different italian region. Recall that there are 8 northern regions (N), 4 central regions (C) and 8 southern regions (S). Let (X N, X C, X S ) denote the joint distribution of the number of regions of the three areas. 1) What is the probability of no southern regions? one region from each area? 2) Describe the probability distribution X C X N = 1. 1

2 2 GENERAL BIVARIATE CONTINUOUS DISTRIBUTIONS 2 1. and P (X S = ) = P (X N = X C = X S = 1) = 3! = This is a Binomial distribution: X C X N = 1 Bi(2, 1/3), whose determinations are, 1, 2 with probabilities 4/9, 4/9, 1/9. 2 GENERAL BIVARIATE CONTINUOUS DISTRI- BUTIONS Ex1 A bivariate density function is defined as follows { 4x(1 y), x 1 y 1, f X,Y (x, y) =, elsewhere. 1) What are the marginal distributions? Are they uniform? 2) Are X and Y stochastically independent? 3) Compute the joint cdf values at the points (2, 1/2), ( 1/2, 1/2), (1/2, 1/2). 1. Marginal densities are obtained by integrating out the other variable. f X (x) = f Y (y) = f X,Y (x, y)dy = 4x f X,Y (x, y)dx = 4(1 y) (1 y)dy = 2x, x 1 and elsewhere, xdx = 2(1 y), y 1 and elsewhere. The marginal distributions are not uniform, because neither density is constant. 2. X and Y are stochastically independent because the joint density is identically equal to the product of the marginal densities: for all pairs of real numbers f X,Y (x, y) = f X (x)f Y (y). 3. Note that stochastic independence implies F X,Y (x, y) = F X (x)f Y (y), where F X and F Y are the marginal cdf s. Therefore F X,Y (2, 1/2) = F X (2)F Y (1/2) = F Y (1/2) = 2 F X,Y ( 1/2, 1/2) = F X ( 1/2)F Y (1/2) =, /2 F X,Y (1/2, 1/2) = F X (1/2)F Y (1/2) = (3/4)F X (1/2) = (3/2) 2(1 y)dy = 3/4, /2 xdx = 3/16.

3 2 GENERAL BIVARIATE CONTINUOUS DISTRIBUTIONS 3 Ex2 A bivariate density function is defined as follows { x + y, x 1 y 1, f X,Y (x, y) =, elsewhere. 1) Describe the contours of the bivariate density. 2) Derive the marginal distributions. Are X and Y stochastically independent? 3) Compute the joint cdf value at the point (1/2, 1/2). 4) Obtain the conditional densities of Y X = x, X Y = y. 1. Observe that the joint pdf varies between (at the point, ) and 2 (at the point 1, 1). The contours are the subsets of the unit square Q with a constant value c 2 of the density, that is (x, y) Q : x + y = c. Therefore, the contours are parallel segments, more precisely, they are the intersections of the parallel lines x + y = c with Q. The figure below shows the plots of the contours and of the bivariate density. The corresponding R code is > f <- function(x, y) x + y > x <- seq(, 1, length = 5) > y <- seq(, 1, length = 5) > z <- outer(x, y, f) > contour(x, y, z, col = "black", lty = "solid", asp = 1, lwd = 2, + xlab = "X", ylab = "Y", main = "Contours of f(x,y) = x+y") > persp(x, y, z, theta = 3, phi = 3, expand =.5, col = "lightblue", + ltheta = 12, shade =.75, ticktype = "detailed", xlab = "X", + ylab = "Y", zlab = "Density", main = "Plot of f(x,y) = x+y") 2. Marginal pdf s are f X (x) = f Y (y) = f X,Y (x, y)dy = f X,Y (x, y)dx = Here, independence test fails because clearly 3. The joint cdf is (x + y)dy = x + 1/2, x 1 and elsewhere, (x + y)dx = y + 1/2, y 1 and elsewhere. f X,Y (x, y) = x + y (x + 1/2)(y + 1/2) = f X (x)f Y (y). F X,Y (x, y) = Hence, F X,Y (1/2, 1/2) = 1/8., x ory, xy(x + y)/2, x 1 y 1, x(x + 1)/2, x 1 y 1, y(y + 1)/2, y 1 x 1, 1, x 1 y 1.

4 3 BIVARIATE NORMAL DISTRIBUTION 4 Contours of f(x,y) = x+y Plot of f(x,y) = x+y Y Density X Y X 4. We use the definition of conditional density. For any fixed x 1, f Y X=x (y) = f X,Y (x, y) f X (x ) Similarly, for any fixed y 1, f X Y =y (y) = f X,Y (x, y ) f Y (y ) = x + y, y 1 and elsewhere. x + 1/2 = x + y, x 1 and elsewhere. y + 1/2 3 BIVARIATE NORMAL DISTRIBUTION Ex1 X and Y have a bivariate normal distribution with parameters µ X = 5, µ Y = 1, σ X = 1, σ Y = 5 and ρ >. It is also known that What is the value of ρ? P (4 < Y < 16 X = 5) =.954. What is required is the conditional distribution Y X = 5. From the general properties of the bivariate normal distribution, Y X = x is a univariate normal distribution with mean function (regression function) µ Y X (x) = µ Y + ρ σ Y σ X (x µ X ) and standard deviation (not dependent on x) σ Y X = σ Y (1 ρ 2 ) 1/2.

5 3 BIVARIATE NORMAL DISTRIBUTION 5 In the present case, replacing known parameters and x = 5, gives Now, µ Y X (5) = µ Y = 1, σ Y X = 5(1 ρ 2 ) 1/2. P (4 < Y < 16 X = 5) = F Y X=5 (16) F Y X=5 (4) = F XST (/(1 ρ 2 ) 1/2 ) F XST ( /(1 ρ 2 ) 1/2 ) = 2F XST (/(1 ρ 2 ) 1 where F XST is the cdf of the standard normal distribution. The previous equation holds iff F XST (/(1 ρ 2 ) 1/2 ) =.977, and the solution is the quantile of the standard normal distribution of the order p =.977, that is ) = (1 ρ 2 x(st ) 1/ We use R to obtain a very precise value of x (ST ).977. > qnorm(.977, mean =, sd = 1) [1] The value of ρ is the solution of the equation that is, ρ.799. = , (1 ρ 2 ) 1/2 Ex2 X and Y have a bivariate normal distribution with parameters µ X = 2, µ Y = 4, σ X = 3, σ Y = 2 and ρ =.6. What is shortest interval for Y X = 22 containing 9% of the probability? Y X = 22 has a normal distribution with parameters µ Y X (22) = 4.8, σ Y X = 1.6. As we know, the endpoints of the shortest interval with 9% probability are the quantiles of the orders.5 and.95, respectively. > qnorm(c(.5,.95), mean = 4.8, sd = 1.6) [1]

Lecture 8: Jointly distributed random variables

Lecture 8: Jointly distributed random variables Lecture : Jointly distributed random variables Random Vectors and Joint Probability Distributions Definition: Random Vector. An n-dimensional random vector, denoted as Z = (Z, Z,, Z n ), is a function

More information

Joint probability distributions

Joint probability distributions Joint probability distributions Let X and Y be two discrete rv s defined on the sample space S. The joint probability mass function p(x, y) is p(x, y) = P(X = x, Y = y). Note p(x, y) and x y p(x, y) =

More information

This is a good time to refresh your memory on double-integration. We will be using this skill in the upcoming lectures.

This is a good time to refresh your memory on double-integration. We will be using this skill in the upcoming lectures. Chapter 5: JOINT PROBABILITY DISTRIBUTIONS Part 1: Sections 5-1.1 to 5-1.4 For both discrete and continuous random variables we will discuss the following... Joint Distributions (for two or more r.v. s)

More information

Today s outline: pp

Today s outline: pp Chapter 3 sections We will SKIP a number of sections Random variables and discrete distributions Continuous distributions The cumulative distribution function Bivariate distributions Marginal distributions

More information

Exam 2 is Tue Nov 21. Bring a pencil and a calculator. Discuss similarity to exam1. HW3 is due Tue Dec 5.

Exam 2 is Tue Nov 21. Bring a pencil and a calculator. Discuss similarity to exam1. HW3 is due Tue Dec 5. Stat 100a: Introduction to Probability. Outline for the day 1. Bivariate and marginal density. 2. CLT. 3. CIs. 4. Sample size calculations. 5. Review for exam 2. Exam 2 is Tue Nov 21. Bring a pencil and

More information

Multivariate probability distributions

Multivariate probability distributions Multivariate probability distributions September, 07 STAT 0 Class Slide Outline of Topics Background Discrete bivariate distribution 3 Continuous bivariate distribution STAT 0 Class Slide Multivariate

More information

Package simed. November 27, 2017

Package simed. November 27, 2017 Version 1.0.3 Title Simulation Education Author Barry Lawson, Larry Leemis Package simed November 27, 2017 Maintainer Barry Lawson Imports graphics, grdevices, methods, stats, utils

More information

Chapter 5: Joint Probability Distributions and Random

Chapter 5: Joint Probability Distributions and Random Chapter 5: Joint Probability Distributions and Random Samples Curtis Miller 2018-06-13 Introduction We may naturally inquire about collections of random variables that are related to each other in some

More information

An Introduction to R Graphics with examples

An Introduction to R Graphics with examples An Introduction to R Graphics with examples Feng Li November 18, 2008 1 R graphics system A picture is worth a thousand words! The R graphics system can be broken into four distinct levels: graphics packages;

More information

Probability Model for 2 RV s

Probability Model for 2 RV s Probability Model for 2 RV s The joint probability mass function of X and Y is P X,Y (x, y) = P [X = x, Y= y] Joint PMF is a rule that for any x and y, gives the probability that X = x and Y= y. 3 Example:

More information

A Handbook of Statistical Analyses Using R. Brian S. Everitt and Torsten Hothorn

A Handbook of Statistical Analyses Using R. Brian S. Everitt and Torsten Hothorn A Handbook of Statistical Analyses Using R Brian S. Everitt and Torsten Hothorn CHAPTER 7 Density Estimation: Erupting Geysers and Star Clusters 7.1 Introduction 7.2 Density Estimation The three kernel

More information

Recursive Estimation

Recursive Estimation Recursive Estimation Raffaello D Andrea Spring 28 Problem Set : Probability Review Last updated: March 6, 28 Notes: Notation: Unless otherwise noted, x, y, and z denote random variables, p x denotes the

More information

The nor1mix Package. August 3, 2006

The nor1mix Package. August 3, 2006 The nor1mix Package August 3, 2006 Title Normal (1-d) Mixture Models (S3 Classes and Methods) Version 1.0-6 Date 2006-08-02 Author: Martin Mächler Maintainer Martin Maechler

More information

Page 129 Exercise 5: Suppose that the joint p.d.f. of two random variables X and Y is as follows: { c(x. 0 otherwise. ( 1 = c. = c

Page 129 Exercise 5: Suppose that the joint p.d.f. of two random variables X and Y is as follows: { c(x. 0 otherwise. ( 1 = c. = c Stat Solutions for Homework Set Page 9 Exercise : Suppose that the joint p.d.f. of two random variables X and Y is as follows: { cx fx, y + y for y x, < x < otherwise. Determine a the value of the constant

More information

Will Monroe July 21, with materials by Mehran Sahami and Chris Piech. Joint Distributions

Will Monroe July 21, with materials by Mehran Sahami and Chris Piech. Joint Distributions Will Monroe July 1, 017 with materials by Mehran Sahami and Chris Piech Joint Distributions Review: Normal random variable An normal (= Gaussian) random variable is a good approximation to many other distributions.

More information

The nor1mix Package. June 12, 2007

The nor1mix Package. June 12, 2007 The nor1mix Package June 12, 2007 Title Normal (1-d) Mixture Models (S3 Classes and Methods) Version 1.0-7 Date 2007-03-15 Author Martin Mächler Maintainer Martin Maechler

More information

CHAPTER 2: Describing Location in a Distribution

CHAPTER 2: Describing Location in a Distribution CHAPTER 2: Describing Location in a Distribution 2.1 Goals: 1. Compute and use z-scores given the mean and sd 2. Compute and use the p th percentile of an observation 3. Intro to density curves 4. More

More information

Pairs of a random variable

Pairs of a random variable Handout 8 Pairs of a random variable "Always be a little improbable." Oscar Wilde in the previous tutorials we analyzed experiments in which an outcome is one number. we'll start to analyze experiments

More information

R Graphics. Feng Li School of Statistics and Mathematics Central University of Finance and Economics

R Graphics. Feng Li School of Statistics and Mathematics Central University of Finance and Economics R Graphics Feng Li feng.li@cufe.edu.cn School of Statistics and Mathematics Central University of Finance and Economics Revised on June 2, 2015 Today we are going to learn... 1 Basic R Graphical System

More information

Logistic Regression. (Dichotomous predicted variable) Tim Frasier

Logistic Regression. (Dichotomous predicted variable) Tim Frasier Logistic Regression (Dichotomous predicted variable) Tim Frasier Copyright Tim Frasier This work is licensed under the Creative Commons Attribution 4.0 International license. Click here for more information.

More information

Lecture 6 - Multivariate numerical optimization

Lecture 6 - Multivariate numerical optimization Lecture 6 - Multivariate numerical optimization Björn Andersson (w/ Jianxin Wei) Department of Statistics, Uppsala University February 13, 2014 1 / 36 Table of Contents 1 Plotting functions of two variables

More information

So..to be able to make comparisons possible, we need to compare them with their respective distributions.

So..to be able to make comparisons possible, we need to compare them with their respective distributions. Unit 3 ~ Modeling Distributions of Data 1 ***Section 2.1*** Measures of Relative Standing and Density Curves (ex) Suppose that a professional soccer team has the money to sign one additional player and

More information

14.30 Introduction to Statistical Methods in Economics Spring 2009

14.30 Introduction to Statistical Methods in Economics Spring 2009 MIT OpenCourseWare http://ocw.mit.edu 14.30 Introduction to Statistical Methods in Economics Spring 2009 For information about citing these materials or our Terms of Use, visit: http://ocw.mit.edu/terms.

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

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

Univariate Data - 2. Numeric Summaries

Univariate Data - 2. Numeric Summaries Univariate Data - 2. Numeric Summaries Young W. Lim 2018-08-01 Mon Young W. Lim Univariate Data - 2. Numeric Summaries 2018-08-01 Mon 1 / 36 Outline 1 Univariate Data Based on Numerical Summaries R Numeric

More information

Tangent Planes and Linear Approximations

Tangent Planes and Linear Approximations February 21, 2007 Tangent Planes Tangent Planes Let S be a surface with equation z = f (x, y). Tangent Planes Let S be a surface with equation z = f (x, y). Let P(x 0, y 0, z 0 ) be a point on S. Tangent

More information

The base of a solid is the region in the first quadrant bounded above by the line y = 2, below by

The base of a solid is the region in the first quadrant bounded above by the line y = 2, below by Chapter 7 1) (AB/BC, calculator) The base of a solid is the region in the first quadrant bounded above by the line y =, below by y sin 1 x, and to the right by the line x = 1. For this solid, each cross-section

More information

STAT 135 Lab 1 Solutions

STAT 135 Lab 1 Solutions STAT 135 Lab 1 Solutions January 26, 2015 Introduction To complete this lab, you will need to have access to R and RStudio. If you have not already done so, you can download R from http://cran.cnr.berkeley.edu/,

More information

Functions of Several Variables

Functions of Several Variables Chapter 3 Functions of Several Variables 3.1 Definitions and Examples of Functions of two or More Variables In this section, we extend the definition of a function of one variable to functions of two or

More information

Continuity and Tangent Lines for functions of two variables

Continuity and Tangent Lines for functions of two variables Continuity and Tangent Lines for functions of two variables James K. Peterson Department of Biological Sciences and Department of Mathematical Sciences Clemson University April 4, 2014 Outline 1 Continuity

More information

Introduction to Functions of Several Variables

Introduction to Functions of Several Variables Introduction to Functions of Several Variables Philippe B. Laval KSU Today Philippe B. Laval (KSU) Functions of Several Variables Today 1 / 20 Introduction In this section, we extend the definition of

More information

R Programming: Worksheet 6

R Programming: Worksheet 6 R Programming: Worksheet 6 Today we ll study a few useful functions we haven t come across yet: all(), any(), `%in%`, match(), pmax(), pmin(), unique() We ll also apply our knowledge to the bootstrap.

More information

Introduction to RStudio

Introduction to RStudio First, take class through processes of: Signing in Changing password: Tools -> Shell, then use passwd command Installing packages Check that at least these are installed: MASS, ISLR, car, class, boot,

More information

Descriptive and Graphical Analysis of the Data

Descriptive and Graphical Analysis of the Data Descriptive and Graphical Analysis of the Data Carlo Favero Favero () Descriptive and Graphical Analysis of the Data 1 / 10 The first database Our first database is made of 39 seasons (from 1979-1980 to

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

Functions of Several Variables

Functions of Several Variables Chapter 3 Functions of Several Variables 3.1 Definitions and Examples of Functions of two or More Variables In this section, we extend the definition of a function of one variable to functions of two or

More information

UP School of Statistics Student Council Education and Research

UP School of Statistics Student Council Education and Research w UP School of Statistics Student Council Education and Research erho.weebly.com 0 erhomyhero@gmail.com f /erhoismyhero t @erhomyhero S133_HOA_001 Statistics 133 Bayesian Statistical Inference Use of R

More information

Practice for Learning R and Learning Latex

Practice for Learning R and Learning Latex Practice for Learning R and Learning Latex Jennifer Pan August, 2011 Latex Environments A) Try to create the following equations: 1. 5+6 α = β2 2. P r( 1.96 Z 1.96) = 0.95 ( ) ( ) sy 1 r 2 3. ˆβx = r xy

More information

Univariate Data - 2. Numeric Summaries

Univariate Data - 2. Numeric Summaries Univariate Data - 2. Numeric Summaries Young W. Lim 2018-02-05 Mon Young W. Lim Univariate Data - 2. Numeric Summaries 2018-02-05 Mon 1 / 31 Outline 1 Univariate Data Based on Numerical Summaries Young

More information

Markov Chain Monte Carlo (part 1)

Markov Chain Monte Carlo (part 1) Markov Chain Monte Carlo (part 1) Edps 590BAY Carolyn J. Anderson Department of Educational Psychology c Board of Trustees, University of Illinois Spring 2018 Depending on the book that you select for

More information

Behavior of the sample mean. varx i = σ 2

Behavior of the sample mean. varx i = σ 2 Behavior of the sample mean We observe n independent and identically distributed (iid) draws from a random variable X. Denote the observed values by X 1, X 2,..., X n. Assume the X i come from a population

More information

What you will learn today

What you will learn today What you will learn today Tangent Planes and Linear Approximation and the Gradient Vector Vector Functions 1/21 Recall in one-variable calculus, as we zoom in toward a point on a curve, the graph becomes

More information

SIMULTANEOUS EQUATIONS

SIMULTANEOUS EQUATIONS Mathematics Revision Guides Simultaneous Equations Page 1 of 6 M.K. HOME TUITION Mathematics Revision Guides Level: GCSE Foundation Tier SIMULTNEOUS EQUTIONS Version: 3.2 Date: 08-02-2015 Mathematics Revision

More information

Quality Control-2 The ASTA team

Quality Control-2 The ASTA team Quality Control-2 The ASTA team Contents 0.1 OC curves............................................... 1 0.2 OC curves - example......................................... 2 0.3 CUSUM chart.............................................

More information

14.4: Tangent Planes and Linear Approximations

14.4: Tangent Planes and Linear Approximations 14.4: Tangent Planes and Linear Approximations Marius Ionescu October 15, 2012 Marius Ionescu () 14.4: Tangent Planes and Linear Approximations October 15, 2012 1 / 13 Tangent Planes Marius Ionescu ()

More information

Application 2.4 Implementing Euler's Method

Application 2.4 Implementing Euler's Method Application 2.4 Implementing Euler's Method One's understanding of a numerical algorithm is sharpened by considering its implementation in the form of a calculator or computer program. Figure 2.4.13 in

More information

Image Enhancement: To improve the quality of images

Image Enhancement: To improve the quality of images Image Enhancement: To improve the quality of images Examples: Noise reduction (to improve SNR or subjective quality) Change contrast, brightness, color etc. Image smoothing Image sharpening Modify image

More information

Topic 5 - Joint distributions and the CLT

Topic 5 - Joint distributions and the CLT Topic 5 - Joint distributions and the CLT Joint distributions Calculation of probabilities, mean and variance Expectations of functions based on joint distributions Central Limit Theorem Sampling distributions

More information

Practice Exam III - Answers

Practice Exam III - Answers Department of Mathematics University of Notre Dame Math 10120 Finite Math Spring 2015 Name: Instructor: Migliore Practice Exam III - Answers April 16, 2015 This exam is in two parts on 13 pages and contains

More information

Monte Carlo sampling

Monte Carlo sampling 1 y u theta 0 x 1 Monte Carlo sampling Problem 1 Suppose we want to sample uniformly at random from the triangle defined by the points (0,0), (0,1), (1,0). First Sampling Algorithm: We decide to do this

More information

The copula Package. May 16, 2006

The copula Package. May 16, 2006 The copula Package May 16, 2006 Version 0.3-8 Date 2006/05/10 Title Multivariate Dependence with Copula Author Maintainer Depends methods, mvtnorm, scatterplot3d, sn Classes (S4) of commonly used copulas

More information

Advanced Econometric Methods EMET3011/8014

Advanced Econometric Methods EMET3011/8014 Advanced Econometric Methods EMET3011/8014 Lecture 2 John Stachurski Semester 1, 2011 Announcements Missed first lecture? See www.johnstachurski.net/emet Weekly download of course notes First computer

More information

Physics 736. Experimental Methods in Nuclear-, Particle-, and Astrophysics. - Statistical Methods -

Physics 736. Experimental Methods in Nuclear-, Particle-, and Astrophysics. - Statistical Methods - Physics 736 Experimental Methods in Nuclear-, Particle-, and Astrophysics - Statistical Methods - Karsten Heeger heeger@wisc.edu Course Schedule and Reading course website http://neutrino.physics.wisc.edu/teaching/phys736/

More information

HyperGeometric Distribution

HyperGeometric Distribution HyperGeometric Distribution Young W. Lim 2018-02-22 Thr Young W. Lim HyperGeometric Distribution 2018-02-22 Thr 1 / 15 Outline 1 HyperGeometric Distribution Based on HyperGeometric Random Variables Cumulative

More information

Topic 6: Calculus Integration Volume of Revolution Paper 2

Topic 6: Calculus Integration Volume of Revolution Paper 2 Topic 6: Calculus Integration Standard Level 6.1 Volume of Revolution Paper 1. Let f(x) = x ln(4 x ), for < x

More information

Regression III: Advanced Methods

Regression III: Advanced Methods Lecture 3: Distributions Regression III: Advanced Methods William G. Jacoby Michigan State University Goals of the lecture Examine data in graphical form Graphs for looking at univariate distributions

More information

EECS 126 Probability and Random Processes University of California, Berkeley: Fall 2017 Abhay Parekh and Jean Walrand September 21, 2017.

EECS 126 Probability and Random Processes University of California, Berkeley: Fall 2017 Abhay Parekh and Jean Walrand September 21, 2017. EECS 126 Probability and Random Processes University of California, Berkeley: Fall 2017 Abhay Parekh and Jean Walrand September 21, 2017 Midterm Exam Last Name First Name SID Rules. You have 80 minutes

More information

Semantic Importance Sampling for Statistical Model Checking

Semantic Importance Sampling for Statistical Model Checking Semantic Importance Sampling for Statistical Model Checking Software Engineering Institute Carnegie Mellon University Pittsburgh, PA 15213 Jeffery Hansen, Lutz Wrage, Sagar Chaki, Dionisio de Niz, Mark

More information

This is a good time to refresh your memory on double-integration. We will be using this skill in the upcoming lectures.

This is a good time to refresh your memory on double-integration. We will be using this skill in the upcoming lectures. Chapter 5: JOINT PROBABILITY DISTRIBUTIONS Part 1: Sections 5-1.1 to 5-1.4 For both discrete and continuous random variables we will discuss the following... Joint Distributions for two or more r.v. s)

More information

Namir s R 102 Plotting Tutorial by Namir Shammas Dedication

Namir s R 102 Plotting Tutorial by Namir Shammas Dedication Page 1 by Namir Shammas Dedication This tutorial is dedicated to memory of my uncles and father A Shammas generation that has passed on. Table of Contents Introduction... 2 Before You Start... 3 Simple

More information

HMMT February 2018 February 10, 2018

HMMT February 2018 February 10, 2018 HMMT February 2018 February 10, 2018 Combinatorics 1. Consider a 2 3 grid where each entry is one of 0, 1, and 2. For how many such grids is the sum of the numbers in every row and in every column a multiple

More information

(c) 0 (d) (a) 27 (b) (e) x 2 3x2

(c) 0 (d) (a) 27 (b) (e) x 2 3x2 1. Sarah the architect is designing a modern building. The base of the building is the region in the xy-plane bounded by x =, y =, and y = 3 x. The building itself has a height bounded between z = and

More information

Computer vision: models, learning and inference. Chapter 10 Graphical Models

Computer vision: models, learning and inference. Chapter 10 Graphical Models Computer vision: models, learning and inference Chapter 10 Graphical Models Independence Two variables x 1 and x 2 are independent if their joint probability distribution factorizes as Pr(x 1, x 2 )=Pr(x

More information

Package visualizationtools

Package visualizationtools Package visualizationtools April 12, 2011 Type Package Title Package contains a few functions to visualize statistical circumstances. Version 0.2 Date 2011-04-06 Author Thomas Roth Etienne Stockhausen

More information

Package SHELF. August 16, 2018

Package SHELF. August 16, 2018 Type Package Package SHELF August 16, 2018 Title Tools to Support the Sheffield Elicitation Framework Version 1.4.0 Date 2018-08-15 Author Jeremy Oakley Maintainer Implements various methods for eliciting

More information

Gaussian Mixture Models For Clustering Data. Soft Clustering and the EM Algorithm

Gaussian Mixture Models For Clustering Data. Soft Clustering and the EM Algorithm Gaussian Mixture Models For Clustering Data Soft Clustering and the EM Algorithm K-Means Clustering Input: Observations: xx ii R dd ii {1,., NN} Number of Clusters: kk Output: Cluster Assignments. Cluster

More information

Sections 4.3 and 4.4

Sections 4.3 and 4.4 Sections 4.3 and 4.4 Timothy Hanson Department of Statistics, University of South Carolina Stat 205: Elementary Statistics for the Biological and Life Sciences 1 / 32 4.3 Areas under normal densities Every

More information

Continuous-time stochastic simulation of epidemics in R

Continuous-time stochastic simulation of epidemics in R Continuous-time stochastic simulation of epidemics in R Ben Bolker May 16, 2005 1 Introduction/basic code Using the Gillespie algorithm, which assumes that all the possible events that can occur (death

More information

First Asian Technology Conference in Mathematics Singapore, December 18-21, Workshop Notes. Hewlett Packard HP 38G

First Asian Technology Conference in Mathematics Singapore, December 18-21, Workshop Notes. Hewlett Packard HP 38G First Asian Technology Conference in Mathematics Singapore, December 18-21, 1995 Workshop Notes Hewlett Packard HP 38G Barry Kissane Australian Institute of Education Murdoch University Murdoch, Western

More information

Tutorial on the R package TDA

Tutorial on the R package TDA Tutorial on the R package TDA Jisu Kim Brittany T. Fasy, Jisu Kim, Fabrizio Lecci, Clément Maria, Vincent Rouvreau Abstract This tutorial gives an introduction to the R package TDA, which provides some

More information

Appendix A: A Sample R Session

Appendix A: A Sample R Session Appendix A: The purpose of this appendix is to become accustumed to the R and the way if responds to line commands. As you progress, you will learn the statistical ideas behind the commands that ask for

More information

FEMAP Tutorial 2. Figure 1: Bar with defined dimensions

FEMAP Tutorial 2. Figure 1: Bar with defined dimensions FEMAP Tutorial 2 Consider a cantilevered beam with a vertical force applied to the right end. We will utilize the same geometry as the previous tutorial that considered an axial loading. Thus, this tutorial

More information

Optimization and Simulation

Optimization and Simulation Optimization and Simulation Statistical analysis and bootstrapping Michel Bierlaire Transport and Mobility Laboratory School of Architecture, Civil and Environmental Engineering Ecole Polytechnique Fédérale

More information

HomeWork 4 Hints {Your Name} deadline

HomeWork 4 Hints {Your Name} deadline HomeWork 4 Hints {Your Name} deadline - 01.06.2015 Contents Power law. Descriptive network analysis 1 Problem 1.................................................. 1 Problem 2..................................................

More information

Exercise: Graphing and Least Squares Fitting in Quattro Pro

Exercise: Graphing and Least Squares Fitting in Quattro Pro Chapter 5 Exercise: Graphing and Least Squares Fitting in Quattro Pro 5.1 Purpose The purpose of this experiment is to become familiar with using Quattro Pro to produce graphs and analyze graphical data.

More information

Generating pseudo Normal Numbers : Ziggurat, Box Muller and R default rnorm method

Generating pseudo Normal Numbers : Ziggurat, Box Muller and R default rnorm method Generating pseudo Normal Numbers : Ziggurat, Box Muller and R default rnorm method 1 Introduction Mriganka Aulia ISI There is many methods for generating pseudo Normal Random Numbers. Here we focus on

More information

1. Start WinBUGS by double clicking on the WinBUGS icon (or double click on the file WinBUGS14.exe in the WinBUGS14 directory in C:\Program Files).

1. Start WinBUGS by double clicking on the WinBUGS icon (or double click on the file WinBUGS14.exe in the WinBUGS14 directory in C:\Program Files). Hints on using WinBUGS 1 Running a model in WinBUGS 1. Start WinBUGS by double clicking on the WinBUGS icon (or double click on the file WinBUGS14.exe in the WinBUGS14 directory in C:\Program Files). 2.

More information

> glucose = c(81, 85, 93, 93, 99, 76, 75, 84, 78, 84, 81, 82, 89, + 81, 96, 82, 74, 70, 84, 86, 80, 70, 131, 75, 88, 102, 115, + 89, 82, 79, 106)

> glucose = c(81, 85, 93, 93, 99, 76, 75, 84, 78, 84, 81, 82, 89, + 81, 96, 82, 74, 70, 84, 86, 80, 70, 131, 75, 88, 102, 115, + 89, 82, 79, 106) This document describes how to use a number of R commands for plotting one variable and for calculating one variable summary statistics Specifically, it describes how to use R to create dotplots, histograms,

More information

Introductory Applied Statistics: A Variable Approach TI Manual

Introductory Applied Statistics: A Variable Approach TI Manual Introductory Applied Statistics: A Variable Approach TI Manual John Gabrosek and Paul Stephenson Department of Statistics Grand Valley State University Allendale, MI USA Version 1.1 August 2014 2 Copyright

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

(ii) Explain how the trapezium rule could be used to obtain a more accurate estimate of the area. [1]

(ii) Explain how the trapezium rule could be used to obtain a more accurate estimate of the area. [1] C Integration. June 00 qu. Use the trapezium rule, with strips each of width, to estimate the area of the region bounded by the curve y = 7 +, the -ais, and the lines = and = 0. Give your answer correct

More information

Lecture 15: The subspace topology, Closed sets

Lecture 15: The subspace topology, Closed sets Lecture 15: The subspace topology, Closed sets 1 The Subspace Topology Definition 1.1. Let (X, T) be a topological space with topology T. subset of X, the collection If Y is a T Y = {Y U U T} is a topology

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

Density Curve (p52) Density curve is a curve that - is always on or above the horizontal axis.

Density Curve (p52) Density curve is a curve that - is always on or above the horizontal axis. 1.3 Density curves p50 Some times the overall pattern of a large number of observations is so regular that we can describe it by a smooth curve. It is easier to work with a smooth curve, because the histogram

More information

Worksheet 2.2: Partial Derivatives

Worksheet 2.2: Partial Derivatives Boise State Math 275 (Ultman) Worksheet 2.2: Partial Derivatives From the Toolbox (what you need from previous classes) Be familiar with the definition of a derivative as the slope of a tangent line (the

More information

Local alignment and linear regression

Local alignment and linear regression Project 1 in Statistics BI: Local alignment and linear regression Xiaobei Zhao (9-01-78) Tune Pers (19-1-80) Sren Mrk (08-01-78) December 00 Introduction Here we investigate two variants of a linear model

More information

Chapter 3. Bootstrap. 3.1 Introduction. 3.2 The general idea

Chapter 3. Bootstrap. 3.1 Introduction. 3.2 The general idea Chapter 3 Bootstrap 3.1 Introduction The estimation of parameters in probability distributions is a basic problem in statistics that one tends to encounter already during the very first course on the subject.

More information

ELEN E4830 Digital Image Processing. Homework 3 Solution

ELEN E4830 Digital Image Processing. Homework 3 Solution ELEN E48 Digital Image Processing Homework Solution Chuxiang Li cxli@ee.columbia.edu Department of Electrical Engineering, Columbia University February 4, 6 Image Histogram Stretching. Histogram of Gray-image

More information

Multivariate Numerical Optimization

Multivariate Numerical Optimization Jianxin Wei March 1, 2013 Outline 1 Graphics for Function of Two Variables 2 Nelder-Mead Simplex Method 3 Steepest Descent Method 4 Newton s Method 5 Quasi-Newton s Method 6 Built-in R Function 7 Linear

More information

Computer Vision Group Prof. Daniel Cremers. 4. Probabilistic Graphical Models Directed Models

Computer Vision Group Prof. Daniel Cremers. 4. Probabilistic Graphical Models Directed Models Prof. Daniel Cremers 4. Probabilistic Graphical Models Directed Models The Bayes Filter (Rep.) (Bayes) (Markov) (Tot. prob.) (Markov) (Markov) 2 Graphical Representation (Rep.) We can describe the overall

More information

ECE353: Probability and Random Processes. Lecture 11- Two Random Variables (II)

ECE353: Probability and Random Processes. Lecture 11- Two Random Variables (II) ECE353: Probability and Random Processes Lecture 11- Two Random Variables (II) Xiao Fu School of Electrical Engineering and Computer Science Oregon State University E-mail: xiao.fu@oregonstate.edu Joint

More information

Computer Vision Group Prof. Daniel Cremers. 4. Probabilistic Graphical Models Directed Models

Computer Vision Group Prof. Daniel Cremers. 4. Probabilistic Graphical Models Directed Models Prof. Daniel Cremers 4. Probabilistic Graphical Models Directed Models The Bayes Filter (Rep.) (Bayes) (Markov) (Tot. prob.) (Markov) (Markov) 2 Graphical Representation (Rep.) We can describe the overall

More information

Chapter 5snow year.notebook March 15, 2018

Chapter 5snow year.notebook March 15, 2018 Chapter 5: Statistical Reasoning Section 5.1 Exploring Data Measures of central tendency (Mean, Median and Mode) attempt to describe a set of data by identifying the central position within a set of data

More information

Statistics I 2011/2012 Notes about the third Computer Class: Simulation of samples and goodness of fit; Central Limit Theorem; Confidence intervals.

Statistics I 2011/2012 Notes about the third Computer Class: Simulation of samples and goodness of fit; Central Limit Theorem; Confidence intervals. Statistics I 2011/2012 Notes about the third Computer Class: Simulation of samples and goodness of fit; Central Limit Theorem; Confidence intervals. In this Computer Class we are going to use Statgraphics

More information

Quantitative Biology II!

Quantitative Biology II! Quantitative Biology II! Lecture 3: Markov Chain Monte Carlo! March 9, 2015! 2! Plan for Today!! Introduction to Sampling!! Introduction to MCMC!! Metropolis Algorithm!! Metropolis-Hastings Algorithm!!

More information

Package emma. February 15, 2013

Package emma. February 15, 2013 Package emma February 15, 2013 Type Package Title Evolutionary model-based multiresponse approach Version 0.1-0 Date 2011-10-22 Author Laura Villanova , Kate Smith-Miles

More information

Exact equations are first order DEs of the form M(x, y) + N(x, y) y' = 0 for which we can find a function f(x, φ(x)) so that

Exact equations are first order DEs of the form M(x, y) + N(x, y) y' = 0 for which we can find a function f(x, φ(x)) so that Section 2.6 Exact Equations (ONLY) Key Terms: Exact equations are first order DEs of the form M(x, y) + N(x, y) y' = 0 for which we can find a function f(x, φ(x)) so that The construction of f(x, φ(x))

More information

R Introduction 1. J.M. Ponciano. August 17, Objects in Splus language include, and. x<-list(ncolors=2,colors=c("red","blue"))

R Introduction 1. J.M. Ponciano. August 17, Objects in Splus language include, and. x<-list(ncolors=2,colors=c(red,blue)) R Introduction 1 J.M. Ponciano August 17, 2007 1 Objects and types Location, definition of, and permanence of data Objects in Splus language include, and. Objects are created by assignment statements:

More information

WHAT YOU SHOULD LEARN

WHAT YOU SHOULD LEARN GRAPHS OF EQUATIONS WHAT YOU SHOULD LEARN Sketch graphs of equations. Find x- and y-intercepts of graphs of equations. Use symmetry to sketch graphs of equations. Find equations of and sketch graphs of

More information