exercise:C3429ec6ef: Difference between revisions

From Stochiki
(Created page with "<div class="d-none"><math> \newcommand{\indexmark}[1]{#1\markboth{#1}{#1}} \newcommand{\red}[1]{\textcolor{red}{#1}} \newcommand{\NOTE}[1]{$^{\textcolor{red}\clubsuit}$\marginpar{\setstretch{0.5}$^{\scriptscriptstyle\textcolor{red}\clubsuit}$\textcolor{blue}{\bf\tiny #1}}} \newcommand\xoverline[2][0.75]{% \sbox{\myboxA}{$\m@th#2$}% \setbox\myboxB\null% Phantom box \ht\myboxB=\ht\myboxA% \dp\myboxB=\dp\myboxA% \wd\myboxB=#1\wd\myboxA% Scale phantom...")
 
No edit summary
 
Line 1: Line 1:
<div class="d-none"><math>
<div class="d-none"><math>
\newcommand{\indexmark}[1]{#1\markboth{#1}{#1}}
\newcommand{\smallfrac}[2]{\frac{#1}{#2}}
\newcommand{\red}[1]{\textcolor{red}{#1}}
\newcommand{\medfrac}[2]{\frac{#1}{#2}}
\newcommand{\NOTE}[1]{$^{\textcolor{red}\clubsuit}$\marginpar{\setstretch{0.5}$^{\scriptscriptstyle\textcolor{red}\clubsuit}$\textcolor{blue}{\bf\tiny #1}}}
\newcommand{\textfrac}[2]{\frac{#1}{#2}}
\newcommand\xoverline[2][0.75]{%
    \sbox{\myboxA}{$\m@th#2$}%
    \setbox\myboxB\null% Phantom box
    \ht\myboxB=\ht\myboxA%
    \dp\myboxB=\dp\myboxA%
    \wd\myboxB=#1\wd\myboxA% Scale phantom
    \sbox\myboxB{$\m@th\overline{\copy\myboxB}$}%  Overlined phantom
    \setlength\mylenA{\the\wd\myboxA}%  calc width diff
    \addtolength\mylenA{-\the\wd\myboxB}%
    \ifdim\wd\myboxB<\wd\myboxA%
      \rlap{\hskip 0.35\mylenA\usebox\myboxB}{\usebox\myboxA}%
    \else
        \hskip -0.5\mylenA\rlap{\usebox\myboxA}{\hskip 0.5\mylenA\usebox\myboxB}%
    \fi}
\newcommand{\smallfrac}[2]{\scalebox{1.35}{\ensuremath{\frac{#1}{#2}}}}
\newcommand{\medfrac}[2]{\scalebox{1.2}{\ensuremath{\frac{#1}{#2}}}}
\newcommand{\textfrac}[2]{{\textstyle\ensuremath{\frac{#1}{#2}}}}
\newcommand{\nsum}[1][1.4]{% only for \displaystyle
    \mathop{%
        \raisebox
            {-#1\depthofsumsign+1\depthofsumsign}
\newcommand{\tr}{\operatorname{tr}}
\newcommand{\tr}{\operatorname{tr}}
\newcommand{\e}{\operatorname{e}}
\newcommand{\e}{\operatorname{e}}
\newcommand{\B}{\operatorname{B}}
\newcommand{\B}{\operatorname{B}}
\newcommand{\Bbar}{\xoverline[0.75]{\operatorname{B}}}
\newcommand{\Bbar}{\overline{\operatorname{B}}}
\newcommand{\pr}{\operatorname{pr}}
\newcommand{\pr}{\operatorname{pr}}
\newcommand{\dd}{\operatorname{d}\hspace{-1pt}}
\newcommand{\dd}{\operatorname{d}}
\newcommand{\E}{\operatorname{E}}
\newcommand{\E}{\operatorname{E}}
\newcommand{\V}{\operatorname{V}}
\newcommand{\V}{\operatorname{V}}
\newcommand{\Cov}{\operatorname{Cov}}
\newcommand{\Cov}{\operatorname{Cov}}
\newcommand{\Bigsum}[2]{\ensuremath{\mathop{\textstyle\sum}_{#1}^{#2}}}
\newcommand{\Bigsum}[2]{\mathop{\textstyle\sum}_{#1}^{#2}}
\newcommand{\ran}{\operatorname{ran}}
\newcommand{\ran}{\operatorname{ran}}
\newcommand{\card}{\#}
\newcommand{\card}{\#}
\newcommand{\Conv}{\mathop{\scalebox{1.1}{\raisebox{-0.08ex}{$\ast$}}}}%
\renewcommand{\P}{\operatorname{P}}
\renewcommand{\L}{\operatorname{L}}
\newcommand{\mathds}{\mathbb}</math></div>
 
The table below contains actual heights sampled from adults aged 40-49 years in the U.S. The numbers represent the percentage that has height less than the value in the top row of the same column and larger than the value in the row left of it <ref group="Notes" >https://www2.census.gov/library/publications/2010/compendia/statab/130ed/tables/11s0205.pdf</ref>.
 
<span id="TAB-6-1"/>
 
{| class="table"
|+ Sample of heights of adult U.S. citizens.
!  !! 147.32 !! 149.86 !! 152.40 !! 154.94 !! 157.48 !! 160.02 !! 162.56 !! 165.10 !! 167.64 !! 170.18
|-
| Women || 1.6 || 3.4 || 5.8 || 9.0 || 11.0 || 15.2 || 12.0 || 14.2 || 10.8 || 8.2
|-
| Men || 0 || 0 || 0 || 0 || 1.9 || 1.9 || 1.8 || 4.2 || 9.6 || 10.9
|-
|  || 172.72 || 175.26 || 177.80 || 180.34 || 182.88 || 185.42 || 187.96 || 190.50 || 193.04 || 195.58
|-
| Women || 3.5 || 3.1 || 1.6 || 0.1 || 0 || 0 || 0 || 0 || 0.5 || 0
|-
| Men || 10.1 || 14.0 || 15.2 || 9.5 || 8.3 || 5.1 || 5.2 || 1.3 || 0.4 || 0.5
|}


\usepackage{pgfplots}
\newcommand{\filledsquare}{\begin{picture}(0,0)(0,0)\put(-4,1.4){$\scriptscriptstyle\text{\ding{110}}$}\end{picture}\hspace{2pt}}
\newcommand{\mathds}{\mathbb}</math></div>
The table below contains actual heights sampled from adults aged 40-49 years in the U.S. The numbers represent the percentage that has height less than the value in the top row of the same column and larger than the value in the row left of it<ref group="Notes" >\tiny https://www2.census.gov/library/publications/2010/compendia/statab/130ed/tables/11s0205.pdf</ref>.
\begin{center}\scriptsize
\begin{tabular}{ccccccccccccccccccc}
\toprule
&\hspace{-2.5pt}147.32\hspace{-2.5pt}&\hspace{-2.5pt}149.86\hspace{-2.5pt}&\hspace{-2.5pt}152.40\hspace{-2.5pt}&\hspace{-2.5pt}154.94\hspace{-2.5pt}&\hspace{-2.5pt}157.48\hspace{-2.5pt}&\hspace{-2.5pt}160.02\hspace{-2.5pt}&\hspace{-2.5pt}162.56\hspace{-2.5pt}&\hspace{-2.5pt}165.10\hspace{-2.5pt}&\hspace{-2.5pt}167.64&\hspace{-2.5pt}170.18\\
\midrule
Women &1.6&3.4&5.8&9.0&11.0&15.2&12.0&14.2&10.8&8.2\\
Men &0&0&0&0&1.9&1.9&1.8&4.2&9.6&10.9\\
\midrule\midrule
&\hspace{-2.5pt}172.72\hspace{-2.5pt}&\hspace{-2.5pt}175.26\hspace{-2.5pt}&\hspace{-2.5pt}177.80\hspace{-2.5pt}&\hspace{-2.5pt}180.34\hspace{-2.5pt}&\hspace{-2.5pt}182.88\hspace{-2.5pt}&\hspace{-2.5pt}185.42\hspace{-2.5pt}&\hspace{-2.5pt}187.96\hspace{-2.5pt}&\hspace{-2.5pt}190.50\hspace{-2.5pt}&\hspace{-2.5pt}193.04\hspace{-2.5pt}&\hspace{-2.5pt}195.58\\
\midrule
Women &3.5&3.1&1.6&0.1&0&0&0&0&0.5&0\\
Men  &10.1&14.0&15.2&9.5&8.3&5.1&5.2&1.3&0.4&0.5\\
\bottomrule
\end{tabular}\nopagebreak[4]
\begin{tab}\label{TAB-6-1}Sample of heights of adult U.S.~citizens.\end{tab}
\end{center}
Try with our algorithm (of which we know that it works in high dimensions) to separate the 1-dimensional data set.
Try with our algorithm (of which we know that it works in high dimensions) to separate the 1-dimensional data set.
'''Notes'''
{{reflist|group="Notes"}}

Latest revision as of 01:52, 2 June 2024

[math] \newcommand{\smallfrac}[2]{\frac{#1}{#2}} \newcommand{\medfrac}[2]{\frac{#1}{#2}} \newcommand{\textfrac}[2]{\frac{#1}{#2}} \newcommand{\tr}{\operatorname{tr}} \newcommand{\e}{\operatorname{e}} \newcommand{\B}{\operatorname{B}} \newcommand{\Bbar}{\overline{\operatorname{B}}} \newcommand{\pr}{\operatorname{pr}} \newcommand{\dd}{\operatorname{d}} \newcommand{\E}{\operatorname{E}} \newcommand{\V}{\operatorname{V}} \newcommand{\Cov}{\operatorname{Cov}} \newcommand{\Bigsum}[2]{\mathop{\textstyle\sum}_{#1}^{#2}} \newcommand{\ran}{\operatorname{ran}} \newcommand{\card}{\#} \renewcommand{\P}{\operatorname{P}} \renewcommand{\L}{\operatorname{L}} \newcommand{\mathds}{\mathbb}[/math]

The table below contains actual heights sampled from adults aged 40-49 years in the U.S. The numbers represent the percentage that has height less than the value in the top row of the same column and larger than the value in the row left of it [Notes 1].

Sample of heights of adult U.S. citizens.
147.32 149.86 152.40 154.94 157.48 160.02 162.56 165.10 167.64 170.18
Women 1.6 3.4 5.8 9.0 11.0 15.2 12.0 14.2 10.8 8.2
Men 0 0 0 0 1.9 1.9 1.8 4.2 9.6 10.9
172.72 175.26 177.80 180.34 182.88 185.42 187.96 190.50 193.04 195.58
Women 3.5 3.1 1.6 0.1 0 0 0 0 0.5 0
Men 10.1 14.0 15.2 9.5 8.3 5.1 5.2 1.3 0.4 0.5

Try with our algorithm (of which we know that it works in high dimensions) to separate the 1-dimensional data set.

Notes