EE365: Markov Chains. Markov chains. Transition Matrices. Distribution Propagation. Other Models

Size: px
Start display at page:

Download "EE365: Markov Chains. Markov chains. Transition Matrices. Distribution Propagation. Other Models"

Transcription

1 EE365: Markov Chains Markov chains Transition Matrices Distribution Propagation Other Models 1

2 Markov chains 2

3 Markov chains a model for dynamical systems with possibly uncertain transitions very widely used, in many application areas one of a handful of core effective mathematical and computational tools often used to model systems that are not random; e.g., language 3

4 Stochastic dynamical system representation x t+1 = f(x t, w t) t = 0, 1,... x 0, w 0, w 1,... are independent random variables state transitions are nondeterministic, uncertain combine system x t+1 = f(x t, u t, w t) with policy u t = µ t(x t) 4

5 Example: Inventory model with ordering policy x t+1 = [x t d t + u t] [0,C] u t = µ(x t) x t X = {0,..., C} is inventory level at time t C > 0 is capacity d t {0, 1,...} is demand that arrives just after time t u t {0, 1,...} is new stock added to inventory µ : X {0, 1,..., C} is ordering policy [z] [0,C] = min(max(z, 0), C) (z clipped to interval [0, C]) assumption: d 0, d 1,... are independent 5

6 Example: Inventory model with ordering policy x t+1 = [x t d t + u t] [0,C] u t = µ(x t) capacity C = 6 demand distribution p i = Prob(d t = i) policy: refill if x t 1 µ(x) = start with full inventory x 0 = C p = [ ] { C x if x 1 0 otherwise 6

7 Simulation x t t given initial state x 0 for t = 0,..., T 1 simulate process noise w t := sample(p) update the state x t+1 = f(x t, w t) 7

8 Simulation called a particle simulation gives a sample of the joint distribution of (x 0,..., x T ) useful to approximately evaluate probabilities and expectations via Monte Carlo simulation to get a feel for what trajectories look like (e.g., for model validation) 8

9 Graph representation p 0 p 1 p 2 p 0 p 2 p p 0 3 p 0 4 p 0 5 p 0 6 p 0 p 1 p 1 p 1 p 1 p 1 p 2 p 2 p 2 p 2 p 2 called the transition graph each vertex (or node) corresponds to a state edge i j is labeled with transition probability Prob(x t+1 = j x t = i) 9

10 The tree each vertex of the tree corresponds to a path e.g., Prob(x 3 = 1 x 0 = 2) =

11 The birth-death chain self-loops can be omitted, since they can be figured out from the outgoing probabilities 11

12 Example: Metastability

13 Transition Matrices 13

14 Transition matrix representation we define the transition matrix P R n n P ij = Prob(x t+1 = j x t = i) P 1 = 1 and P 0 elementwise a matrix with these two properties is called a stochastic matrix if P and Q are stochastic, then so is P Q 14

15 Transition matrix representation p 1 p 0 p 2 p 0 p 2 p p 0 3 p 0 4 p 0 5 p 0 6 p 0 p 1 p 1 p 1 p 1 p 1 p 2 p 2 p 2 p 2 p 2 transition matrix P =

16 Particle simulation given the transition matrix Given the distribution of initial states d R 1 n the transition matrix P R n n, with rows p 1,..., p n Algorithm: choose initial state x 0 := sample(d) for t = 0,..., T 1 find the distribution of the next state d next := p xt sample the next state x t+1 := sample(d next) 16

17 Definition of a Markov chain sequence of random variables x t : Ω X is a Markov chain if, for all s 0, s 1,... and all t, Prob(x t+1 = s t+1 x t = s t,..., x 0 = s 0) = Prob(x t+1 = s t+1 x t = s t) called the Markov property means that the system is memoryless x t is called the state at time t; X is called the state space if you know current state, then knowing past states doesn t give additional knowledge about next state (or any future state) 17

18 The joint distribution the joint distribution of x 0, x 1,..., x t factorizes according to Prob ( x 0 = a, x 1 = b, x 2 = c,..., x t = q ) = d ap ab P bc P pq because the chain rule gives Prob(x t = s t, x t 1 = s t 1,..., x 0 = s 0) = Prob(x t = s t x t 1 = s t 1,..., x 0 = s 0) Prob(x t 1 = s t 1,..., x 0 = s 0) abbreviating x t = s t to just x t, we can repeatedly apply this to give Prob(x t, x t 1,..., x 0) = Prob(x t x t 1,..., x 0) Prob(x t 1 x t 2,..., x 0) Prob(x 1 x 0) Prob(x 0) = Prob(x t x t 1) Prob(x t 1 x t 2) Prob(x 1 x 0) Prob(x 0) 18

19 The joint distribution the joint distribution completely specifies the process; for example E f(x 0, x 1, x 2, x 3) = f(a, b, c, d) d ap ab P bc P cd a,b,c,d X in principle we can compute the probability of any event and the expected value of any function, but this requires a sum over n T terms we can compute some expected values far more efficiently (more later) 19

20 Distribution Propagation 20

21 Distribution propagation π t+1 = π tp here π t denotes distribution of x t, so (π t) i = Prob(x t = i) can compute marginals π 1,..., π T in T n 2 operations a useful type of simulation... 21

22 Example: Distribution propagation p0 p1 p2 p0 p1 p p0 3 p0 4 p0 5 p0 6 p0 p1 p1 p1 p1 p1 p2 p2 p2 p2 p t = t = t = t = t = t = t = t = t =

23 Example: Reordering what is the probability we reorder at time t? compute π t by distribution propagation, and use Prob(x t {0, 1}) = π t [ ] T E g(x t) t 23

24 Evaluating expectation of separable function suppose f : X T +1 R is separable, i.e., where f t : X R f(x 0,..., x T ) = f 0(x 0) + + f T (x T ) then we have E f(x) = π 0f π T f T using distribution propagation, we can compute exactly with T n 2 operations 24

25 Powers of the transition matrix as an example of the use of the joint distribution, let s show (P k ) ij = Prob ( x t+k = j x t = i ) this holds because Prob ( x t+k = s t+k x t = s t ) = Prob ( x t+k = s t+k and x t = s t ) Prob ( x t = s t ) = = s 0,s 1,...,s t 1,s t+1,...,s t+k 1 d s0 P s0 s 1 P s1 s 2 P st+k 1 s t+k Prob ( x t = s t ) ( )( d s0 P s0 s 1 P st 1 s t P st s t+1 P st+k 1 s t+k s 0,s 1,...,s t 1 s t+1,...,s t+k 1 Prob ( ) x t = s t ) 25

26 Example: k step transition probabilities two ways to compute Prob(x t = j x 0 = i) direct method: sum products of probabilities over n t state sequences using matrix powers: Prob(x t = j x 0 = i) = (P t ) ij we can compute this in O(n 3 t) arithmetic operations (by multiplying matrices to get P ) O(n 3 ) arithmetic operations (by first diagonalizing P ) 26

27 Other Models 27

28 Time-varying Markov chains we may have a time-varying Markov chain, with one transition matrix for each time (P t) ij = Prob(x t+1 = j x t = i) suppose Prob(x t = a) 0 for all a X and t then the factorization property that there exists stochastic matrices P 0, P 1,... and a distribution d such that Prob ( x 0 = a, x 1 = b, x 2 = c,..., x t = q ) = d a(p 0) ab (P 1) bc (P t 1) pq is equivalent to the Markov property the theory of factorization properties of distributions is called Bayesian networks or graphical models (with Markov chains the simplest case) 28

29 Dynamical system representation revisited x t+1 = f(x t, w t) If x 0, w 0, w 1,... are independent then x 0, x 1,... is Markov 29

30 Dynamical system representation To see that x 0, x 1,... is Markov, notice that Prob(x t+1 = s t+1 x 0 = s 0,..., x t = s t) = Prob ( f(s t, w t) = s t+1 x 0 = s 0,..., x t = s t ) = Prob ( f(s t, w t) = s t+1 φ t(x 0, w 0,..., w t 1) = (s 0,..., s t) ) = Prob ( f(s t, w t) = s t+1 ) (x 0,..., x t) = φ t(x 0, w 0,..., w t 1) follows from x t+1 = f(x t, w t) last line holds since w t (x 0, w 0,..., w t 1) and x y = f(x) g(y) x 0, x 1,... is Markov because the above approach also gives Prob(x t+1 = s t+1 x t = s t) = Prob ( f(s t, w t) = s t+1 ) 30

31 State augmentation we often have models x t+1 = f(x t, w t) where w 0, w 1,... is Markov w 0, w 1,... satisfy w t+1 = g(w t, v t) where v 0, v 1,... are independent [ ] xt construct an equivalent Markov chain, with state z t = dynamics z t+1 = h(z t, v t) where h(z, v) = [ ] f(z1, z 2) g(z 2, v) w t 31

32 Markov k x t+1 = f(x t, x t 1,..., x t k+1, w t) called a Markov-k model assume (x 0, x 1,..., x k 1 ), w 0, w 1, w 2,... are independent initial distribution on (x 0, x 1,..., x k 1 ) Markov-k property: for all s 0, s 1,..., Prob(x t+1 = s t+1 x t = s t,..., x 0 = s 0) = Prob(x t+1 = s t+1 x t = s t, x t 1 = s t 1,..., x t k+1 = s t k+1 ) 32

33 Markov k x t+1 = f(x t, x t 1,..., x t k+1, w t) equivalent Markov system, with state z t Z = X k ; notice that Z = X k z t = x t x t 1. x t k+1 dynamics z t+1 = g(z t, w t) where f ( z 1, z 2,..., z k, w ) z 1 g(z, w) =. z k 1 33

34 Markov language models given text, construct a Markov k model by counting the frequency of word sequences applications: run particle simulation to generate new text suggest correct spellings when spell checking optical character recognition finding similar documents in information retrieval 34

35 Example: Markov language models example: approximately 78,000 words, 8,200 unique He wasnt true and disappointment that wouldnt be very old school song at once it on the grayish white stone well have charlies work much to keep your wand still had a mouse into a very scratchy whiskery kiss. Then yes yes. I hope im pretty but there had never seen me what had to vacuum anymore because its all right were when flint had shot up while uncle vernon around the sun rose up to. Bill used to. Ron who to what he teaches potions one. I suppose they couldnt think about it harry hed have found out that didnt trust me all sorts of a letter which one by older that was angrier about what they would you see here albus dumbledore it was very well get a rounded bottle of everyone follows me an awful lot his face the minute. Well send you get out and see professor snape. But it must have his sleeve. I am i think. Fred and hermione and dangerous said finally. Uncle vernon opened wide open. As usual everyones celebrating all hed just have caught twice. Yehll get out. Well get the snitch yet no way up his feet. 35

36 Markov language models another example Here on this paper. Seven bottles three are poison two are wine one will get us through the corridors. Even better professor flitwick could i harry said the boy miserably. Well i mean its the girls through one of them hardly daring to take rons mind off his rocker said ron loudly. Shut up said ron sounding both shocked and impressed. Id have managed it before and you should have done so because a second later hermione granger telling a downright lie to a baked potato when professor quirrell too the nervous young man made his way along the floor in front of the year the dursleys were his only chance to beat you to get past fluffy i told her you didnt say another word on the wall wiping sweat off his nerves about tomorrow. Why should he yet harry couldnt help trusting him. This is goyle said the giant turning his back legs in anger. For the food faded from the chamber theyd just chained up. Oh no it isnt the same thing. Harry who was quite clear now and gathering speed. The air became colder and colder as they jostled their way through a crowd. 36

6.3 Conditional Probability and Independence

6.3 Conditional Probability and Independence 222 CHAPTER 6. PROBABILITY 6.3 Conditional Probability and Independence Conditional Probability Two cubical dice each have a triangle painted on one side, a circle painted on two sides and a square painted

More information

Harry Potter: Lesson Plan!

Harry Potter: Lesson Plan! Harry Potter: Lesson Plan Aims: By the end of the lesson, students will be able to know more about Harry Potter and the corresponding books. Materials: Harry Potter book covers, character list and picture

More information

A linear combination is a sum of scalars times quantities. Such expressions arise quite frequently and have the form

A linear combination is a sum of scalars times quantities. Such expressions arise quite frequently and have the form Section 1.3 Matrix Products A linear combination is a sum of scalars times quantities. Such expressions arise quite frequently and have the form (scalar #1)(quantity #1) + (scalar #2)(quantity #2) +...

More information

. 0 1 10 2 100 11 1000 3 20 1 2 3 4 5 6 7 8 9

. 0 1 10 2 100 11 1000 3 20 1 2 3 4 5 6 7 8 9 Introduction The purpose of this note is to find and study a method for determining and counting all the positive integer divisors of a positive integer Let N be a given positive integer We say d is a

More information

1. The Fly In The Ointment

1. The Fly In The Ointment Arithmetic Revisited Lesson 5: Decimal Fractions or Place Value Extended Part 5: Dividing Decimal Fractions, Part 2. The Fly In The Ointment The meaning of, say, ƒ 2 doesn't depend on whether we represent

More information

Algebra I Notes Relations and Functions Unit 03a

Algebra I Notes Relations and Functions Unit 03a OBJECTIVES: F.IF.A.1 Understand the concept of a function and use function notation. Understand that a function from one set (called the domain) to another set (called the range) assigns to each element

More information

a 11 x 1 + a 12 x 2 + + a 1n x n = b 1 a 21 x 1 + a 22 x 2 + + a 2n x n = b 2.

a 11 x 1 + a 12 x 2 + + a 1n x n = b 1 a 21 x 1 + a 22 x 2 + + a 2n x n = b 2. Chapter 1 LINEAR EQUATIONS 1.1 Introduction to linear equations A linear equation in n unknowns x 1, x,, x n is an equation of the form a 1 x 1 + a x + + a n x n = b, where a 1, a,..., a n, b are given

More information

DATA ANALYSIS II. Matrix Algorithms

DATA ANALYSIS II. Matrix Algorithms DATA ANALYSIS II Matrix Algorithms Similarity Matrix Given a dataset D = {x i }, i=1,..,n consisting of n points in R d, let A denote the n n symmetric similarity matrix between the points, given as where

More information

5.5. Solving linear systems by the elimination method

5.5. Solving linear systems by the elimination method 55 Solving linear systems by the elimination method Equivalent systems The major technique of solving systems of equations is changing the original problem into another one which is of an easier to solve

More information

SYSM 6304: Risk and Decision Analysis Lecture 5: Methods of Risk Analysis

SYSM 6304: Risk and Decision Analysis Lecture 5: Methods of Risk Analysis SYSM 6304: Risk and Decision Analysis Lecture 5: Methods of Risk Analysis M. Vidyasagar Cecil & Ida Green Chair The University of Texas at Dallas Email: M.Vidyasagar@utdallas.edu October 17, 2015 Outline

More information

Math 202-0 Quizzes Winter 2009

Math 202-0 Quizzes Winter 2009 Quiz : Basic Probability Ten Scrabble tiles are placed in a bag Four of the tiles have the letter printed on them, and there are two tiles each with the letters B, C and D on them (a) Suppose one tile

More information

Just the Factors, Ma am

Just the Factors, Ma am 1 Introduction Just the Factors, Ma am The purpose of this note is to find and study a method for determining and counting all the positive integer divisors of a positive integer Let N be a given positive

More information

Simple Inventory Management

Simple Inventory Management Jon Bennett Consulting http://www.jondbennett.com Simple Inventory Management Free Up Cash While Satisfying Your Customers Part of the Business Philosophy White Papers Series Author: Jon Bennett September

More information

Overview of Monte Carlo Simulation, Probability Review and Introduction to Matlab

Overview of Monte Carlo Simulation, Probability Review and Introduction to Matlab Monte Carlo Simulation: IEOR E4703 Fall 2004 c 2004 by Martin Haugh Overview of Monte Carlo Simulation, Probability Review and Introduction to Matlab 1 Overview of Monte Carlo Simulation 1.1 Why use simulation?

More information

The Basics of Graphical Models

The Basics of Graphical Models The Basics of Graphical Models David M. Blei Columbia University October 3, 2015 Introduction These notes follow Chapter 2 of An Introduction to Probabilistic Graphical Models by Michael Jordan. Many figures

More information

Basic Set Theory. 1. Motivation. Fido Sue. Fred Aristotle Bob. LX 502 - Semantics I September 11, 2008

Basic Set Theory. 1. Motivation. Fido Sue. Fred Aristotle Bob. LX 502 - Semantics I September 11, 2008 Basic Set Theory LX 502 - Semantics I September 11, 2008 1. Motivation When you start reading these notes, the first thing you should be asking yourselves is What is Set Theory and why is it relevant?

More information

3. The Junction Tree Algorithms

3. The Junction Tree Algorithms A Short Course on Graphical Models 3. The Junction Tree Algorithms Mark Paskin mark@paskin.org 1 Review: conditional independence Two random variables X and Y are independent (written X Y ) iff p X ( )

More information

On Your Marks: Under-5s Day 2 Jesus heals Bartimaeus Mark 10: 46-52

On Your Marks: Under-5s Day 2 Jesus heals Bartimaeus Mark 10: 46-52 On Your Marks: Under-5s Day 2 Jesus heals Bartimaeus Mark 10: 46-52 Simple Story An enlarged copy of the 'Bart' picture on A4 card; three extra faces (available as a web download: Day 2 resource sheets

More information

Representing Uncertainty by Probability and Possibility What s the Difference?

Representing Uncertainty by Probability and Possibility What s the Difference? Representing Uncertainty by Probability and Possibility What s the Difference? Presentation at Amsterdam, March 29 30, 2011 Hans Schjær Jacobsen Professor, Director RD&I Ballerup, Denmark +45 4480 5030

More information

LECTURE 16. Readings: Section 5.1. Lecture outline. Random processes Definition of the Bernoulli process Basic properties of the Bernoulli process

LECTURE 16. Readings: Section 5.1. Lecture outline. Random processes Definition of the Bernoulli process Basic properties of the Bernoulli process LECTURE 16 Readings: Section 5.1 Lecture outline Random processes Definition of the Bernoulli process Basic properties of the Bernoulli process Number of successes Distribution of interarrival times The

More information

Class One: Degree Sequences

Class One: Degree Sequences Class One: Degree Sequences For our purposes a graph is a just a bunch of points, called vertices, together with lines or curves, called edges, joining certain pairs of vertices. Three small examples of

More information

4. How many integers between 2004 and 4002 are perfect squares?

4. How many integers between 2004 and 4002 are perfect squares? 5 is 0% of what number? What is the value of + 3 4 + 99 00? (alternating signs) 3 A frog is at the bottom of a well 0 feet deep It climbs up 3 feet every day, but slides back feet each night If it started

More information

Critical points of once continuously differentiable functions are important because they are the only points that can be local maxima or minima.

Critical points of once continuously differentiable functions are important because they are the only points that can be local maxima or minima. Lecture 0: Convexity and Optimization We say that if f is a once continuously differentiable function on an interval I, and x is a point in the interior of I that x is a critical point of f if f (x) =

More information

DERIVATIVES AS MATRICES; CHAIN RULE

DERIVATIVES AS MATRICES; CHAIN RULE DERIVATIVES AS MATRICES; CHAIN RULE 1. Derivatives of Real-valued Functions Let s first consider functions f : R 2 R. Recall that if the partial derivatives of f exist at the point (x 0, y 0 ), then we

More information

3 Some Integer Functions

3 Some Integer Functions 3 Some Integer Functions A Pair of Fundamental Integer Functions The integer function that is the heart of this section is the modulo function. However, before getting to it, let us look at some very simple

More information

International Journal of Advanced Research in Computer Science and Software Engineering

International Journal of Advanced Research in Computer Science and Software Engineering Volume 3, Issue 7, July 23 ISSN: 2277 28X International Journal of Advanced Research in Computer Science and Software Engineering Research Paper Available online at: www.ijarcsse.com Greedy Algorithm:

More information

6 3 4 9 = 6 10 + 3 10 + 4 10 + 9 10

6 3 4 9 = 6 10 + 3 10 + 4 10 + 9 10 Lesson The Binary Number System. Why Binary? The number system that you are familiar with, that you use every day, is the decimal number system, also commonly referred to as the base- system. When you

More information

Marty's Big Mistake A short story about character by Wes Fessler Marty mouse was walking home from school one sunny day. A rock was on the sidewalk, which he kicked along the way. The rock would bounce

More information

Phonics. High Frequency Words P.008. Objective The student will read high frequency words.

Phonics. High Frequency Words P.008. Objective The student will read high frequency words. P.008 Jumping Words Objective The student will read high frequency words. Materials High frequency words (P.HFW.005 - P.HFW.064) Choose target words. Checkerboard and checkers (Activity Master P.008.AM1a

More information

NO LONGER THE FIRST 2010 Josh Danz

NO LONGER THE FIRST 2010 Josh Danz NO LONGER THE FIRST 2010 Josh Danz Free performance of this play for high school and college level competitive forensics is permitted. All other rights reserved. The Intriguing Interp Series is published

More information

SAT Math Facts & Formulas Review Quiz

SAT Math Facts & Formulas Review Quiz Test your knowledge of SAT math facts, formulas, and vocabulary with the following quiz. Some questions are more challenging, just like a few of the questions that you ll encounter on the SAT; these questions

More information

1 Review of Newton Polynomials

1 Review of Newton Polynomials cs: introduction to numerical analysis 0/0/0 Lecture 8: Polynomial Interpolation: Using Newton Polynomials and Error Analysis Instructor: Professor Amos Ron Scribes: Giordano Fusco, Mark Cowlishaw, Nathanael

More information

Pythagorean Theorem: Proof and Applications

Pythagorean Theorem: Proof and Applications Pythagorean Theorem: Proof and Applications Kamel Al-Khaled & Ameen Alawneh Department of Mathematics and Statistics, Jordan University of Science and Technology IRBID 22110, JORDAN E-mail: kamel@just.edu.jo,

More information

We can express this in decimal notation (in contrast to the underline notation we have been using) as follows: 9081 + 900b + 90c = 9001 + 100c + 10b

We can express this in decimal notation (in contrast to the underline notation we have been using) as follows: 9081 + 900b + 90c = 9001 + 100c + 10b In this session, we ll learn how to solve problems related to place value. This is one of the fundamental concepts in arithmetic, something every elementary and middle school mathematics teacher should

More information

Hitman Interview. Written By. Felix Hockey

Hitman Interview. Written By. Felix Hockey Hitman Interview Written By Felix Hockey Copyright (c) 2012 This screenplay may not be used or reproduced without the express written permission of the author Waylander37@hotmail.co.uk 1 INT. BEDROOM -

More information

S on n elements. A good way to think about permutations is the following. Consider the A = 1,2,3, 4 whose elements we permute with the P =

S on n elements. A good way to think about permutations is the following. Consider the A = 1,2,3, 4 whose elements we permute with the P = Section 6. 1 Section 6. Groups of Permutations: : The Symmetric Group Purpose of Section: To introduce the idea of a permutation and show how the set of all permutations of a set of n elements, equipped

More information

BE PREPARED TO READ BOTH ROLES! Rosencrantz/Guildenstern Callback Side #1. [Act 1, Scene 1] ROS I'm afraid. GUIL So am I

BE PREPARED TO READ BOTH ROLES! Rosencrantz/Guildenstern Callback Side #1. [Act 1, Scene 1] ROS I'm afraid. GUIL So am I ENCRANTZ and DENSTERN Callback Sides BE PREPARED TO READ BOTH ROLES! Rosencrantz/Guildenstern Callback Side #1 [Act 1, Scene 1] I'm afraid So am I I'm afraid it isn't your day. I m afraid it is. [Small

More information

6.045: Automata, Computability, and Complexity Or, Great Ideas in Theoretical Computer Science Spring, 2010. Class 4 Nancy Lynch

6.045: Automata, Computability, and Complexity Or, Great Ideas in Theoretical Computer Science Spring, 2010. Class 4 Nancy Lynch 6.045: Automata, Computability, and Complexity Or, Great Ideas in Theoretical Computer Science Spring, 2010 Class 4 Nancy Lynch Today Two more models of computation: Nondeterministic Finite Automata (NFAs)

More information

CORRELATED TO THE SOUTH CAROLINA COLLEGE AND CAREER-READY FOUNDATIONS IN ALGEBRA

CORRELATED TO THE SOUTH CAROLINA COLLEGE AND CAREER-READY FOUNDATIONS IN ALGEBRA We Can Early Learning Curriculum PreK Grades 8 12 INSIDE ALGEBRA, GRADES 8 12 CORRELATED TO THE SOUTH CAROLINA COLLEGE AND CAREER-READY FOUNDATIONS IN ALGEBRA April 2016 www.voyagersopris.com Mathematical

More information

Introduction to Markov Chain Monte Carlo

Introduction to Markov Chain Monte Carlo Introduction to Markov Chain Monte Carlo Monte Carlo: sample from a distribution to estimate the distribution to compute max, mean Markov Chain Monte Carlo: sampling using local information Generic problem

More information

INFO 7470 Statistical Tools: Hierarchical Models and Network Analysis. John M. Abowd and Lars Vilhuber May 2, 2016

INFO 7470 Statistical Tools: Hierarchical Models and Network Analysis. John M. Abowd and Lars Vilhuber May 2, 2016 INFO 7470 Statistical Tools: Hierarchical Models and Network Analysis John M. Abowd and Lars Vilhuber May 2, 2016 Outline What Are Linked, Integrated and Other Complex Data Structures? The Relational Database

More information

Big Data Analytics CSCI 4030

Big Data Analytics CSCI 4030 High dim. data Graph data Infinite data Machine learning Apps Locality sensitive hashing PageRank, SimRank Filtering data streams SVM Recommen der systems Clustering Community Detection Web advertising

More information

Approximation Algorithms

Approximation Algorithms Approximation Algorithms or: How I Learned to Stop Worrying and Deal with NP-Completeness Ong Jit Sheng, Jonathan (A0073924B) March, 2012 Overview Key Results (I) General techniques: Greedy algorithms

More information

December 4, 2013 MATH 171 BASIC LINEAR ALGEBRA B. KITCHENS

December 4, 2013 MATH 171 BASIC LINEAR ALGEBRA B. KITCHENS December 4, 2013 MATH 171 BASIC LINEAR ALGEBRA B KITCHENS The equation 1 Lines in two-dimensional space (1) 2x y = 3 describes a line in two-dimensional space The coefficients of x and y in the equation

More information

Krishna Institute of Engineering & Technology, Ghaziabad Department of Computer Application MCA-213 : DATA STRUCTURES USING C

Krishna Institute of Engineering & Technology, Ghaziabad Department of Computer Application MCA-213 : DATA STRUCTURES USING C Tutorial#1 Q 1:- Explain the terms data, elementary item, entity, primary key, domain, attribute and information? Also give examples in support of your answer? Q 2:- What is a Data Type? Differentiate

More information

Ummmm! Definitely interested. She took the pen and pad out of my hand and constructed a third one for herself:

Ummmm! Definitely interested. She took the pen and pad out of my hand and constructed a third one for herself: Sum of Cubes Jo was supposed to be studying for her grade 12 physics test, but her soul was wandering. Show me something fun, she said. Well I wasn t sure just what she had in mind, but it happened that

More information

Social Media Mining. Graph Essentials

Social Media Mining. Graph Essentials Graph Essentials Graph Basics Measures Graph and Essentials Metrics 2 2 Nodes and Edges A network is a graph nodes, actors, or vertices (plural of vertex) Connections, edges or ties Edge Node Measures

More information

Mathematical goals. Starting points. Materials required. Time needed

Mathematical goals. Starting points. Materials required. Time needed Level S6 of challenge: B/C S6 Interpreting frequency graphs, cumulative cumulative frequency frequency graphs, graphs, box and box whisker and plots whisker plots Mathematical goals Starting points Materials

More information

CSE 326, Data Structures. Sample Final Exam. Problem Max Points Score 1 14 (2x7) 2 18 (3x6) 3 4 4 7 5 9 6 16 7 8 8 4 9 8 10 4 Total 92.

CSE 326, Data Structures. Sample Final Exam. Problem Max Points Score 1 14 (2x7) 2 18 (3x6) 3 4 4 7 5 9 6 16 7 8 8 4 9 8 10 4 Total 92. Name: Email ID: CSE 326, Data Structures Section: Sample Final Exam Instructions: The exam is closed book, closed notes. Unless otherwise stated, N denotes the number of elements in the data structure

More information

8 Square matrices continued: Determinants

8 Square matrices continued: Determinants 8 Square matrices continued: Determinants 8. Introduction Determinants give us important information about square matrices, and, as we ll soon see, are essential for the computation of eigenvalues. You

More information

Impact of Remote Control Failure on Power System Restoration Time

Impact of Remote Control Failure on Power System Restoration Time Impact of Remote Control Failure on Power System Restoration Time Fredrik Edström School of Electrical Engineering Royal Institute of Technology Stockholm, Sweden Email: fredrik.edstrom@ee.kth.se Lennart

More information

Model-based Synthesis. Tony O Hagan

Model-based Synthesis. Tony O Hagan Model-based Synthesis Tony O Hagan Stochastic models Synthesising evidence through a statistical model 2 Evidence Synthesis (Session 3), Helsinki, 28/10/11 Graphical modelling The kinds of models that

More information

THANK YOU for downloading Retelling Station that I created FREE for you.

THANK YOU for downloading Retelling Station that I created FREE for you. THANK YOU for downloading Retelling Station that I created FREE for you. In return, I ask that you (1) Have fun! (2) Give me credit for my work if you share. (3) Refer others to my websites www.liketoread.com,

More information

Solutions to old Exam 1 problems

Solutions to old Exam 1 problems Solutions to old Exam 1 problems Hi students! I am putting this old version of my review for the first midterm review, place and time to be announced. Check for updates on the web site as to which sections

More information

BBC LEARNING ENGLISH 6 Minute English Do you think for yourself?

BBC LEARNING ENGLISH 6 Minute English Do you think for yourself? BBC LEARNING ENGLISH 6 Minute English Do you think for yourself? NB: This is not a word-for-word transcript Hello and welcome to 6 Minute English. I'm And I'm Here's your coffee,. remember that staff meeting

More information

5544 = 2 2772 = 2 2 1386 = 2 2 2 693. Now we have to find a divisor of 693. We can try 3, and 693 = 3 231,and we keep dividing by 3 to get: 1

5544 = 2 2772 = 2 2 1386 = 2 2 2 693. Now we have to find a divisor of 693. We can try 3, and 693 = 3 231,and we keep dividing by 3 to get: 1 MATH 13150: Freshman Seminar Unit 8 1. Prime numbers 1.1. Primes. A number bigger than 1 is called prime if its only divisors are 1 and itself. For example, 3 is prime because the only numbers dividing

More information

DRAW SOME MORE TOYS FOR THEM TO PLAY WITH

DRAW SOME MORE TOYS FOR THEM TO PLAY WITH BIBLE LESSON 8 1. Genesis 16 Abraham and Sarah were very sad. They didn't have any children! No little boys to run and play with, no little girls to dance and pick flowers with. One day Abraham decided

More information

Regular Languages and Finite Automata

Regular Languages and Finite Automata Regular Languages and Finite Automata 1 Introduction Hing Leung Department of Computer Science New Mexico State University Sep 16, 2010 In 1943, McCulloch and Pitts [4] published a pioneering work on a

More information

INTRODUCING STEWARDSHIP TO CHILDREN

INTRODUCING STEWARDSHIP TO CHILDREN INTRODUCING STEWARDSHIP TO CHILDREN Using Well What God Gives Me Matthew 25: 14-30 Introduction Most everyone knows that as the weather starts to get colder the trees get ready for winter by dropping their

More information

(Refer Slide Time: 2:03)

(Refer Slide Time: 2:03) Control Engineering Prof. Madan Gopal Department of Electrical Engineering Indian Institute of Technology, Delhi Lecture - 11 Models of Industrial Control Devices and Systems (Contd.) Last time we were

More information

Jesus at the Temple (at age 12)

Jesus at the Temple (at age 12) Jesus at the Temple (at age 12) Teacher Pep Talk: Twelve sounds so grown up, especially when you are a Little Guy! But to us adults, 12 seems really young to be doing some of the things Jesus was doing

More information

The Binomial Distribution

The Binomial Distribution The Binomial Distribution James H. Steiger November 10, 00 1 Topics for this Module 1. The Binomial Process. The Binomial Random Variable. The Binomial Distribution (a) Computing the Binomial pdf (b) Computing

More information

Why? A central concept in Computer Science. Algorithms are ubiquitous.

Why? A central concept in Computer Science. Algorithms are ubiquitous. Analysis of Algorithms: A Brief Introduction Why? A central concept in Computer Science. Algorithms are ubiquitous. Using the Internet (sending email, transferring files, use of search engines, online

More information

CONTINGENCY (CROSS- TABULATION) TABLES

CONTINGENCY (CROSS- TABULATION) TABLES CONTINGENCY (CROSS- TABULATION) TABLES Presents counts of two or more variables A 1 A 2 Total B 1 a b a+b B 2 c d c+d Total a+c b+d n = a+b+c+d 1 Joint, Marginal, and Conditional Probability We study methods

More information

Row Echelon Form and Reduced Row Echelon Form

Row Echelon Form and Reduced Row Echelon Form These notes closely follow the presentation of the material given in David C Lay s textbook Linear Algebra and its Applications (3rd edition) These notes are intended primarily for in-class presentation

More information

A Non-Linear Schema Theorem for Genetic Algorithms

A Non-Linear Schema Theorem for Genetic Algorithms A Non-Linear Schema Theorem for Genetic Algorithms William A Greene Computer Science Department University of New Orleans New Orleans, LA 70148 bill@csunoedu 504-280-6755 Abstract We generalize Holland

More information

Computational Geometry Lab: FEM BASIS FUNCTIONS FOR A TETRAHEDRON

Computational Geometry Lab: FEM BASIS FUNCTIONS FOR A TETRAHEDRON Computational Geometry Lab: FEM BASIS FUNCTIONS FOR A TETRAHEDRON John Burkardt Information Technology Department Virginia Tech http://people.sc.fsu.edu/ jburkardt/presentations/cg lab fem basis tetrahedron.pdf

More information

Frequently Asked Questions about New Leaf s National Accounts Program

Frequently Asked Questions about New Leaf s National Accounts Program Frequently Asked Questions about New Leaf s National Accounts Program What if I am already selling to some of these national accounts? Simple. Just let us know that you do not need us to present to these

More information

5. A full binary tree with n leaves contains [A] n nodes. [B] log n 2 nodes. [C] 2n 1 nodes. [D] n 2 nodes.

5. A full binary tree with n leaves contains [A] n nodes. [B] log n 2 nodes. [C] 2n 1 nodes. [D] n 2 nodes. 1. The advantage of.. is that they solve the problem if sequential storage representation. But disadvantage in that is they are sequential lists. [A] Lists [B] Linked Lists [A] Trees [A] Queues 2. The

More information

Options with exceptions

Options with exceptions Options with exceptions Munu Sairamesh and Balaraman Ravindran Indian Institute Of Technology Madras, India Abstract. An option is a policy fragment that represents a solution to a frequent subproblem

More information

The PageRank Citation Ranking: Bring Order to the Web

The PageRank Citation Ranking: Bring Order to the Web The PageRank Citation Ranking: Bring Order to the Web presented by: Xiaoxi Pang 25.Nov 2010 1 / 20 Outline Introduction A ranking for every page on the Web Implementation Convergence Properties Personalized

More information

SECTIONS 1.5-1.6 NOTES ON GRAPH THEORY NOTATION AND ITS USE IN THE STUDY OF SPARSE SYMMETRIC MATRICES

SECTIONS 1.5-1.6 NOTES ON GRAPH THEORY NOTATION AND ITS USE IN THE STUDY OF SPARSE SYMMETRIC MATRICES SECIONS.5-.6 NOES ON GRPH HEORY NOION ND IS USE IN HE SUDY OF SPRSE SYMMERIC MRICES graph G ( X, E) consists of a finite set of nodes or vertices X and edges E. EXMPLE : road map of part of British Columbia

More information

Information Theory and Coding Prof. S. N. Merchant Department of Electrical Engineering Indian Institute of Technology, Bombay

Information Theory and Coding Prof. S. N. Merchant Department of Electrical Engineering Indian Institute of Technology, Bombay Information Theory and Coding Prof. S. N. Merchant Department of Electrical Engineering Indian Institute of Technology, Bombay Lecture - 17 Shannon-Fano-Elias Coding and Introduction to Arithmetic Coding

More information

Introduction to Matrices

Introduction to Matrices Introduction to Matrices Tom Davis tomrdavis@earthlinknet 1 Definitions A matrix (plural: matrices) is simply a rectangular array of things For now, we ll assume the things are numbers, but as you go on

More information

AP CALCULUS AB 2009 SCORING GUIDELINES

AP CALCULUS AB 2009 SCORING GUIDELINES AP CALCULUS AB 2009 SCORING GUIDELINES Question 5 x 2 5 8 f ( x ) 1 4 2 6 Let f be a function that is twice differentiable for all real numbers. The table above gives values of f for selected points in

More information

Part 2: Community Detection

Part 2: Community Detection Chapter 8: Graph Data Part 2: Community Detection Based on Leskovec, Rajaraman, Ullman 2014: Mining of Massive Datasets Big Data Management and Analytics Outline Community Detection - Social networks -

More information

2. (a) Explain the strassen s matrix multiplication. (b) Write deletion algorithm, of Binary search tree. [8+8]

2. (a) Explain the strassen s matrix multiplication. (b) Write deletion algorithm, of Binary search tree. [8+8] Code No: R05220502 Set No. 1 1. (a) Describe the performance analysis in detail. (b) Show that f 1 (n)+f 2 (n) = 0(max(g 1 (n), g 2 (n)) where f 1 (n) = 0(g 1 (n)) and f 2 (n) = 0(g 2 (n)). [8+8] 2. (a)

More information

Lecture 15 An Arithmetic Circuit Lowerbound and Flows in Graphs

Lecture 15 An Arithmetic Circuit Lowerbound and Flows in Graphs CSE599s: Extremal Combinatorics November 21, 2011 Lecture 15 An Arithmetic Circuit Lowerbound and Flows in Graphs Lecturer: Anup Rao 1 An Arithmetic Circuit Lower Bound An arithmetic circuit is just like

More information

A permutation can also be represented by describing its cycles. What do you suppose is meant by this?

A permutation can also be represented by describing its cycles. What do you suppose is meant by this? Shuffling, Cycles, and Matrices Warm up problem. Eight people stand in a line. From left to right their positions are numbered,,,... 8. The eight people then change places according to THE RULE which directs

More information

1) To take a picture is fun. It is fun to take a picture. it To master English grammar is difficult. It is difficult to master English grammar.

1) To take a picture is fun. It is fun to take a picture. it To master English grammar is difficult. It is difficult to master English grammar. 3 1) To take a picture is fun. It is fun to take a picture. it To master English grammar is difficult. It is difficult to master English grammar. English grammar is diffcult to master. 2) My dream is to

More information

Statistics Graduate Courses

Statistics Graduate Courses Statistics Graduate Courses STAT 7002--Topics in Statistics-Biological/Physical/Mathematics (cr.arr.).organized study of selected topics. Subjects and earnable credit may vary from semester to semester.

More information

Multiplying and Dividing Signed Numbers. Finding the Product of Two Signed Numbers. (a) (3)( 4) ( 4) ( 4) ( 4) 12 (b) (4)( 5) ( 5) ( 5) ( 5) ( 5) 20

Multiplying and Dividing Signed Numbers. Finding the Product of Two Signed Numbers. (a) (3)( 4) ( 4) ( 4) ( 4) 12 (b) (4)( 5) ( 5) ( 5) ( 5) ( 5) 20 SECTION.4 Multiplying and Dividing Signed Numbers.4 OBJECTIVES 1. Multiply signed numbers 2. Use the commutative property of multiplication 3. Use the associative property of multiplication 4. Divide signed

More information

YOU CAN COUNT ON NUMBER LINES

YOU CAN COUNT ON NUMBER LINES Key Idea 2 Number and Numeration: Students use number sense and numeration to develop an understanding of multiple uses of numbers in the real world, the use of numbers to communicate mathematically, and

More information

LIFE OF CHRIST from the gospel of

LIFE OF CHRIST from the gospel of LIFE OF CHRIST from the gospel of Mark Lesson 40 The greatest commandment Mark 12:28-34 Created for use with young, unchurched learners Adaptable for all ages including adults Mission Arlington/Mission

More information

POLYNOMIAL FUNCTIONS

POLYNOMIAL FUNCTIONS POLYNOMIAL FUNCTIONS Polynomial Division.. 314 The Rational Zero Test.....317 Descarte s Rule of Signs... 319 The Remainder Theorem.....31 Finding all Zeros of a Polynomial Function.......33 Writing a

More information

A Profit-Maximizing Production Lot sizing Decision Model with Stochastic Demand

A Profit-Maximizing Production Lot sizing Decision Model with Stochastic Demand A Profit-Maximizing Production Lot sizing Decision Model with Stochastic Demand Kizito Paul Mubiru Department of Mechanical and Production Engineering Kyambogo University, Uganda Abstract - Demand uncertainty

More information

Mathematics (Project Maths)

Mathematics (Project Maths) Pre-Leaving Certificate Examination Mathematics (Project Maths) Paper 2 Higher Level February 2010 2½ hours 300 marks Running total Examination number Centre stamp For examiner Question Mark 1 2 3 4 5

More information

A booklet for Parents

A booklet for Parents By the end of Year 2, most children should be able to Count up to 100 objects by grouping them and counting in tens, fives or twos; explain what each digit in a two-digit number represents, including numbers

More information

PEOPLE V. HARRY POTTER

PEOPLE V. HARRY POTTER PEOPLE V. HARRY POTTER THE COURT: Members of the jury, the defendant, Harry Potter, is charged in a one-count information which reads as follows: On or about November 23, 2008, HARRY POTTER, did unlawfully

More information

Analysis of a Production/Inventory System with Multiple Retailers

Analysis of a Production/Inventory System with Multiple Retailers Analysis of a Production/Inventory System with Multiple Retailers Ann M. Noblesse 1, Robert N. Boute 1,2, Marc R. Lambrecht 1, Benny Van Houdt 3 1 Research Center for Operations Management, University

More information

Chapter 19. General Matrices. An n m matrix is an array. a 11 a 12 a 1m a 21 a 22 a 2m A = a n1 a n2 a nm. The matrix A has n row vectors

Chapter 19. General Matrices. An n m matrix is an array. a 11 a 12 a 1m a 21 a 22 a 2m A = a n1 a n2 a nm. The matrix A has n row vectors Chapter 9. General Matrices An n m matrix is an array a a a m a a a m... = [a ij]. a n a n a nm The matrix A has n row vectors and m column vectors row i (A) = [a i, a i,..., a im ] R m a j a j a nj col

More information

K80TTQ1EP-??,VO.L,XU0H5BY,_71ZVPKOE678_X,N2Y-8HI4VS,,6Z28DDW5N7ADY013

K80TTQ1EP-??,VO.L,XU0H5BY,_71ZVPKOE678_X,N2Y-8HI4VS,,6Z28DDW5N7ADY013 Hill Cipher Project K80TTQ1EP-??,VO.L,XU0H5BY,_71ZVPKOE678_X,N2Y-8HI4VS,,6Z28DDW5N7ADY013 Directions: Answer all numbered questions completely. Show non-trivial work in the space provided. Non-computational

More information

INTEGRATED OPTIMIZATION OF SAFETY STOCK

INTEGRATED OPTIMIZATION OF SAFETY STOCK INTEGRATED OPTIMIZATION OF SAFETY STOCK AND TRANSPORTATION CAPACITY Horst Tempelmeier Department of Production Management University of Cologne Albertus-Magnus-Platz D-50932 Koeln, Germany http://www.spw.uni-koeln.de/

More information

Acquisition Lesson Planning Form Key Standards addressed in this Lesson: MM2A3d,e Time allotted for this Lesson: 4 Hours

Acquisition Lesson Planning Form Key Standards addressed in this Lesson: MM2A3d,e Time allotted for this Lesson: 4 Hours Acquisition Lesson Planning Form Key Standards addressed in this Lesson: MM2A3d,e Time allotted for this Lesson: 4 Hours Essential Question: LESSON 4 FINITE ARITHMETIC SERIES AND RELATIONSHIP TO QUADRATIC

More information

Formal Languages and Automata Theory - Regular Expressions and Finite Automata -

Formal Languages and Automata Theory - Regular Expressions and Finite Automata - Formal Languages and Automata Theory - Regular Expressions and Finite Automata - Samarjit Chakraborty Computer Engineering and Networks Laboratory Swiss Federal Institute of Technology (ETH) Zürich March

More information

Answer: (a) Since we cannot repeat men on the committee, and the order we select them in does not matter, ( )

Answer: (a) Since we cannot repeat men on the committee, and the order we select them in does not matter, ( ) 1. (Chapter 1 supplementary, problem 7): There are 12 men at a dance. (a) In how many ways can eight of them be selected to form a cleanup crew? (b) How many ways are there to pair off eight women at the

More information

Square Roots and the Pythagorean Theorem

Square Roots and the Pythagorean Theorem 4.8 Square Roots and the Pythagorean Theorem 4.8 OBJECTIVES 1. Find the square root of a perfect square 2. Use the Pythagorean theorem to find the length of a missing side of a right triangle 3. Approximate

More information

Playing with Numbers

Playing with Numbers PLAYING WITH NUMBERS 249 Playing with Numbers CHAPTER 16 16.1 Introduction You have studied various types of numbers such as natural numbers, whole numbers, integers and rational numbers. You have also

More information

Chapter 31 out of 37 from Discrete Mathematics for Neophytes: Number Theory, Probability, Algorithms, and Other Stuff by J. M.

Chapter 31 out of 37 from Discrete Mathematics for Neophytes: Number Theory, Probability, Algorithms, and Other Stuff by J. M. 31 Geometric Series Motivation (I hope) Geometric series are a basic artifact of algebra that everyone should know. 1 I am teaching them here because they come up remarkably often with Markov chains. The

More information

IT S STRING THEORY, BABY! by Herbert M. Midgley 2006 by Herbert Midgley All Rights Reserved

IT S STRING THEORY, BABY! by Herbert M. Midgley 2006 by Herbert Midgley All Rights Reserved IT S STRING THEORY, BABY! TIME: Present by Herbert M. Midgley 2006 by Herbert Midgley All Rights Reserved PLACE: A garden in the South CHARACTERS: A pretty girl in her late 20 s. She was raised in a small

More information