{"id":2530,"date":"2015-03-22T19:56:19","date_gmt":"2015-03-23T00:56:19","guid":{"rendered":"http:\/\/www.ssc.wisc.edu\/~jfrees\/?page_id=2530"},"modified":"2015-08-27T12:58:12","modified_gmt":"2015-08-27T17:58:12","slug":"13-6-tweedie-distribution","status":"publish","type":"page","link":"https:\/\/users.ssc.wisc.edu\/~ewfrees\/regression\/chapter-13-generalized-linear-models\/13-6-tweedie-distribution\/","title":{"rendered":"13.6 Tweedie Distribution"},"content":{"rendered":"<p><div class=\"scbb-content-box scbb-content-box-gray\">In this section, you learn how to: \n<ul>\n<li>\n    Define the Tweedie distribution as a Poisson sum of gamma random variables\n<\/li>\n<li>\n    Express the distribution as a mixture of discrete and continuous components\n<\/li>\n<li>\n    Parameterize the Tweedie distribution to that it can be used in a GLM context\n<\/li>\n<\/ul>\n<h2 style=\"text-align: center\"><a href=\"http:\/\/flash.bus.wisc.edu\/data\/act_sci\/Frees\/Regression2015\/Chapter13\/TweedieModels\/TweedieModels.html\">Video Overview of the Section <\/a><a href=\"http:\/\/flash.bus.wisc.edu\/data\/act_sci\/Frees\/Regression2015\/Chapter13\/TweedieModels\/TweedieModels.mp4\" target=\"_blank\">(<em>Alternative .mp4 Version -5:30 min<\/em>)<\/a><\/h2>\n<p><\/p><\/div><br \/>\nWe have seen that the natural exponential family includes continuous distributions, such as the normal and gamma, as well as discrete distributions, such as the binomial and Poisson. It also includes distributions that are mixtures of discrete and continuous components. In insurance claims modeling, the most widely used mixture is the Tweedie (1984) distribution. It has a positive mass at zero representing no claims and a continuous component for positive values representing the amount of a claim. <\/p>\n<p> The Tweedie distribution is defined as a Poisson sum of gamma random variables, known as an <em>aggregate loss<\/em> in actuarial science. Specifically, suppose that \\(N\\) has a Poisson distribution with mean \\(\\lambda\\), representing the number of claims. Let {\\(y_j\\)} be an i.i.d. sequence, independent of \\(N\\), with each \\(y_j\\) having a gamma distribution with parameters \\(\\alpha\\) and \\(\\gamma\\), representing the amount of a claim. Then, \\(S_N = y_1 + \\ldots + y_N\\) is Poisson sum of gammas. Section 16.5 will discuss aggregate loss models in further detail. This section focuses on the important special case of the Tweedie distribution. <\/p>\n<p> To understand the mixture aspect of the Tweedie distribution, first note that it is straightforward to compute the probability of zero claims as<br \/>\n\\begin{equation*}<br \/>\n\\Pr ( S_N=0) = \\Pr (N=0) = e^{-\\lambda}.<br \/>\n \\end{equation*} The distribution function can be computed using conditional expectations,<br \/>\n\\begin{equation*}<br \/>\n\\Pr ( S_N \\leq y) = e^{-\\lambda}+\\sum_{n=1}^{\\infty} \\Pr(N=n) \\Pr(S_n \\leq y), ~~~~~y \\geq 0.<br \/>\n\\end{equation*} Because the sum of i.i.d. gammas is a gamma, \\(S_n\\) (not \\(S_N\\)) has a gamma distribution with parameters \\(n\\alpha\\) and \\(\\gamma\\). Thus, for \\(y>0\\), the density of the Tweedie distribution is<br \/>\n\\begin{equation}<br \/>\n \\mathrm{f}_{S}(y) = \\sum_{n=1}^{\\infty} e^{-\\lambda} \\frac{\\lambda ^n}{n!} \\frac{\\gamma^{n \\alpha}}{\\Gamma(n \\alpha)} y^{n \\alpha -1} e^{-y \\gamma}.<br \/>\n\\end{equation} <\/p>\n<p> At first glance, this density does not appear to be a member of the linear exponential family. To see the relationship, we first calculate the moments using iterated expectations as<br \/>\n\\begin{equation}<br \/>\n \\mathrm{E~}S_N = \\lambda \\frac{\\alpha}{\\gamma}~~~~~~\\mathrm{and}~~~~~ \\mathrm{Var~}S_N = \\frac{\\lambda \\alpha}{\\gamma^2} (1+\\alpha).<br \/>\n \\end{equation} Now, define three parameters \\(\\mu, \\phi,  p\\) through the relations<br \/>\n\\begin{equation*}<br \/>\n\\lambda = \\frac{\\mu^{2-p}}{\\phi (2-p)},~~~~~~\\alpha = \\frac{2-p}{p-1}~~~~~~\\mathrm{and}~~~~~ \\frac{1}{\\gamma} = \\phi(p-1)\\mu^{p-1}.<br \/>\n\\end{equation*} Inserting these new parameters yields<br \/>\n\\begin{equation}<br \/>\n \\mathrm{f}_{S}(y) = \\exp \\left[ \\frac{-1}{\\phi} \\left( \\frac{\\mu^{2-p}}{2-p} + \\frac{y}{(p-1)\\mu^{p-1}} \\right) +S(y,\\phi) \\right].<br \/>\n\\end{equation} We leave the calculation of \\(S(y,\\phi)\\) as an exercise. <\/p>\n<p> Thus, the Tweedie distribution is a member of the linear exponential family. Easy calculations show that \\begin{equation}<br \/>\n\\mathrm{E~}S_N = \\mu~~~~~~\\mathrm{and}~~~~~ \\mathrm{Var~}S_N = \\phi \\mu^p,<br \/>\n \\end{equation} where 1 &lt; p &lt; 2. Examining our variance function Table 13.1, the Tweedie distribution can also be viewed as a choice that is intermediate between the Poisson and the gamma distributions. <\/p>\n<p><div class=\"alignleft\"><a href=\"https:\/\/users.ssc.wisc.edu\/~ewfrees\/regression\/chapter-13-generalized-linear-models\/13-5-residuals\/\" title=\"Protected: 13.5 Residuals\">&#9668 Previous page<\/a><\/div><div class=\"alignright\"><a href=\"https:\/\/users.ssc.wisc.edu\/~ewfrees\/regression\/chapter-13-generalized-linear-models\/13-7-technical-supplements-exponential-family\/\" title=\"Protected: 13.7 Technical Supplements &#8211; Exponential Family\">Next page &#9658<\/a><\/div><\/p>\n","protected":false},"excerpt":{"rendered":"<p>We have seen that the natural exponential family includes continuous distributions, such as the normal and gamma, as well as discrete distributions, such as the binomial and Poisson. It also includes distributions that are mixtures &hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":2471,"menu_order":6,"comment_status":"closed","ping_status":"open","template":"","meta":{"jetpack_post_was_ever_published":false},"jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/P8cLPd-EO","acf":[],"_links":{"self":[{"href":"https:\/\/users.ssc.wisc.edu\/~ewfrees\/wp-json\/wp\/v2\/pages\/2530"}],"collection":[{"href":"https:\/\/users.ssc.wisc.edu\/~ewfrees\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/users.ssc.wisc.edu\/~ewfrees\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/users.ssc.wisc.edu\/~ewfrees\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/users.ssc.wisc.edu\/~ewfrees\/wp-json\/wp\/v2\/comments?post=2530"}],"version-history":[{"count":10,"href":"https:\/\/users.ssc.wisc.edu\/~ewfrees\/wp-json\/wp\/v2\/pages\/2530\/revisions"}],"predecessor-version":[{"id":5157,"href":"https:\/\/users.ssc.wisc.edu\/~ewfrees\/wp-json\/wp\/v2\/pages\/2530\/revisions\/5157"}],"up":[{"embeddable":true,"href":"https:\/\/users.ssc.wisc.edu\/~ewfrees\/wp-json\/wp\/v2\/pages\/2471"}],"wp:attachment":[{"href":"https:\/\/users.ssc.wisc.edu\/~ewfrees\/wp-json\/wp\/v2\/media?parent=2530"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}