Posts

Showing posts from February 9, 2019

Proving $mathbb{P}(xi_1+ xi_2+…+xi_n=1)=(sum_{i=1}^{n}lambda_i)Delta + mathcal{R}Delta^2$

Image
0 $begingroup$ Let $xi_1, xi_2,...,xi_n$ be independent Bernoulli random variables in $(Omega,mathcal{P}(Omega),mathbb{P})$ and $$mathbb{P}(xi_i=0)=1-lambda_iDelta$$ and $$mathbb{P}(xi_i=1)=lambda_iDelta.$$ Here $lambda_1,lambda_2,...,lambda_n$ are positive parameters and $0< Delta <frac{1}{2max{lambda_1,lambda_2,...,lambda_n}}$ . We need to show $$mathbb{P}(xi_1+ xi_2+...+xi_n=1)=(sum_{i=1}^{n}lambda_i)Delta + mathcal{R}Delta^2,$$ where $|mathcal{R}| leq 2(sum_{i=1}^{n}lambda_i^2+(sum_{i=1}^{n}lambda_i)^2)$ How I should start and what to do? I really have no idea. Can somebody explain this to me? probability probability-theory random-variables bernoulli-numbers share | cite | improve this qu

Why is C/C++ main argv declared as “char* argv[]” rather than just “char* argv”?

Image
22 7 Why is argv declared as "a pointer to pointer to the first index of the array", rather than just being "a pointer to the first index of array" ( char* argv )? Why is the notion of "pointer to pointer" required here? c++ c share | improve this question edited Jan 21 at 11:26 Peter Mortensen 1,115 2 11 14 asked Jan 20 at 0:48 a user a user 123 1 4