Given two $n$-tuple vectors $\vec{\alpha}=(\alpha_1,\cdots,\alpha_n)$ and $\vec{h}=(h_1,\cdots,h_n)$, where $h_i\ge0$, $\sum_{i=1}^nh_i=1$, and $\alpha_i\in(0,1)$, we consider a random variable $S$ on the interval $[0,1]$. My question is how to find the sufficient and necessary conditions for decomposability of $S$ into $n$ random variables $X_1,~X_2,~\cdots,X_n$ on $[0,1]$ satisfying \begin{equation} \sum_{i=1}^n h_iX_i=S,~\text{and} \end{equation} \begin{equation} \mathbb{E}\left[X_i\right]=\alpha_i. \end{equation}
Please note that the parameters $h_i$ and $\alpha_i$ are given at the start.
Two trivial necessary conditions are given as follows:
- $\mathbb{E}\left[S\right]=\sum_{i=1}^nh_i\alpha_i$;
- $\mathbb{P}\left[X_1=\cdots=X_n=0|S=0\right]=1$ and $\mathbb{P}\left[X_1=\cdots=X_n=1|S=1\right]=1$.