diff --git a/Lectures_my/MC_2016/Lecture5/mchrzasz.log b/Lectures_my/MC_2016/Lecture5/mchrzasz.log index 73fff51..f912b64 100644 --- a/Lectures_my/MC_2016/Lecture5/mchrzasz.log +++ b/Lectures_my/MC_2016/Lecture5/mchrzasz.log @@ -1,4 +1,4 @@ -This is XeTeX, Version 3.1415926-2.5-0.9999.3 (TeX Live 2013/Debian) (format=xelatex 2015.4.1) 5 APR 2016 14:48 +This is XeTeX, Version 3.1415926-2.5-0.9999.3 (TeX Live 2013/Debian) (format=xelatex 2015.4.1) 21 APR 2016 20:03 entering extended mode restricted \write18 enabled. %&-line parsing enabled. diff --git a/Lectures_my/MC_2016/Lecture5/mchrzasz.pdf b/Lectures_my/MC_2016/Lecture5/mchrzasz.pdf index 4dfe060..9ac9dd3 100644 --- a/Lectures_my/MC_2016/Lecture5/mchrzasz.pdf +++ b/Lectures_my/MC_2016/Lecture5/mchrzasz.pdf Binary files differ diff --git a/Lectures_my/MC_2016/Lecture5/mchrzasz.synctex.gz b/Lectures_my/MC_2016/Lecture5/mchrzasz.synctex.gz deleted file mode 100644 index 71d68c1..0000000 --- a/Lectures_my/MC_2016/Lecture5/mchrzasz.synctex.gz +++ /dev/null Binary files differ diff --git a/Lectures_my/MC_2016/Lecture5/mchrzasz.tex b/Lectures_my/MC_2016/Lecture5/mchrzasz.tex index fd572a5..cce2dc9 100644 --- a/Lectures_my/MC_2016/Lecture5/mchrzasz.tex +++ b/Lectures_my/MC_2016/Lecture5/mchrzasz.tex @@ -345,7 +345,7 @@ \item For $N$ random numbers we have $N-m+1$ such numbers. \item We define the statistics: \begin{align*} -\psi_0^2=0,~~~~~\psi^2_m=\sum_{i=1}^{k^m}\dfrac{\left[n_1 - \left(N-m+1 \right)/k^m\right]^2}{\left(N-m+1\right)k^m},~~~m=1,2,... +\psi_0^2=0,~~~~~\psi^2_m=\sum_{i=1}^{k^m}\dfrac{\left[n_i - \left(N-m+1 \right)/k^m\right]^2}{\left(N-m+1\right)/k^m},~~~m=1,2,... \end{align*} \item For large $N$ the $(\psi^2_m-\psi^2_{m-1})$ has a $\chi^2$ distribution with $k^m-k^{m-1}$ degrees of freedom. \end{itemize} diff --git a/Lectures_my/MC_2016/Lecture7/mchrzasz.log b/Lectures_my/MC_2016/Lecture7/mchrzasz.log index 0bf0f07..e03a068 100644 --- a/Lectures_my/MC_2016/Lecture7/mchrzasz.log +++ b/Lectures_my/MC_2016/Lecture7/mchrzasz.log @@ -1,4 +1,4 @@ -This is XeTeX, Version 3.1415926-2.5-0.9999.3 (TeX Live 2013/Debian) (format=xelatex 2015.4.1) 21 APR 2016 15:56 +This is XeTeX, Version 3.1415926-2.5-0.9999.3 (TeX Live 2013/Debian) (format=xelatex 2015.4.1) 22 APR 2016 17:42 entering extended mode restricted \write18 enabled. %&-line parsing enabled. diff --git a/Lectures_my/MC_2016/Lecture7/mchrzasz.pdf b/Lectures_my/MC_2016/Lecture7/mchrzasz.pdf index c93a094..5ea4e85 100644 --- a/Lectures_my/MC_2016/Lecture7/mchrzasz.pdf +++ b/Lectures_my/MC_2016/Lecture7/mchrzasz.pdf Binary files differ diff --git a/Lectures_my/MC_2016/Lecture7/mchrzasz.synctex.gz b/Lectures_my/MC_2016/Lecture7/mchrzasz.synctex.gz deleted file mode 100644 index 8d84cb6..0000000 --- a/Lectures_my/MC_2016/Lecture7/mchrzasz.synctex.gz +++ /dev/null Binary files differ diff --git a/Lectures_my/MC_2016/Lecture7/mchrzasz.tex b/Lectures_my/MC_2016/Lecture7/mchrzasz.tex index d5fa317..a7a66ae 100644 --- a/Lectures_my/MC_2016/Lecture7/mchrzasz.tex +++ b/Lectures_my/MC_2016/Lecture7/mchrzasz.tex @@ -377,7 +377,7 @@ \begin{itemize} \item Generate $R_1,R_2 \in \mathcal{U}(0,1)$ and calculate the $U_1=2R_1-1,~U_2=2R_2-1$ \item Calculate $W=U_1^2+U_2^2$. -\item If $W<1$ start over. +\item If $W>1$ start over. \item Calculate the $X=U_1 Z$ and $Y=U_2 Z$, where $Z=\sqrt{\frac{-2 \ln W}{W}}$ \end{itemize} \ARROW E7.2 Generate $N(0,1)$ using \cdf~reverting and Marsaglia \& Bray method.