Additional Results for the Pareto/NBD Model

Σχετικά έγγραφα
Deriving the Conditional PMF of the Pareto/NBD Model

Deriving an Expression for P (X(t) = x) Under the Pareto/NBD Model

Solution Series 9. i=1 x i and i=1 x i.

SOLUTIONS TO MATH38181 EXTREME VALUES AND FINANCIAL RISK EXAM

Solutions to Exercise Sheet 5

HOMEWORK#1. t E(x) = 1 λ = (b) Find the median lifetime of a randomly selected light bulb. Answer:

Second Order Partial Differential Equations

An Inventory of Continuous Distributions

A Note on Deriving the Pareto/NBD Model and Related Expressions

CHAPTER 25 SOLVING EQUATIONS BY ITERATIVE METHODS

Other Test Constructions: Likelihood Ratio & Bayes Tests

Jesse Maassen and Mark Lundstrom Purdue University November 25, 2013

SOLUTIONS TO MATH38181 EXTREME VALUES AND FINANCIAL RISK EXAM

b. Use the parametrization from (a) to compute the area of S a as S a ds. Be sure to substitute for ds!

Απόκριση σε Μοναδιαία Ωστική Δύναμη (Unit Impulse) Απόκριση σε Δυνάμεις Αυθαίρετα Μεταβαλλόμενες με το Χρόνο. Απόστολος Σ.

Srednicki Chapter 55

Section 8.3 Trigonometric Equations

Bayesian statistics. DS GA 1002 Probability and Statistics for Data Science.

Exercises to Statistics of Material Fatigue No. 5

ST5224: Advanced Statistical Theory II

Example Sheet 3 Solutions

derivation of the Laplacian from rectangular to spherical coordinates

Matrices and Determinants

Problem Set 3: Solutions

Statistical Inference I Locally most powerful tests

SPECIAL FUNCTIONS and POLYNOMIALS

Web-based supplementary materials for Bayesian Quantile Regression for Ordinal Longitudinal Data

3.4 SUM AND DIFFERENCE FORMULAS. NOTE: cos(α+β) cos α + cos β cos(α-β) cos α -cos β

Section 7.6 Double and Half Angle Formulas

The Simply Typed Lambda Calculus

Homework 8 Model Solution Section

D Alembert s Solution to the Wave Equation

DESIGN OF MACHINERY SOLUTION MANUAL h in h 4 0.

Second Order RLC Filters

SCITECH Volume 13, Issue 2 RESEARCH ORGANISATION Published online: March 29, 2018

Probability and Random Processes (Part II)

Homework 3 Solutions

CHAPTER 101 FOURIER SERIES FOR PERIODIC FUNCTIONS OF PERIOD

Part III - Pricing A Down-And-Out Call Option

Fourier Series. MATH 211, Calculus II. J. Robert Buchanan. Spring Department of Mathematics

ON NEGATIVE MOMENTS OF CERTAIN DISCRETE DISTRIBUTIONS

2. Μηχανικό Μαύρο Κουτί: κύλινδρος με μια μπάλα μέσα σε αυτόν.

Chapter 6: Systems of Linear Differential. be continuous functions on the interval

g-selberg integrals MV Conjecture An A 2 Selberg integral Summary Long Live the King Ole Warnaar Department of Mathematics Long Live the King

6. MAXIMUM LIKELIHOOD ESTIMATION

Aquinas College. Edexcel Mathematical formulae and statistics tables DO NOT WRITE ON THIS BOOKLET

Math221: HW# 1 solutions

The k-bessel Function of the First Kind

Bayesian modeling of inseparable space-time variation in disease risk

Statistics 104: Quantitative Methods for Economics Formula and Theorem Review

Exercises 10. Find a fundamental matrix of the given system of equations. Also find the fundamental matrix Φ(t) satisfying Φ(0) = I. 1.

Math 6 SL Probability Distributions Practice Test Mark Scheme

CRASH COURSE IN PRECALCULUS

Parametrized Surfaces

2 Composition. Invertible Mappings

Problem Set 9 Solutions. θ + 1. θ 2 + cotθ ( ) sinθ e iφ is an eigenfunction of the ˆ L 2 operator. / θ 2. φ 2. sin 2 θ φ 2. ( ) = e iφ. = e iφ cosθ.

Inverse trigonometric functions & General Solution of Trigonometric Equations

Areas and Lengths in Polar Coordinates

4.6 Autoregressive Moving Average Model ARMA(1,1)

w o = R 1 p. (1) R = p =. = 1

ΗΜΥ 220: ΣΗΜΑΤΑ ΚΑΙ ΣΥΣΤΗΜΑΤΑ Ι Ακαδημαϊκό έτος Εαρινό Εξάμηνο Κατ οίκον εργασία αρ. 2

Space Physics (I) [AP-3044] Lecture 1 by Ling-Hsiao Lyu Oct Lecture 1. Dipole Magnetic Field and Equations of Magnetic Field Lines

Διπλωματική Εργασία του φοιτητή του Τμήματος Ηλεκτρολόγων Μηχανικών και Τεχνολογίας Υπολογιστών της Πολυτεχνικής Σχολής του Πανεπιστημίου Πατρών

Example of the Baum-Welch Algorithm

CHAPTER 48 APPLICATIONS OF MATRICES AND DETERMINANTS

ΣΔΥΝΟΛΟΓΗΚΟ ΔΚΠΑΗΓΔΤΣΗΚΟ ΗΓΡΤΜΑ ΗΟΝΗΧΝ ΝΖΧΝ «ΗΣΟΔΛΗΓΔ ΠΟΛΗΣΗΚΖ ΔΠΗΚΟΗΝΧΝΗΑ:ΜΔΛΔΣΖ ΚΑΣΑΚΔΤΖ ΔΡΓΑΛΔΗΟΤ ΑΞΗΟΛΟΓΖΖ» ΠΣΤΥΗΑΚΖ ΔΡΓΑΗΑ ΔΤΑΓΓΔΛΗΑ ΣΔΓΟΤ

Chapter 6: Systems of Linear Differential. be continuous functions on the interval

Bessel functions. ν + 1 ; 1 = 0 for k = 0, 1, 2,..., n 1. Γ( n + k + 1) = ( 1) n J n (z). Γ(n + k + 1) k!

Lecture 2: Dirac notation and a review of linear algebra Read Sakurai chapter 1, Baym chatper 3

Practice Exam 2. Conceptual Questions. 1. State a Basic identity and then verify it. (a) Identity: Solution: One identity is csc(θ) = 1

These derivations are not part of the official forthcoming version of Vasilaky and Leonard

C.S. 430 Assignment 6, Sample Solutions

( y) Partial Differential Equations

Space-Time Symmetries

Areas and Lengths in Polar Coordinates

SCHOOL OF MATHEMATICAL SCIENCES G11LMA Linear Mathematics Examination Solutions

The Spiral of Theodorus, Numerical Analysis, and Special Functions

UMI Number: All rights reserved

forms This gives Remark 1. How to remember the above formulas: Substituting these into the equation we obtain with

Econ 2110: Fall 2008 Suggested Solutions to Problem Set 8 questions or comments to Dan Fetter 1

ω ω ω ω ω ω+2 ω ω+2 + ω ω ω ω+2 + ω ω+1 ω ω+2 2 ω ω ω ω ω ω ω ω+1 ω ω2 ω ω2 + ω ω ω2 + ω ω ω ω2 + ω ω+1 ω ω2 + ω ω+1 + ω ω ω ω2 + ω

EE512: Error Control Coding

Finite Field Problems: Solutions

Numerical Analysis FMN011

Depth versus Rigidity in the Design of International Trade Agreements. Leslie Johns

On the k-bessel Functions

Risk! " #$%&'() *!'+,'''## -. / # $

A Two-Sided Laplace Inversion Algorithm with Computable Error Bounds and Its Applications in Financial Engineering

HOMEWORK 4 = G. In order to plot the stress versus the stretch we define a normalized stretch:

6.1. Dirac Equation. Hamiltonian. Dirac Eq.

MATH423 String Theory Solutions 4. = 0 τ = f(s). (1) dτ ds = dxµ dτ f (s) (2) dτ 2 [f (s)] 2 + dxµ. dτ f (s) (3)

ANSWERSHEET (TOPIC = DIFFERENTIAL CALCULUS) COLLECTION #2. h 0 h h 0 h h 0 ( ) g k = g 0 + g 1 + g g 2009 =?

DiracDelta. Notations. Primary definition. Specific values. General characteristics. Traditional name. Traditional notation

Phys460.nb Solution for the t-dependent Schrodinger s equation How did we find the solution? (not required)

HW 3 Solutions 1. a) I use the auto.arima R function to search over models using AIC and decide on an ARMA(3,1)

DERIVATION OF MILES EQUATION FOR AN APPLIED FORCE Revision C

EE101: Resonance in RLC circuits

The Pohozaev identity for the fractional Laplacian

Notes on the Open Economy

k A = [k, k]( )[a 1, a 2 ] = [ka 1,ka 2 ] 4For the division of two intervals of confidence in R +

Transcript:

Additional Results for the Pareto/NBD Model Peter S. Fader www.petefader.com Bruce G. S. Hardie www.brucehardie.com January 24 Abstract This note derives expressions for i) the raw moments of the posterior distribution of Λ M, ii) the marginal posterior distributions of Λ M, iii) P(alive at T + t x, t x, T). Preliminaries Recall the basic Pareto/NBD model results (Fader Hardie 25): i) The individual-level likelihood function for someone with purchase history (x, t x, T) is L(λ, µ x, t x, T) λx µ λ + µ e (λ+µ)tx + λx+ λ + µ e (λ+µ)t. () ii) The likelihood function for a romly chosen individual with purchase history (x, t x, T) is Γ(r + x)αr {( ) ( ) } s r + x A + A 2 (2) r + s + x r + s + x A A 2 2F ( r + s + x, s + ; r + s + x + ; α β α+t x ) (α + t x ) r+s+x if α β 2F ( r + s + x, r + x; r + s + x + ; β α β+t x ) (β + t x ) r+s+x if α < β ( ) 2F r + s + x, s; r + s + x + ; α β α+t if α β (α + T) r+s+x ) 2F ( r + s + x, r + x + ; r + s + x + ; β α β+t (β + T) r+s+x if α < β iii) The probability that a customer with purchase history (x, t x, T) is alive at time T is the probability that the (unobserved) time at which he dies (ω) occurs after T, which is given by P(Ω > T λ, µ; x, t x, T) λx e (λ+µ)t L(λ, µ x, t x, T). (3) c 24 Peter S. Fader Bruce G.S. Hardie. This document can be found at < <http://brucehardie.com/notes/5/>.

iv) The joint posterior distribution of Λ M is g(λ, µ r, α, s, β; x, t x, T) L(λ, µ x, t x, T)g(λ r, α)g(µ s, β) g(λ r, α) αr λ r e λα, (4) is the gamma distribution that captures heterogeneity in transaction rates across customers, g(µ s, β) βs µ s e µβ (6) is the gamma distribution that captures heterogeneity in death rates across customers. One function we will come across is the confluent hypergeometric function of the second kind (also known as the Tricomi function), which has the following integral representation: Ψ(a, c; z) Γ(a) e zt t a ( + t) c a dt. A simple generalization of this is (Gradshteyn Ryzhik 994, equation 3.383 5) e px x q ( + ax) v dx a q Γ(q)Ψ(q, q + v; p/a). (7) 2 Raw Moments of the Posterior Distribution of Λ M For l, m,, 2,..., E[Λ l M m r, α, s, β; x, t x, T] is the (l, m)th raw moment of the joint posterior distribution of Λ M. We derive an expression for this quantity in the following manner. E[Λ l M m r, α, s, β; x, t x, T] λ l µ m g(λ, µ r, α, s, β; x, t x, T) λ l µ m L(λ, µ x, t x, T)g(λ r, α)g(µ s, β) λ l µ m L(λ, µ x, t x, T) αr λ r e λα µ s e µβ L(λ, µ x, t x, T) αr λ r+l e λα µ s+m e µβ Γ(r + l)γ(s + m) L(λ, µ x, t α l β m x, T) αr+l λ r+l e λα +m µ s+m e µβ Γ(r + l) Γ(s + m) Γ(r + l)γ(s + m) L(r + l, α, s + m, β x, t x, T), (8) α l β m L(r + l, α, s + m, β x, t x, T) is simply (2) evaluated using r + l in place of r s + m in place of s. (5) http://functions.wolfram.com/hypergeometricfunctions/hypergeometricu/ 2

3 Marginal Posterior Distributions of the Latent Variables 3. Marginal Posterior of Λ Given the expression for the joint posterior distribution of Λ M, (4), the marginal posterior distribution of Λ is given by: g(λ r, α, s, β; x, t x, T) B αr λ r+x e λ(α+tx) αr λ r+x 2 e λ(α+tx) g(λ, µ r, α, s, β; x, t x, T)dµ B + B 2, (9) µ s (λ + µ) e µ(β+tx) dµ µ s( + µ λ) e µ(β+t x) dµ which, recalling (7) (with p β + t x, q s +, v, a /λ), αr λ r+s+x e λ(α+tx) s Ψ ( s +, s + ; λ(β + t x ) ), () B 2 αr λ r+x e λ(α+t) αr λ r+x e λ(α+t) µ s (λ + µ) e µ(β+t) dµ which, recalling (7) (with p β + T, q s, v, a /λ), µ s ( + µ λ) e µ(β+t) dµ αr λ r+s+x e λ(α+t) Ψ ( s, s; λ(β + T) ). () The mean of this distribution is simply (8) evaluated with l m. 3.2 Marginal Posterior of M Given the expression for the joint posterior distribution of Λ M, (4), the marginal posterior distribution of the M is given by: g(µ r, α, s, β; x, t x, T) C βs µ s e µ(β+tx) βs µ s e µ(β+tx) g(λ, µ r, α, s, β; x, t x, T)dλ C + C 2, (2) λ r+x (λ + µ) e λ(α+tx) dλ λ r+x ( + λ µ ) e λ(α+tx) dλ 3

which, recalling (7) (with p α + t x, q r + x, v, a /µ), βs µ r+s+x e µ(β+tx) r Γ(r + x) α Ψ ( r + x, r + x; µ(α + t x ) ), (3) C 2 βs µ s e µ(β+t) βs µ s 2 e µ(β+t) λ r+x (λ + µ) e λ(α+t) dλ λ r+x ( + λ µ ) e λ(α+t) dλ which, recalling (7) (with p α + T, q r + x +, v, a /µ), βs µ r+s+x e µ(β+t) r Γ(r + x + ) α Ψ ( r + x +, r + x + ; µ(α + T) ). (4) The mean of this distribution is simply (8) evaluated with l m. 4 P(alive at T + t x, t x, T) Sting at time T, what is the probability that a customer with purchase history (x, t x, T) will still be alive at T +t? Let us first derive the conditional distribution of Ω, F(ω r, α, s, β; x, t x, T). Decomposing the structure of this quantity, F(ω r, α, s, β; x,t x, T) By definition, F(ω µ, Ω > T)P(Ω > T λ, µ; x, t x, T)g(λ, µ r, α, s, β; x, t x, T). (5) F(ω µ, Ω > T) S(ω µ, Ω > T) Substituting (3) (6) (6) in (5) gives us F(ω r, α, s, β; x, t x, T) Therefore, S(ω µ) S(T µ) e µ(ω T), ω > T. (6) e µ(ω T) λ x e (λ+µ)t g(λ r, α)g(µ s, β) { }{ } λ x e λt g(λ r, α)dλ e µω g(µ s, β)dµ ( ) r ( ) x ( ) s Γ(r + x) α β /, ω > T. (7) α + T α + T β + ω P(alive at T + t r, α, s, β; x, t x, T) F(T + t r, α, s, β; x, t x, T) ( ) r ( ) x ( ) s Γ(r + x) α β /. (8) α + T α + T β + T + t 4

References Fader, Peter S. Bruce G.S. Hardie (25), A Note on Deriving the Pareto/NBD Model Related Expressions, <http://brucehardie.com/notes/9/>. Gradshteyn, I. S. I. M. Ryzhik (994), Table of Integrals, Series, Products, 5th edition, San Diego, CA: Academic Press. 5