HEINZ NIXDORF INSTITUTE University of Paderborn Algorithms and Complexity Algorithms for Radio Networks Exercise 12 Stefan Rührup

Slides:



Advertisements
Similar presentations
Jaroslaw Kutylowski 1 HEINZ NIXDORF INSTITUTE University of Paderborn Algorithms and Complexity Reliable Broadcasting without Collision Detection… … in.
Advertisements

Lecture note 6 Continuous Random Variables and Probability distribution.
Probability Theory STAT 312 STAT 312 Dr. Zakeia AlSaiary.
1 HEINZ NIXDORF INSTITUTE University of Paderborn Algorithms and Complexity Christian Schindelhauer Algorithms for Radio Networks Winter Term 2005/2006.
Today Today: Chapter 5 Reading: –Chapter 5 (not 5.12) –Suggested problems: 5.1, 5.2, 5.3, 5.15, 5.25, 5.33, 5.38, 5.47, 5.53, 5.62.
1 University of Freiburg Computer Networks and Telematics Prof. Christian Schindelhauer Mobile Ad Hoc Networks Theory of Data Flow and Random Placement.
Section 8.3 Suppose X 1, X 2,..., X n are a random sample from a distribution defined by the p.d.f. f(x)for a < x < b and corresponding distribution function.
P robability Midterm Practice Condition Independence 郭俊利 2009/04/13.
1 HEINZ NIXDORF INSTITUTE University of Paderborn Algorithms and Complexity Christian Schindelhauer Search Algorithms Winter Semester 2004/ Jan.
Novel Self-Configurable Positioning Technique for Multihop Wireless Networks Authors : Hongyi Wu Chong Wang Nian-Feng Tzeng IEEE/ACM TRANSACTIONS ON NETWORKING,
Continuous Random Variables and Probability Distributions
Exposure In Wireless Ad-Hoc Sensor Networks S. Megerian, F. Koushanfar, G. Qu, G. Veltri, M. Potkonjak ACM SIG MOBILE 2001 (Mobicom) Journal version: S.
Copyright © Cengage Learning. All rights reserved. 4 Continuous Random Variables and Probability Distributions.
1 HEINZ NIXDORF INSTITUTE University of Paderborn Algorithms and Complexity Christian Schindelhauer Algorithms for Radio Networks Winter Term 2005/2006.
Jointly distributed Random variables
Lectures prepared by: Elchanan Mossel Yelena Shvets Introduction to probability Stat 134 FAll 2005 Berkeley Follows Jim Pitman’s book: Probability Section.
Information Networks Power Laws and Network Models Lecture 3.
L7.1b Continuous Random Variables CONTINUOUS RANDOM VARIABLES NORMAL DISTRIBUTIONS AD PROBABILITY DISTRIBUTIONS.
1 HEINZ NIXDORF INSTITUTE University of Paderborn Algorithms and Complexity Christian Schindelhauer Search Algorithms Winter Semester 2004/ Dec.
Functions of Random Variables. Methods for determining the distribution of functions of Random Variables 1.Distribution function method 2.Moment generating.
K. Shum Lecture 16 Description of random variables: pdf, cdf. Expectation. Variance.
1 Lecture 4. 2 Random Variables (Discrete) Real-valued functions defined on a sample space are random vars. determined by outcome of experiment, we can.
Chapter 6 Normal Probability Distribution Lecture 1 Sections: 6.1 – 6.2.
5.3 Random Variables  Random Variable  Discrete Random Variables  Continuous Random Variables  Normal Distributions as Probability Distributions 1.
HEINZ NIXDORF INSTITUTE University of Paderborn Algorithms and Complexity Algorithms for Radio Networks Exercise 11 Stefan Rührup
Probability & Statistics I IE 254 Summer 1999 Chapter 4  Continuous Random Variables  What is the difference between a discrete & a continuous R.V.?
HEINZ NIXDORF INSTITUTE University of Paderborn Algorithms and Complexity Online Routing in Faulty Meshes with Sub-linear Comparative Time and Traffic.
1 HEINZ NIXDORF INSTITUTE University of Paderborn Algorithms and Complexity Christian Schindelhauer Search Algorithms Winter Semester 2004/ Nov.
1 HEINZ NIXDORF INSTITUTE University of Paderborn Algorithms and Complexity Christian Schindelhauer Algorithms for Radio Networks Winter Term 2005/2006.
1 HEINZ NIXDORF INSTITUTE University of Paderborn Algorithms and Complexity Christian Schindelhauer Algorithms for Radio Networks Winter Term 2005/2006.
1 HEINZ NIXDORF INSTITUTE University of Paderborn Algorithms and Complexity Christian Schindelhauer Search Algorithms Winter Semester 2004/ Oct.
Stefan Rührup 1 HEINZ NIXDORF INSTITUTE University of Paderborn, Germany Algorithms and Complexity Competitive Time and Traffic Analysis of Position-based.
II. Characterization of Random Variables. © Tallal Elshabrawy 2 Random Variable Characterizes a random experiment in terms of real numbers Discrete Random.
Topics in Algorithms 2007 Ramesh Hariharan. Tree Embeddings.
HEINZ NIXDORF INSTITUTE University of Paderborn Algorithms and Complexity Algorithms for Radio Networks Exercise 7 Stefan Rührup
Random Variables. Numerical Outcomes Consider associating a numerical value with each sample point in a sample space. (1,1) (1,2) (1,3) (1,4) (1,5) (1,6)
Chapter 5. Continuous Random Variables. Continuous Random Variables Discrete random variables –Random variables whose set of possible values is either.
Continuous Random Variables and Probability Distributions
Section 6-1 Overview. Chapter focus is on: Continuous random variables Normal distributions Overview Figure 6-1 Formula 6-1 f(x) =  2  x-x-  )2)2.
1 HEINZ NIXDORF INSTITUTE University of Paderborn Algorithms and Complexity Christian Schindelhauer Algorithms for Radio Networks Winter Term 2005/2006.
1 1 Slide Continuous Probability Distributions n The Uniform Distribution  a b   n The Normal Distribution n The Exponential Distribution.
Lecture 3 Types of Probability Distributions Dr Peter Wheale.
1 HEINZ NIXDORF INSTITUTE University of Paderborn Algorithms and Complexity Christian Schindelhauer Algorithms for Radio Networks Winter Term 2005/2006.
1 HEINZ NIXDORF INSTITUTE University of Paderborn Algorithms and Complexity Christian Schindelhauer Algorithms for Radio Networks Winter Term 2005/2006.
1 Chapter 4 Mathematical Expectation  4.1 Mean of Random Variables  4.2 Variance and Covariance  4.3 Means and Variances of Linear Combinations of Random.
1 HEINZ NIXDORF INSTITUTE University of Paderborn Algorithms and Complexity Christian Schindelhauer Algorithms for Radio Networks Winter Term 2005/2006.
Random Variables By: 1.
1 HEINZ NIXDORF INSTITUTE University of Paderborn Algorithms and Complexity Christian Schindelhauer Search Algorithms Winter Semester 2004/ Dec.
Copyright © Cengage Learning. All rights reserved. 4 Continuous Random Variables and Probability Distributions.
Theoretical distributions: the Normal distribution.
Oliver Schulte Machine Learning 726
Section 7.3: Probability Distributions for Continuous Random Variables
Probability Continued Chapter 6
Cumulative distribution functions and expected values
ETM 607 – Spreadsheet Simulations
CS723 - Probability and Stochastic Processes
Chapter 4: Mathematical Expectation:
Department of Computer Science University of York
ASV Chapters 1 - Sample Spaces and Probabilities
Mean and Standard Deviation
Chapter 3: Random Variables and Probability Distributions
... DISCRETE random variables X, Y Joint Probability Mass Function y1
Chapter 3: Random Variables and Probability Distributions
Clustering.
Chapter 3: Random Variables and Probability Distributions
Chapter 3: Random Variables and Probability Distributions
PROBABILITY AND STATISTICS
Normal Probability Distribution Lecture 1 Sections: 6.1 – 6.2
Mathematical Expectation
Presentation transcript:

HEINZ NIXDORF INSTITUTE University of Paderborn Algorithms and Complexity Algorithms for Radio Networks Exercise 12 Stefan Rührup

HEINZ NIXDORF INSTITUTE University of Paderborn Algorithms and Complexity 2 Exercise 24 Assume that a start node s in the center (0, 0) of a square [−1, 1] × [−1, 1] of edge length 2 chooses uniformly at random a target node t in this square 1.What is the cumulative probability function P[R ≤ r] for the distance R = |s-t| 2 between the start node and target node if r ≤ 1? 2.What is the cumulative probability function P[R ≤ r] if 1 ≤ r ≤ √2? 3.Compute the corresponding probability density function and draw the graph of the function. 4.What is the expected value of R?

HEINZ NIXDORF INSTITUTE University of Paderborn Algorithms and Complexity 3 Exercise 24 1.) r ≤ 12.) 1 ≤ r ≤ √2 s t s t A1A1 A2A2 P[R ≤ r] = / =  r 2 / 4 P[R ≤ r] = (8 A A 2 ) / 4

HEINZ NIXDORF INSTITUTE University of Paderborn Algorithms and Complexity 4 Exercise 24 s t A1A1 A2A2 P[R ≤ r] = (8 A A 2 ) / 4 = A1A1 r 1 √r 2 -1 A2A2    =  /2 - 2  cos  = 1/r A 2 =  r 2 ·  /(2  ) A 1 = √r 2 -1

HEINZ NIXDORF INSTITUTE University of Paderborn Algorithms and Complexity 5 Exercise 24 r ≤ 1: P[R ≤ r] =  r 2 / 4 P[R = r] =  r / 2 1 ≤ r ≤ √2: P[R ≤ r] = P[R = r] = E[R] ≈ Numerical integration of where f R is the probability density function (PDF), which is piecewise defined by the two functions above =: F 1 (r) =: F 2 (r)

HEINZ NIXDORF INSTITUTE University of Paderborn Algorithms and Complexity 6 Exercise 24 Distribution function (cumulative probability) 0 F 1 (r) F 2 (r) 1 r P[R ≤ r]

HEINZ NIXDORF INSTITUTE University of Paderborn Algorithms and Complexity 7 Exercise 24 Probability Density Function (PDF) for 0 ≤ r ≤ √2 r P[R = r]

HEINZ NIXDORF INSTITUTE University of Paderborn Algorithms and Complexity 8 Exercise 25 Find a counter-example that disproves for independent random variables X and Y. Chose X = {1,2} and Y={1,2} with P[X=1] = P[X=2] = 1/2 and P[Y=1] = P[Y=1] = 1/2 E[X] =  k · P[X=k] = 3/2 E[Y] =  k · P[Y=k] = 3/2 E[X/Y] =  k · P[X/Y=k] = 9/8 P[X/Y]X=1X=2 Y=11/4 Y=21/4 X/YX=1X=2 Y=112 Y=21/21

HEINZ NIXDORF INSTITUTE University of Paderborn Algorithms and Complexity 9 Exercise 26 (additional exercise) An object moves with a constant speed for a fixed distance d. The speed V is chosen uniformly at random between either v min or v max, i.e. the speed is v min with probability 1/2 and v max with probability 1/2. –What is the average speed v? –What is the expected speed E[V]? –Show that v ≤ E[V] If the speed is constant, one needs a time of t = d/v to cover a fixed distance d. The average speed is given by

HEINZ NIXDORF INSTITUTE University of Paderborn Algorithms and Complexity 10 Exercise 26 P[V = v min ] = 1/2 and P[V = v max ] = 1/2. The average speed is given by E[D] = d is fixed. But what is the expected time E[T]? If the speed is constant, one needs a time of t = d/v to cover a fixed distance d.

HEINZ NIXDORF INSTITUTE University of Paderborn Algorithms and Complexity 11 Exercise 26 P[V = v min ] = 1/2 and P[V = v max ] = 1/2. The expected speed is The expected speed is also given by So, this is another example, where (see Exercise 25)

HEINZ NIXDORF INSTITUTE University of Paderborn Algorithms and Complexity 12 Exercise 26 Show that

HEINZ NIXDORF INSTITUTE University of Paderborn Algorithms and Complexity 13 Exercise 26 What is the minimum of the function x+1/x for x > 0? (this is a relative minimum, because the second derivative is greater than 0) x+1/x = 2 for x=1 Therefore,

HEINZ NIXDORF INSTITUTE University of Paderborn Algorithms and Complexity Thanks for your attention! End of the lecture Mini-Exam No. 4 on Monday 13 Feb 2006, 2pm, FU.511 (Mozart) Good Luck! Stefan Rührup F2.313