I am working with two probability generating functions of independent variables and want the pgf of the difference of the independent variables. Each pgf behaves normally on its own, but when I go to combine them, online calculators have a hard time computing them. I have the pgf of X as $P_X(s) = s^{k-1}(\frac{ps}{1-qs})^{k}$ where $k$ is the parameter and the support is $2k-1$ to infinity. The pgf for Y is $P_Y(s) = \frac{p^{k}(1-ps)s^{k}}{1-s+qp^{k}s^{k+1}}$ where $k$ is the parameter and the support is $k$ to infinity. I have that $P_{X-Y}(s) = s^{k-1}(\frac{ps}{1-qs})^{k} (\frac{p^{k}(1-\frac{p}{s})(\frac{1}{s})^{k}}{1-\frac{1}{s}+qp^{k}(\frac{1}{s})^{k+1}})$ I have found this simplifies to $P_{X-Y} = (\frac{ps}{1-qs})^{k}(\frac{p^{k}(s^{k}-ps^{k-1})}{s^{k+1}-s^{k}+qp^{k}})$ If anyone can tell me where the problem is as each behaves on its own but once combined I get negative values as probabilities. Could the problem be in the supports? Curious if anyone can help.
2026-03-28 10:55:44.1774695344
Why is my probability generating function for difference of two variables not working?
105 Views Asked by Bumbble Comm https://math.techqa.club/user/bumbble-comm/detail At
1
There are 1 best solutions below
Related Questions in PROBABILITY
- How to prove $\lim_{n \rightarrow\infty} e^{-n}\sum_{k=0}^{n}\frac{n^k}{k!} = \frac{1}{2}$?
- Is this a commonly known paradox?
- What's $P(A_1\cap A_2\cap A_3\cap A_4) $?
- Prove or disprove the following inequality
- Another application of the Central Limit Theorem
- Given is $2$ dimensional random variable $(X,Y)$ with table. Determine the correlation between $X$ and $Y$
- A random point $(a,b)$ is uniformly distributed in a unit square $K=[(u,v):0<u<1,0<v<1]$
- proving Kochen-Stone lemma...
- Solution Check. (Probability)
- Interpreting stationary distribution $P_{\infty}(X,V)$ of a random process
Related Questions in STATISTICS
- Given is $2$ dimensional random variable $(X,Y)$ with table. Determine the correlation between $X$ and $Y$
- Statistics based on empirical distribution
- Given $U,V \sim R(0,1)$. Determine covariance between $X = UV$ and $V$
- Fisher information of sufficient statistic
- Solving Equation with Euler's Number
- derive the expectation of exponential function $e^{-\left\Vert \mathbf{x} - V\mathbf{x}+\mathbf{a}\right\Vert^2}$ or its upper bound
- Determine the marginal distributions of $(T_1, T_2)$
- KL divergence between two multivariate Bernoulli distribution
- Given random variables $(T_1,T_2)$. Show that $T_1$ and $T_2$ are independent and exponentially distributed if..
- Probability of tossing marbles,covariance
Related Questions in PROBABILITY-DISTRIBUTIONS
- Given is $2$ dimensional random variable $(X,Y)$ with table. Determine the correlation between $X$ and $Y$
- Statistics based on empirical distribution
- Given $U,V \sim R(0,1)$. Determine covariance between $X = UV$ and $V$
- Comparing Exponentials of different rates
- Linear transform of jointly distributed exponential random variables, how to identify domain?
- Closed form of integration
- Given $X$ Poisson, and $f_{Y}(y\mid X = x)$, find $\mathbb{E}[X\mid Y]$
- weak limit similiar to central limit theorem
- Probability question: two doors, select the correct door to win money, find expected earning
- Calculating $\text{Pr}(X_1<X_2)$
Related Questions in GRAPHING-FUNCTIONS
- Lower bound of bounded functions.
- Do Irrational Conjugates always come in pairs?
- Graph rotation: explanation of equation
- Plot function y = tan(yx)
- Sketching a lemniscate curve with a max function?
- 3 points on a graph
- show $f(x)=f^{-1}(x)=x-\ln(e^x-1)$
- What is this method of sketching a third degree curve?
- Getting a sense of $f(x) = x (\log x)^6$
- Can I describe an arbitrary graph?
Related Questions in MOMENT-GENERATING-FUNCTIONS
- Is it possible to find an upper bound on the moment generating function of $\sqrt{|X|}$, where $X\sim \mathcal{N}(0,1)$?
- Moment Generating Function to Distribution
- moment-generating function for uniform discrete distribution
- Moment Generating Function from Piecewise Constant CDF?
- Variance Derivation of Chi-Squared Distribution
- Finding a PDF from a MGF
- How to prove sample variance has a gamma distribution by using mgf.
- Is $\mathcal{L}_{M}(\Omega, \mathcal{F}, \mathbb{P})$ a linear subspace?
- Let $X$ and $Y$ be independent and identically distributed random variables with moment generating function then $E(\dfrac{e^{tX}}{e^{tY}})$
- Joint Moment Generating Function from Conditional and Marginal Distribution
Trending Questions
- Induction on the number of equations
- How to convince a math teacher of this simple and obvious fact?
- Find $E[XY|Y+Z=1 ]$
- Refuting the Anti-Cantor Cranks
- What are imaginary numbers?
- Determine the adjoint of $\tilde Q(x)$ for $\tilde Q(x)u:=(Qu)(x)$ where $Q:U→L^2(Ω,ℝ^d$ is a Hilbert-Schmidt operator and $U$ is a Hilbert space
- Why does this innovative method of subtraction from a third grader always work?
- How do we know that the number $1$ is not equal to the number $-1$?
- What are the Implications of having VΩ as a model for a theory?
- Defining a Galois Field based on primitive element versus polynomial?
- Can't find the relationship between two columns of numbers. Please Help
- Is computer science a branch of mathematics?
- Is there a bijection of $\mathbb{R}^n$ with itself such that the forward map is connected but the inverse is not?
- Identification of a quadrilateral as a trapezoid, rectangle, or square
- Generator of inertia group in function field extension
Popular # Hahtags
second-order-logic
numerical-methods
puzzle
logic
probability
number-theory
winding-number
real-analysis
integration
calculus
complex-analysis
sequences-and-series
proof-writing
set-theory
functions
homotopy-theory
elementary-number-theory
ordinary-differential-equations
circles
derivatives
game-theory
definite-integrals
elementary-set-theory
limits
multivariable-calculus
geometry
algebraic-number-theory
proof-verification
partial-derivative
algebra-precalculus
Popular Questions
- What is the integral of 1/x?
- How many squares actually ARE in this picture? Is this a trick question with no right answer?
- Is a matrix multiplied with its transpose something special?
- What is the difference between independent and mutually exclusive events?
- Visually stunning math concepts which are easy to explain
- taylor series of $\ln(1+x)$?
- How to tell if a set of vectors spans a space?
- Calculus question taking derivative to find horizontal tangent line
- How to determine if a function is one-to-one?
- Determine if vectors are linearly independent
- What does it mean to have a determinant equal to zero?
- Is this Batman equation for real?
- How to find perpendicular vector to another vector?
- How to find mean and median from histogram
- How many sides does a circle have?
Like OP, I use the notation $P_A(s) = \mathbb{E}[s^A]$ (with $s\geq 0$) for the probability generating function of the random variable $A$.
$P_X$ is only defined for $0\leq s<q^{-1} = (1-p)^{-1}$, and $P_Y$ is only defined on $[0,s_0)$, where $s_0$ is the smallest positive solution of $s - (1-p)p^k s^{k+1} = 1$ or $+\infty$ if there is no positive solution. Then $P_{-Y}(s) = P_Y(s^{-1})$ is defined for $s>s_0^{-1}$. Taking the product of the pgf, we obtain that $P_{X-Y}$ is defined on the interval $(s_0^{-1},(1-p)^{-1})$. On this interval, $P_{X-Y}$ is always positive. I think this addresses OP's question.
Note: Where OP’s formulas come from is really hard to understand, but we can recognize the following: $$ P_X(s) = s^{2k-1} \left( \frac{p}{1-qs} \right)^k = P_{2k-1}(s) P_{G}(s) $$ so that $X = (2k-1)+G$, where $G$ is a negative binomial distribution NB(k,p) (using the parametrization of https://en.wikipedia.org/wiki/Negative_binomial_distribution) --- and we need $p+q=1$, a condition that OP forgot. I have no idea about what $Y$ is, except that $Y-k$ is a $\mathbb{N}$-valued random variable --- I trust the OP that this is the pgf of some actual random variable.