<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">\usetikzlibrary{shapes.geometric}

\begin{tikzpicture}
	\node[font=\footnotesize] (overall) at (0,0){\small\bfnew{总 \ \ \ \ 体}};
	\node[anchor=north,font=\footnotesize] (hypo) at ([yshift=-3em]overall.south){某种假设};
	\coordinate (A) at ([yshift=-3.5em,xshift=-1.6em]overall);
	\coordinate (B) at ([yshift=0.3em,xshift=0.3em]A);
	\draw[] (B)  .. controls +(east:1.3em) and +(west:0.3em) .. ([xshift=1.5em,yshift=2em]B) .. controls +(east:0.3em) and +(west:1.3em) .. ([xshift=3em]B);
	\draw[&lt;-&gt;] ([yshift=2.4em]A) -- (A) -- ([xshift=3.7em]A);
	\begin{pgfonlayer}{background}
        	\node [draw,thick,rectangle,inner sep=0.5em,rounded corners=2pt,fill=red!15,drop shadow] [fit = (overall)(hypo)] (box1) {};
    \end{pgfonlayer}
	\node[draw,fill=yellow!15,thick,anchor=west,font=\footnotesize,align=center,drop shadow](sample) at ([xshift=4em]box1.east){样本\\观察结果};
	\node[anchor=west,draw,diamond,fill=ugreen!15,drop shadow,aspect=2,font=\scriptsize,align=center,inner sep=1pt,thick] (judge) at ([xshift=3em]sample.east){小概率事件\\发生？};
	\node[draw,fill=blue!10,thick,drop shadow,anchor=west,font=\footnotesize,align=center,thick](refuse) at ([xshift=6em]judge.north){拒绝原假设};
	\node[draw,fill=blue!10,thick,drop shadow,anchor=west,font=\footnotesize,align=center,thick](accept) at ([xshift=6em]judge.south){接受原假设};
	\draw[-&gt;,thick] (box1.east) -- node[above,font=\scriptsize]{抽样}(sample.west);
	\draw[-&gt;,thick] (sample.east) -- node[above,font=\scriptsize]{检验}(judge.west);
	\draw[-&gt;,thick] (judge.north) -- node[above,font=\scriptsize]{是}(refuse.west);
	\draw[-&gt;,thick] (judge.south) -- node[below,font=\scriptsize]{否}(accept.west);
\end{tikzpicture}
</pre></body></html>