Math 464 Fall 2012 Notes on Marginal and Conditional Densities October 18, 2012

Similar documents
such that the S i cover S, or equivalently S

If f(x, y) is a surface that lies above r(t), we can think about the area between the surface and the curve.

Introduction to Integration

a < a+ x < a+2 x < < a+n x = b, n A i n f(x i ) x. i=1 i=1

Improper Integrals. October 4, 2017

MATH 25 CLASS 5 NOTES, SEP

Iterated Integrals. f (x; y) dy dx. p(x) To evaluate a type I integral, we rst evaluate the inner integral Z q(x) f (x; y) dy.

MATH 2530: WORKSHEET 7. x 2 y dz dy dx =

Unit #9 : Definite Integral Properties, Fundamental Theorem of Calculus

Solutions to Math 41 Final Exam December 12, 2011

6.2 Volumes of Revolution: The Disk Method

MA1008. Calculus and Linear Algebra for Engineers. Course Notes for Section B. Stephen Wills. Department of Mathematics. University College Cork

Matlab s Numerical Integration Commands

4452 Mathematical Modeling Lecture 4: Lagrange Multipliers

Lecture 7: Integration Techniques

Section 10.4 Hyperbolas

B. Definition: The volume of a solid of known integrable cross-section area A(x) from x = a

9.1 apply the distance and midpoint formulas

1.5 Extrema and the Mean Value Theorem

Integration. September 28, 2017

50 AMC LECTURES Lecture 2 Analytic Geometry Distance and Lines. can be calculated by the following formula:

6.3 Volumes. Just as area is always positive, so is volume and our attitudes towards finding it.

Math 142, Exam 1 Information.

Supplemental Notes: Line Integrals

Math 35 Review Sheet, Spring 2014

P(r)dr = probability of generating a random number in the interval dr near r. For this probability idea to make sense we must have

Pointwise convergence need not behave well with respect to standard properties such as continuity.

The Fundamental Theorem of Calculus

Chapter Spline Method of Interpolation More Examples Electrical Engineering

Integration. October 25, 2016

f[a] x + f[a + x] x + f[a +2 x] x + + f[b x] x

Lecture Overview. Knowledge-based systems in Bioinformatics, 1MB602. Procedural abstraction. The sum procedure. Integration as a procedure

)

1 The Definite Integral

10.5 Graphing Quadratic Functions

Stained Glass Design. Teaching Goals:

Area & Volume. Chapter 6.1 & 6.2 September 25, y = 1! x 2. Back to Area:

Yoplait with Areas and Volumes

CS201 Discussion 10 DRAWTREE + TRIES

Midterm 2 Sample solution

Fall 2018 Midterm 2 November 15, 2018

Introduction. Chapter 4: Complex Integration. Introduction (Cont d)

Lily Yen and Mogens Hansen

INTRODUCTION TO SIMPLICIAL COMPLEXES

Math Line Integrals I

5/9/17. Lesson 51 - FTC PART 2. Review FTC, PART 1. statement as the Integral Evaluation Theorem as it tells us HOW to evaluate the definite integral

Double Integrals. MATH 375 Numerical Analysis. J. Robert Buchanan. Fall Department of Mathematics. J. Robert Buchanan Double Integrals

ZZ - Advanced Math Review 2017

Math 17 - Review. Review for Chapter 12

Dynamic Programming. Andreas Klappenecker. [partially based on slides by Prof. Welch] Monday, September 24, 2012

Definition of Regular Expression

Hyperbolas. Definition of Hyperbola

MA 124 (Calculus II) Lecture 2: January 24, 2019 Section A3. Professor Jennifer Balakrishnan,

EECS 281: Homework #4 Due: Thursday, October 7, 2004

Fig.1. Let a source of monochromatic light be incident on a slit of finite width a, as shown in Fig. 1.

If you are at the university, either physically or via the VPN, you can download the chapters of this book as PDFs.

Unit 5 Vocabulary. A function is a special relationship where each input has a single output.

9 Graph Cutting Procedures

The Basic Properties of the Integral

CHAPTER 8 Quasi-interpolation methods

Digital Design. Chapter 6: Optimizations and Tradeoffs

Companion Mathematica Notebook for "What is The 'Equal Weight View'?"

MTH 146 Conics Supplement

Math/CS 467/667 Programming Assignment 01. Adaptive Gauss Quadrature. q(x)p 4 (x) = 0

Section 3.1: Sequences and Series

SIMPLIFYING ALGEBRA PASSPORT.

WebAssign Lesson 1-3a Substitution Part 1 (Homework)

Thirty-fourth Annual Columbus State Invitational Mathematics Tournament. Instructions

Pythagoras theorem and trigonometry (2)

Homework. Context Free Languages III. Languages. Plan for today. Context Free Languages. CFLs and Regular Languages. Homework #5 (due 10/22)

SOME EXAMPLES OF SUBDIVISION OF SMALL CATEGORIES

10/9/2012. Operator is an operation performed over data at runtime. Arithmetic, Logical, Comparison, Assignment, Etc. Operators have precedence

6.3 Definite Integrals and Antiderivatives

Very sad code. Abstraction, List, & Cons. CS61A Lecture 7. Happier Code. Goals. Constructors. Constructors 6/29/2011. Selectors.

3.5.1 Single slit diffraction

A Fixed Point Approach of Quadratic Functional Equations

This notebook investigates the properties of non-integer differential operators using Fourier analysis.

Introduction Transformation formulae Polar graphs Standard curves Polar equations Test GRAPHS INU0114/514 (MATHS 1)

Fall 2018 Midterm 1 October 11, ˆ You may not ask questions about the exam except for language clarifications.

Introduction to Computer Engineering EECS 203 dickrp/eecs203/ CMOS transmission gate (TG) TG example

Ray surface intersections

Physics 208: Electricity and Magnetism Exam 1, Secs Feb IMPORTANT. Read these directions carefully:

Math 227 Problem Set V Solutions. f ds =

COMP 423 lecture 11 Jan. 28, 2008

Control-Flow Analysis and Loop Detection

x )Scales are the reciprocal of each other. e

3.5.1 Single slit diffraction

9 4. CISC - Curriculum & Instruction Steering Committee. California County Superintendents Educational Services Association

Assignment 11 (The Last One) Due Date for Programs: December 13, 2016

arxiv: v2 [math.ho] 4 Jun 2012

APPLICATIONS OF INTEGRATION

Answer Key Lesson 6: Workshop: Angles and Lines

CMSC 331 First Midterm Exam

ECE 468/573 Midterm 1 September 28, 2012

1 Quad-Edge Construction Operators

Chapter 2 Sensitivity Analysis: Differential Calculus of Models

Reducing Costs with Duck Typing. Structural

binary trees, expression trees

box Boxes and Arrows 3 true 7.59 'X' An object is drawn as a box that contains its data members, for example:

Fall 2017 Midterm Exam 1 October 19, You may not use any books, notes, or electronic devices during this exam.

Transcription:

Mth 464 Fll 2012 Notes on Mrginl nd Conditionl Densities klin@mth.rizon.edu October 18, 2012 Mrginl densities. Suppose you hve 3 continuous rndom vribles X, Y, nd Z, with joint density f(x,y,z. The mrginl density for X is the PDF of X. In clss we gve formul for this. It is just Similrly, the PDF for Y nd Z re f Y (y f Z (z f(x,y,z (1 f(x,y,z dx dz f(x,y,z dx dy Notice tht to get the density for one of the vribles, wht we do is integrte over ll the other vribles. This generlizes nturlly to n continuous rndom vribles X 1,X 2,,X n with joint density f(x 1,x 2,,x n : we define the ith mrginl density of f to be the PDF of X i. The formul is f Xi (x f(x 1,,x i 1,x,x i+1,,x n dx 1 dx i 1 dx i+1 dx n (2 Notice tht we integrte exctly n-1 times. We gve derivtion of this formul in clss. Here it is gin, for n3. To get the mrginl density of X, the bsic ide is to first find the CDF F X, then differentite it. Here goes: let X, Y, Z, nd f be s bove, nd let x be ny rel number. We strt with the observtion tht F X (x P(X x ( P (,x] R R The 2nd line just sys tht we wnt the probbility of the event tht X x nd tht we don t cre bout the vlues of Y nd Z. From this nd the definition of the joint density, we get F X (x x f(x,y,z dx 1

Differentiting, we get 1 d dx F X(x d dx ( x d dx ( x f(x,y,z dx f(x,y,z dx By the fundmentl theorem of clculus, we hve ( d x f(x,y,z dx f(x,y,z dx So s desired. Exmple. d dx F X(x f(x,y,z In the drts exmple with rdius 1, the PDF is { 1/π, x f(x,y 2 + y 2 1 0, otherwise If we wnt the PDF for the X vrible lone, this is given by 1 x 2 1/π dy 1 x 2 2 1 x π 2 if 1 x 1; 0 otherwise. The first line is just the formul for the mrginl of X. To go from the first to the second line, it is importnt to relize tht f(x,y is nonzero if nd only if (x,y lies on or inside the unit circle. Conditionl density, book s version. Grinsted nd Snell gve the following definition of conditionl density: Let X be rndom vrible with PDF f, nd let E be n event with P(E > 0. Then we define the conditionl density of X given E hs occurred to be f(x E f(x/p(e 1 This derivtion is not ment to be proof. To prove the formul long these lines, we would hve to justify exchnging the order of differentition nd integrtion. Tht belongs in course on rel nlysis. 2

This extends nturlly to 2 or more rndom vribles. For exmple, if f(x,y is the joint density for X nd Y, nd E is n event, then the conditionl density of (X,Y given E is f(x,y E f(x,y/p(e The key thing bout these formuls is tht they mke sense only when P(E > 0. If P(E 0, then we would be dividing by 0. As n exmple, in the drts exmple, if we let E be the event the drt lnds in the first qudrnt, then we hve f(x,y E f(x,y/p(e { 4/π, x 0 nd y 0 nd x 2 + y 2 1 0, otherwise Importnt! A key property of f(x E is tht it is still probbility density. So if we wnt the conditionl probbility P(A E for some event A, we would evlute A f(x E dx. A consequence is tht f(x E dx 1. Conditionl density of Y given Xx. A closely relted concept is the conditionl density of one rndom vrible Y given tht second rndom vrible X hs certin vlue x. This is different, but relted to, the concept of conditionl density given in the book. Both notions re useful, but in different wys. If X nd Y re two continuous rndom vribles nd x is rel number, the conditionl density of Y given Xx is defined to be f Y X (y x f(x,y. (3 The key property of this is tht it is PDF: if we wnt the probbility of n event A given Xx, then P(A X x f Y X (y x dy A (py ttention to wht vrible is being integrted, nd wht s being left lone. In prticulr, we hve f Y X (y x dy 1. (4 The reson we need seprte definition when conditioning on Xx is tht the event (Xx hs probbility 0. So there is 3

no wy we cn use the book s definition (or something like it to define the conditionl density. In clss I gve motivtion for Eq. (3. Here it is, in more generl form: let δ > 0 be ny number, nd [, b] be ny intervl. Then We hve P( Y b }{{} cll this A P(A B x δ X x + δ }{{} cll this B [ f(x,y dx ] P(A B P(B dy We cn pproximte the term in the squre brckets by the rectngle rule, to get so tht f(x,y dx 2δ f(x,y P(A B 2δ We cn tret P(B similrly: So we get P(B [ 2δ f X (x dx P( Y b x δ X x + δ ] f(x,y dy dx P(A B P(B 2δ 2δ 4

One cn show tht in the limit s δ 0, the becomes exct, so we get P( Y b X x In prticulr, for ny rel number y, we hve P(Y y X x y f(x,y dy Differentiting gives us Eq. (3. (Notice tht the vrible x should be treted s constnt in the bove. Finlly, there is second wy to see why the definition in Eq. (3 is resonble: suppose we wnt to define f Y X (y x. Wht properties should it hve? At the minimum, it should be PDF, i.e., Eq. (4 should hold. A second property we might insist on is tht for ech given vlue of x, f Y X (y x should be proportionl to f(x,y s function of y, so tht events hve the right reltive frequency. 2 With these conditions, we hve f Y X (y x C x f(x,y where C x is constnt (it relly depends on x to be chosen so tht Eq. (4 holds. It is esy to check (you should do it! tht C x. 2 This sttement will tke some digesting... 5