# SplicedDistribution

SplicedDistribution[{w1,w2,,wn},{c0,c1,,cn},{dist1,dist2,,distn}]

represents the distribution obtained by splicing the distributions dist1, dist2, truncated on the intervals {c0,c1}, {c1,c2}, with weights w1, w2, .

# Details • SplicedDistribution is equivalent to MixtureDistribution[{w1,w2,},{TruncatedDistribution[{c0,c1},dist1],}].
• The distributions dist1, dist2, need to be all continuous univariate distributions.
• The weights wi can be any non-negative real numbers.
• The interval limits can be any real numbers such that .
• SplicedDistribution can be used with such functions as Mean, CDF, and RandomVariate, etc.

# Examples

open all close all

## Basic Examples(2)

Define a spliced distribution with a normal body and a Pareto tail:

 In:= Probability density function:

 In:= Out= In:= Out= Find the mean and variance of a spliced distribution:

 In:= In:= Out= Compare with the values obtained by using a random sample:

 In:= In:= Out= ## Properties & Relations(3)

Introduced in 2012
(9.0)
|
Updated in 2016
(10.4)