My attempt: Since $f(y;a) = \frac{1}{2a}exp(\frac{-y}{2a})$ for $y>0$, and $f(y;a) = \frac{1}{2a}exp(\frac{y}{2a})$ for $y<0$, it is easy to see $A_n$ is a sufficient statistics for a family $T$ of measure $\left\{f(y;a): x, a > 0\right\}$. This means when generating a sample that is equivalent to $Y_1, Y_2,\ldots Y_n$, we only care about the information of $\sum_{i=1}^{n} S_1+\ldots + S_n = A_n$.
2026-03-27 14:57:34.1774623454
Random sample generated for i.i.d variables
179 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-THEORY
- Is this a commonly known paradox?
- What's $P(A_1\cap A_2\cap A_3\cap A_4) $?
- Another application of the Central Limit Theorem
- proving Kochen-Stone lemma...
- Is there a contradiction in coin toss of expected / actual results?
- Sample each point with flipping coin, what is the average?
- Random variables coincide
- Reference request for a lemma on the expected value of Hermitian polynomials of Gaussian random variables.
- Determine the marginal distributions of $(T_1, T_2)$
- Convergence in distribution of a discretized random variable and generated sigma-algebras
Related Questions in STATISTICAL-INFERENCE
- co-variance matrix of discrete multivariate random variable
- Question on completeness of sufficient statistic.
- Probability of tossing marbles,covariance
- Estimate the square root of the success probability of a Binomial Distribution.
- A consistent estimator for theta is?
- Using averages to measure the dispersion of data
- Confidence when inferring p in a binomial distribution
- A problem on Maximum likelihood estimator of $\theta$
- Derive unbiased estimator for $\theta$ when $X_i\sim f(x\mid\theta)=\frac{2x}{\theta^2}\mathbb{1}_{(0,\theta)}(x)$
- Show that $\max(X_1,\ldots,X_n)$ is a sufficient statistic.
Related Questions in EXPONENTIAL-DISTRIBUTION
- Comparing Exponentials of different rates
- Find probability density function for $\varepsilon \cdot X$.
- What is $\mathbb{E}[X\wedge Y|X]$, where $X,Y$ are independent and $\mathrm{Exp}(\lambda)$- distributed?
- Restaurant sending orders every 5 minutes on average
- How to estimate Reliability function in Weibull by the failure rate
- exponential distribution of an exponential variable
- Joint probability density function of $X$ and $\frac{Y}{X}$
- distribution of Z=X+Y
- Probability of two randomly selected leaves of a tree to be connected only at the root
- Reasonable/unreasonable exponentially distributed interarrival (service) times
Related Questions in SIMULATION
- planar Poisson line process & angles of inclination
- How to convert an approximation of CCDF for a standard normal to an approximation with a different mean and variance?
- Can I have a state as a input signal at a state space model?
- How to generate a large PSD matrix $A \in \mathbb{R}^{n \times n}$, where $\mathcal{O}(n) \sim 10^3$
- Finite-volume method applied to a particular advection equation
- Give two algorithms for generating a random variable.
- How do I tune an IMC(Internal Model Control) - controller?
- Simulating a divide area random variable
- How do I apply prediction to LQR controller?
- Distribution real case
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?
Your last question is answered by saz in the comments.
Here is one approach to the problem. It's not really related to the hints though.
I take the problem to be sample from the conditional distribution of $Y_1,\dots,Y_n,$ given the sum $A_i=\sum_{i=1}^nY_i.$ I will treat this as a reasonable practical problem, where integrating an $n-1$-dimensional conditional pdf is too slow.
First recall (or read on Wikipedia) that $Y_i$ has the same distribution as $X_i-X'_i$ where $X_i,X'_i$ are independent $\mathrm{Exp}(1/a)$ variables. And $B_n=\sum_{i=1}^n X_i$ and $B'_n=\sum_{i=1}^n X'_i$ have independent $\mathrm{Erlang}(n, 1/a)$ distribution, also known as a gamma distribution.
Since $A_n=B_n-B'_n,$ we can think of $A_n$ as a difference of independent $\mathrm{Erlang}(n, 1/a)$ distributed variables. The conditional pdf of $B_n$ is given by
$$f_{B_n|A_n}(x)\propto x^{n-1}e^{-x/a} \cdot (x-A_n)^{n-1}e^{-(x-A_n)/a} $$
for $x\geq A_n.$
This is not a common distribution. One way to sample from it would be to use the binomial expansion
$$x^{n-1}(x-A_n)^{n-1}=(x-A_n+A_n)^{n-1}(x-A_n)^{n-1}=\sum_{j=0}^{n-1}\binom{n-1}{j}(x-A_n)^{n+j}A_n^{n-1-j}$$
which reduces to sampling from a mix of Erlang (i.e. gamma) distributions. (More explanation below)
We can then sample $X_1,\dots,X_n$ conditioned on $B_i,$ which is much easier (see below). Similarly for $X'_1,\dots,X'_n.$ The differences $Y_i=X_i-X'_i$ will then have the correct distribution conditioned on $A_i.$
Sampling from i.i.d. exponentials conditioned on their sum
As mentioned in the comments, the joint pdf of $X_1,…,X_N$ conditioned on their sum $B_i$ is uniform on $\{X_1+\cdots+X_n=B_i\}$. This uniform distribution is homogeneous in $B_i$ - it doesn't depend on $B_i$ except for scaling - so you can just sample i.i.d exponential variables $X_1+\cdots+X_n$ and scale them to have sum $B_i$.
Sampling from a mixture of distributions
It is possible to efficiently sample from a pdf of the form
$$f(x) \propto \sum_{j=0}^{n-1} f_j(x)$$
as long as the integrals $Z_j=\int f_j(x)$ can be computed efficiently. For the case in question $Z_j$ can be expressed in terms of factorials and simple expressions of $a$ and $A_n.$ The marginal pdf of $j$ is given by $Z_j/(Z_0+\dots+Z_{n-1}).$ This involves sampling from a custom pdf, but it's just $n$ different values so can be computed quite quickly. Given $j$, the condition distribution of $x$ is given by $f(x\mid j)=f_j(x),$ e.g. a gamma distribution.