slides: blue -> yellow
This commit is contained in:
parent
b639fdeea3
commit
8b781c599a
@ -86,16 +86,16 @@ How to estimate sample median, mode and FWHM?
|
|||||||
\draw [line width=3, ->, cyclamen] (-5,0) -- (5,0);
|
\draw [line width=3, ->, cyclamen] (-5,0) -- (5,0);
|
||||||
\node [right] at (5,0) {$x$};
|
\node [right] at (5,0) {$x$};
|
||||||
% points
|
% points
|
||||||
\draw [blue!50!black, fill=blue] (-4.6,-0.1) rectangle (-4.8,0.1);
|
\draw [yellow!50!black, fill=yellow] (-4.6,-0.1) rectangle (-4.8,0.1);
|
||||||
\draw [blue!50!black, fill=blue] (-4,-0.1) rectangle (-4.2,0.1);
|
\draw [yellow!50!black, fill=yellow] (-4,-0.1) rectangle (-4.2,0.1);
|
||||||
\draw [blue!50!black, fill=blue] (-3.3,-0.1) rectangle (-3.5,0.1);
|
\draw [yellow!50!black, fill=yellow] (-3.3,-0.1) rectangle (-3.5,0.1);
|
||||||
\draw [blue!50!black, fill=blue] (-2.3,-0.1) rectangle (-2.5,0.1);
|
\draw [yellow!50!black, fill=yellow] (-2.3,-0.1) rectangle (-2.5,0.1);
|
||||||
\draw [blue!50!black, fill=blue] (-0.6,-0.1) rectangle (-0.8,0.1);
|
\draw [yellow!50!black, fill=yellow] (-0.6,-0.1) rectangle (-0.8,0.1);
|
||||||
\draw [blue!50!black, fill=blue] (-0.1,-0.1) rectangle (0.1,0.1);
|
\draw [yellow!50!black, fill=yellow] (-0.1,-0.1) rectangle (0.1,0.1);
|
||||||
\draw [blue!50!black, fill=blue] (1.1,-0.1) rectangle (1.3,0.1);
|
\draw [yellow!50!black, fill=yellow] (1.1,-0.1) rectangle (1.3,0.1);
|
||||||
\draw [blue!50!black, fill=blue] (2,-0.1) rectangle (2.2,0.1);
|
\draw [yellow!50!black, fill=yellow] (2,-0.1) rectangle (2.2,0.1);
|
||||||
\draw [blue!50!black, fill=blue] (2.7,-0.1) rectangle (2.9,0.1);
|
\draw [yellow!50!black, fill=yellow] (2.7,-0.1) rectangle (2.9,0.1);
|
||||||
\draw [blue!50!black, fill=blue] (4,-0.1) rectangle (4.2,0.1);
|
\draw [yellow!50!black, fill=yellow] (4,-0.1) rectangle (4.2,0.1);
|
||||||
% future nodes
|
% future nodes
|
||||||
\node at (-1,-0.3) (1a) {};
|
\node at (-1,-0.3) (1a) {};
|
||||||
\node at (3.1,0.3) (1b) {};
|
\node at (3.1,0.3) (1b) {};
|
||||||
@ -172,10 +172,10 @@ $$
|
|||||||
\begin{center}
|
\begin{center}
|
||||||
\begin{tikzpicture}
|
\begin{tikzpicture}
|
||||||
% points
|
% points
|
||||||
\draw [blue!50!black, fill=blue] (-2,-0.1) rectangle (-1.8,0.1);
|
\draw [yellow!50!black, fill=yellow] (-2,-0.1) rectangle (-1.8,0.1);
|
||||||
\draw [blue!50!black, fill=blue] (-0.1,-0.1) rectangle (0.1,0.1);
|
\draw [yellow!50!black, fill=yellow] (-0.1,-0.1) rectangle (0.1,0.1);
|
||||||
\draw [blue!50!black, fill=blue] (1.3,-0.1) rectangle (1.5,0.1);
|
\draw [yellow!50!black, fill=yellow] (1.3,-0.1) rectangle (1.5,0.1);
|
||||||
\draw [blue!50!black, fill=blue] (0.7,-0.1) rectangle (0.9,0.1);
|
\draw [yellow!50!black, fill=yellow] (0.7,-0.1) rectangle (0.9,0.1);
|
||||||
\pause
|
\pause
|
||||||
% lines
|
% lines
|
||||||
\draw [cyclamen, dashed] (-1.9,0.1) -- (-1.9,1);
|
\draw [cyclamen, dashed] (-1.9,0.1) -- (-1.9,1);
|
||||||
@ -194,7 +194,7 @@ $$
|
|||||||
\pause
|
\pause
|
||||||
% sum
|
% sum
|
||||||
\draw [fill=white, white, opacity=0.5] (-3.5,0.1) rectangle (3,1.3);
|
\draw [fill=white, white, opacity=0.5] (-3.5,0.1) rectangle (3,1.3);
|
||||||
\draw[domain=-3.4:3.4, smooth, variable=\x, blue, very thick]
|
\draw[domain=-3.4:3.4, smooth, variable=\x, yellow, very thick]
|
||||||
plot ({\x}, {exp(-(\x + 1.9)*(\x + 1.9)) +
|
plot ({\x}, {exp(-(\x + 1.9)*(\x + 1.9)) +
|
||||||
exp(-\x*\x) +
|
exp(-\x*\x) +
|
||||||
exp(-(\x - 1.4)*(\x - 1.4)) +
|
exp(-(\x - 1.4)*(\x - 1.4)) +
|
||||||
|
@ -37,18 +37,18 @@ Quantify distance between expected and observed CDF. KS statistic:
|
|||||||
\draw [cyclamen, fill=cyclamen!20!white] ( 1.6,0) rectangle ( 2.3,4);
|
\draw [cyclamen, fill=cyclamen!20!white] ( 1.6,0) rectangle ( 2.3,4);
|
||||||
\draw [cyclamen, fill=cyclamen!20!white] ( 2.3,0) rectangle ( 2.5,4.5);
|
\draw [cyclamen, fill=cyclamen!20!white] ( 2.3,0) rectangle ( 2.5,4.5);
|
||||||
% points
|
% points
|
||||||
\draw [blue!50!black, fill=blue] (-2.6,-0.1) rectangle (-2.4,0.1); %-2.5
|
\draw [yellow!50!black, fill=yellow] (-2.6,-0.1) rectangle (-2.4,0.1); %-2.5
|
||||||
\draw [blue!50!black, fill=blue] (-1.6,-0.1) rectangle (-1.4,0.1); %-1.5
|
\draw [yellow!50!black, fill=yellow] (-1.6,-0.1) rectangle (-1.4,0.1); %-1.5
|
||||||
\draw [blue!50!black, fill=blue] (-1,-0.1) rectangle (-0.8,0.1); %-0.9
|
\draw [yellow!50!black, fill=yellow] (-1,-0.1) rectangle (-0.8,0.1); %-0.9
|
||||||
\draw [blue!50!black, fill=blue] (-0.7,-0.1) rectangle (-0.5,0.1); %-0.6
|
\draw [yellow!50!black, fill=yellow] (-0.7,-0.1) rectangle (-0.5,0.1); %-0.6
|
||||||
\draw [blue!50!black, fill=blue] (0.4,-0.1) rectangle (0.6,0.1); % 0.5
|
\draw [yellow!50!black, fill=yellow] (0.4,-0.1) rectangle (0.6,0.1); % 0.5
|
||||||
\draw [blue!50!black, fill=blue] (0.6,-0.1) rectangle (0.8,0.1); % 0.7
|
\draw [yellow!50!black, fill=yellow] (0.6,-0.1) rectangle (0.8,0.1); % 0.7
|
||||||
\draw [blue!50!black, fill=blue] (1.1,-0.1) rectangle (1.3,0.1); % 1.2
|
\draw [yellow!50!black, fill=yellow] (1.1,-0.1) rectangle (1.3,0.1); % 1.2
|
||||||
\draw [blue!50!black, fill=blue] (1.5,-0.1) rectangle (1.7,0.1); % 1.6
|
\draw [yellow!50!black, fill=yellow] (1.5,-0.1) rectangle (1.7,0.1); % 1.6
|
||||||
\draw [blue!50!black, fill=blue] (2.2,-0.1) rectangle (2.4,0.1); % 2.3
|
\draw [yellow!50!black, fill=yellow] (2.2,-0.1) rectangle (2.4,0.1); % 2.3
|
||||||
% expected
|
% expected
|
||||||
\pause
|
\pause
|
||||||
\draw[domain=-2.5:2.5, yscale=5, smooth, variable=\x, blue, very thick]
|
\draw[domain=-2.5:2.5, yscale=5, smooth, variable=\x, yellow, very thick]
|
||||||
plot ({\x}, {((atan(\x)*pi/180) + pi/2)/pi});
|
plot ({\x}, {((atan(\x)*pi/180) + pi/2)/pi});
|
||||||
\pause
|
\pause
|
||||||
\draw [very thick, cyclamen, <->] (0.5,2.5) -- (0.5,3.25);
|
\draw [very thick, cyclamen, <->] (0.5,2.5) -- (0.5,3.25);
|
||||||
|
Loading…
Reference in New Issue
Block a user