\documentclass[10pt,a4paper]{article} % Packages \usepackage{fancyhdr} % For header and footer \usepackage{multicol} % Allows multicols in tables \usepackage{tabularx} % Intelligent column widths \usepackage{tabulary} % Used in header and footer \usepackage{hhline} % Border under tables \usepackage{graphicx} % For images \usepackage{xcolor} % For hex colours %\usepackage[utf8x]{inputenc} % For unicode character support \usepackage[T1]{fontenc} % Without this we get weird character replacements \usepackage{colortbl} % For coloured tables \usepackage{setspace} % For line height \usepackage{lastpage} % Needed for total page number \usepackage{seqsplit} % Splits long words. %\usepackage{opensans} % Can't make this work so far. Shame. Would be lovely. \usepackage[normalem]{ulem} % For underlining links % Most of the following are not required for the majority % of cheat sheets but are needed for some symbol support. \usepackage{amsmath} % Symbols \usepackage{MnSymbol} % Symbols \usepackage{wasysym} % Symbols %\usepackage[english,german,french,spanish,italian]{babel} % Languages % Document Info \author{yeeterbaby69} \pdfinfo{ /Title (college-elementary-statistics.pdf) /Creator (Cheatography) /Author (yeeterbaby69) /Subject (COLLEGE|ELEMENTARY STATISTICS Cheat Sheet) } % Lengths and widths \addtolength{\textwidth}{6cm} \addtolength{\textheight}{-1cm} \addtolength{\hoffset}{-3cm} \addtolength{\voffset}{-2cm} \setlength{\tabcolsep}{0.2cm} % Space between columns \setlength{\headsep}{-12pt} % Reduce space between header and content \setlength{\headheight}{85pt} % If less, LaTeX automatically increases it \renewcommand{\footrulewidth}{0pt} % Remove footer line \renewcommand{\headrulewidth}{0pt} % Remove header line \renewcommand{\seqinsert}{\ifmmode\allowbreak\else\-\fi} % Hyphens in seqsplit % This two commands together give roughly % the right line height in the tables \renewcommand{\arraystretch}{1.3} \onehalfspacing % Commands \newcommand{\SetRowColor}[1]{\noalign{\gdef\RowColorName{#1}}\rowcolor{\RowColorName}} % Shortcut for row colour \newcommand{\mymulticolumn}[3]{\multicolumn{#1}{>{\columncolor{\RowColorName}}#2}{#3}} % For coloured multi-cols \newcolumntype{x}[1]{>{\raggedright}p{#1}} % New column types for ragged-right paragraph columns \newcommand{\tn}{\tabularnewline} % Required as custom column type in use % Font and Colours \definecolor{HeadBackground}{HTML}{333333} \definecolor{FootBackground}{HTML}{666666} \definecolor{TextColor}{HTML}{333333} \definecolor{DarkBackground}{HTML}{DC143C} \definecolor{LightBackground}{HTML}{FCF0F2} \renewcommand{\familydefault}{\sfdefault} \color{TextColor} % Header and Footer \pagestyle{fancy} \fancyhead{} % Set header to blank \fancyfoot{} % Set footer to blank \fancyhead[L]{ \noindent \begin{multicols}{3} \begin{tabulary}{5.8cm}{C} \SetRowColor{DarkBackground} \vspace{-7pt} {\parbox{\dimexpr\textwidth-2\fboxsep\relax}{\noindent \hspace*{-6pt}\includegraphics[width=5.8cm]{/web/www.cheatography.com/public/images/cheatography_logo.pdf}} } \end{tabulary} \columnbreak \begin{tabulary}{11cm}{L} \vspace{-2pt}\large{\bf{\textcolor{DarkBackground}{\textrm{COLLEGE|ELEMENTARY STATISTICS Cheat Sheet}}}} \\ \normalsize{by \textcolor{DarkBackground}{yeeterbaby69} via \textcolor{DarkBackground}{\uline{cheatography.com/203355/cs/43308/}}} \end{tabulary} \end{multicols}} \fancyfoot[L]{ \footnotesize \noindent \begin{multicols}{3} \begin{tabulary}{5.8cm}{LL} \SetRowColor{FootBackground} \mymulticolumn{2}{p{5.377cm}}{\bf\textcolor{white}{Cheatographer}} \\ \vspace{-2pt}yeeterbaby69 \\ \uline{cheatography.com/yeeterbaby69} \\ \end{tabulary} \vfill \columnbreak \begin{tabulary}{5.8cm}{L} \SetRowColor{FootBackground} \mymulticolumn{1}{p{5.377cm}}{\bf\textcolor{white}{Cheat Sheet}} \\ \vspace{-2pt}Not Yet Published.\\ Updated 6th May, 2024.\\ Page {\thepage} of \pageref{LastPage}. \end{tabulary} \vfill \columnbreak \begin{tabulary}{5.8cm}{L} \SetRowColor{FootBackground} \mymulticolumn{1}{p{5.377cm}}{\bf\textcolor{white}{Sponsor}} \\ \SetRowColor{white} \vspace{-5pt} %\includegraphics[width=48px,height=48px]{dave.jpeg} Measure your website readability!\\ www.readability-score.com \end{tabulary} \end{multicols}} \begin{document} \raggedright \raggedcolumns % Set font size to small. Switch to any value % from this page to resize cheat sheet text: % www.emerson.emory.edu/services/latex/latex_169.html \footnotesize % Small font. \begin{multicols*}{4} \begin{tabularx}{3.833cm}{p{0.73724 cm} p{0.76357 cm} p{0.36862 cm} p{0.76357 cm} } \SetRowColor{DarkBackground} \mymulticolumn{4}{x{3.833cm}}{\bf\textcolor{white}{{\bf{VOCABULARY }}| CHAPTER 1}} \tn % Row 0 \SetRowColor{LightBackground} \{\{ar\}\}{\bf{Statistics:}} & a branch of \seqsplit{mathematics} that deals with collecting data and analyzing \seqsplit{information} to draw \seqsplit{conclusions} and help make decisions when faced with \seqsplit{uncertainty}. Statistics also provides a measure of confidence in a conclusion that is drawn. & \{\{bl\}\}{\bf{Example:}} & 1) Gathering data 2) Organizing and \seqsplit{summarizing} that data \seqsplit{3)Analyzing} the data to find answers 4) Reporting the results in a way that shows how reliable those answers are \tn % Row Count 22 (+ 22) % Row 1 \SetRowColor{white} \{\{ar\}\}{\bf{Data}} & "a fact or \seqsplit{proposition} used to draw a conclusion or make a decision." & \{\{bl\}\}{\bf{Example:}} & numerical; height. \seqsplit{Nonnumerical;} gender. \tn % Row Count 29 (+ 7) % Row 2 \SetRowColor{LightBackground} \{\{ar\}\}{\bf{Anecdotal}} & The \seqsplit{information} being conveyed is based on casual \seqsplit{observation}, not scientific research. & & —-{}-{}-{}- the misuse of data typically happens when data is \seqsplit{incorrectly} obtained or analyzed. \tn % Row Count 38 (+ 9) \end{tabularx} \par\addvspace{1.3em} \vfill \columnbreak \begin{tabularx}{3.833cm}{p{0.73724 cm} p{0.76357 cm} p{0.36862 cm} p{0.76357 cm} } \SetRowColor{DarkBackground} \mymulticolumn{4}{x{3.833cm}}{\bf\textcolor{white}{{\bf{VOCABULARY }}| CHAPTER 1 (cont)}} \tn % Row 3 \SetRowColor{LightBackground} \mymulticolumn{4}{x{3.833cm}}{\{\{ac\}\} {\bf{Population vs. Sample}}} \tn % Row Count 1 (+ 1) % Row 4 \SetRowColor{white} \{\{ar\}\}{\bf{Population:}} & the entire group of items or \seqsplit{individuals} about which we want \seqsplit{information;} the entire set of objects or \seqsplit{individuals} to be studied & \{\{bl\}\}{\bf{Example:}} & the set of all \seqsplit{undergraduate} students enrolled in Boston University as of Jan. 19, 2024. \tn % Row Count 13 (+ 12) % Row 5 \SetRowColor{LightBackground} \{\{ar\}\}{\bf{Sample:}} & a subset of the population that is being studied. & \{\{bl\}\}{\bf{Example:}} & part of the population of interest that we examine in order to gather \seqsplit{information}. \tn % Row Count 21 (+ 8) % Row 6 \SetRowColor{white} \mymulticolumn{4}{x{3.833cm}}{\{\{ac\}\} {\bf{Descriptive vs. Inferential Statistics}}} \tn % Row Count 22 (+ 1) % Row 7 \SetRowColor{LightBackground} \{\{ar\}\}{\bf{Descriptive Statistics:}} & consists of organizing and \seqsplit{summarizing} data using numerical summaries (e.g. mean, IQR, standard deviation), tables, and graphs. & & \tn % Row Count 34 (+ 12) \end{tabularx} \par\addvspace{1.3em} \vfill \columnbreak \begin{tabularx}{3.833cm}{p{0.73724 cm} p{0.76357 cm} p{0.36862 cm} p{0.76357 cm} } \SetRowColor{DarkBackground} \mymulticolumn{4}{x{3.833cm}}{\bf\textcolor{white}{{\bf{VOCABULARY }}| CHAPTER 1 (cont)}} \tn % Row 8 \SetRowColor{LightBackground} \{\{ar\}\}{\bf{Inferential Statistics:}} & uses \seqsplit{information} from a sample to make a conclusion about a larger group of items or \seqsplit{individuals}, e.g. the \seqsplit{population.} \seqsplit{Inferential} statistics are used to draw inferences about a population from a sample. & & \tn % Row Count 19 (+ 19) % Row 9 \SetRowColor{white} \mymulticolumn{4}{x{3.833cm}}{\{\{ac\}\} {\bf{Types of Variables}}} \tn % Row Count 20 (+ 1) % Row 10 \SetRowColor{LightBackground} \{\{ar\}\}{\bf{Qualitative (or \seqsplit{categorical)} variable:}} & a \seqsplit{characteristic} or attribute that places an individual into one of several categories & \{\{bl\}\}{\bf{Examples:}} & gender; year in college –e.g. freshman, sophomore; state in which a person was born. \tn % Row Count 28 (+ 8) % Row 11 \SetRowColor{white} \{\{ar\}\}{\bf{Quantitative variable:}} & a \seqsplit{characteristic} or attribute with numerical values for which arithmetic operations provide meaningful results (or "for which arithmetic operations make sense" & \{\{bl\}\}{\bf{Examples:}} & How the daily weather is described - \seqsplit{temperature}, relative humidity. \tn % Row Count 43 (+ 15) \end{tabularx} \par\addvspace{1.3em} \vfill \columnbreak \begin{tabularx}{3.833cm}{p{0.73724 cm} p{0.76357 cm} p{0.36862 cm} p{0.76357 cm} } \SetRowColor{DarkBackground} \mymulticolumn{4}{x{3.833cm}}{\bf\textcolor{white}{{\bf{VOCABULARY }}| CHAPTER 1 (cont)}} \tn % Row 12 \SetRowColor{LightBackground} \mymulticolumn{4}{x{3.833cm}}{\{\{ac\}\} {\bf{Two Types of Quantitative Variables}}} \tn % Row Count 1 (+ 1) % Row 13 \SetRowColor{white} \{\{ar\}\} {\bf{Discrete variable:}} & \seqsplit{quantitative} variable with either a finite number or countable number of possible values. Countable means the values result from counting, e. g. 0, 1, 2, 3 and so on. & \{\{bl\}\}{\bf{Examples:}} & a household could have three children or six children, but not 4.53 children. \tn % Row Count 17 (+ 16) % Row 14 \SetRowColor{LightBackground} \{\{ar\}\}{\bf{Continuous variable:}} & \seqsplit{quantitative} variable with infinite possible values which are not countable & \{\{bl\}\}{\bf{Examples:}} & the response time of a computer could be 0.64 seconds, or it could be \seqsplit{0.64237123922121} seconds \tn % Row Count 26 (+ 9) % Row 15 \SetRowColor{white} \mymulticolumn{4}{x{3.833cm}}{\{\{ac\}\} {\bf{Observational Study vs. Designed Experiment}}} \tn % Row Count 28 (+ 2) % Row 16 \SetRowColor{LightBackground} \{\{ar\}\}{\bf{Observational Study:}} & \seqsplit{researchers} simply observe \seqsplit{individuals} or question \seqsplit{participants} without trying to influence their response. Often \seqsplit{participants} are chosen randomly. & & \tn % Row Count 42 (+ 14) \end{tabularx} \par\addvspace{1.3em} \vfill \columnbreak \begin{tabularx}{3.833cm}{p{0.73724 cm} p{0.76357 cm} p{0.36862 cm} p{0.76357 cm} } \SetRowColor{DarkBackground} \mymulticolumn{4}{x{3.833cm}}{\bf\textcolor{white}{{\bf{VOCABULARY }}| CHAPTER 1 (cont)}} \tn % Row 17 \SetRowColor{LightBackground} \{\{ar\}\}{\bf{Designed Experiment \seqsplit{(Experimental} Study)}} & \seqsplit{Researchers} setup an experiment and manipulate a variable and measure the effect of the \seqsplit{manipulation} on some outcome of interest. Often \seqsplit{participants} are randomly assigned to the various conditions and \seqsplit{treatments.} & & \tn % Row Count 20 (+ 20) % Row 18 \SetRowColor{white} \mymulticolumn{4}{x{3.833cm}}{} \tn % Row Count 20 (+ 0) % Row 19 \SetRowColor{LightBackground} \{\{ar\}\}{\bf{Confounding:}} & occurs in a study "when the effects of two or more \seqsplit{explanatory} variables are not \seqsplit{separated."} & & \tn % Row Count 29 (+ 9) % Row 20 \SetRowColor{white} \{\{ar\}\}{\bf{Lurking variable:}} & a variable that was not considered explicitly "in a study, but that affects the value of the response variable" & & \tn % Row Count 40 (+ 11) \end{tabularx} \par\addvspace{1.3em} \vfill \columnbreak \begin{tabularx}{3.833cm}{p{0.73724 cm} p{0.76357 cm} p{0.36862 cm} p{0.76357 cm} } \SetRowColor{DarkBackground} \mymulticolumn{4}{x{3.833cm}}{\bf\textcolor{white}{{\bf{VOCABULARY }}| CHAPTER 1 (cont)}} \tn % Row 21 \SetRowColor{LightBackground} \mymulticolumn{4}{x{3.833cm}}{\{\{ac\}\} {\bf{Bias In Sampling}}} \tn % Row Count 1 (+ 1) % Row 22 \SetRowColor{white} \mymulticolumn{4}{x{3.833cm}}{\{\{ac\}\}{\bf{Bias is a common problem during survey sampling.}}} \tn % Row Count 3 (+ 2) % Row 23 \SetRowColor{LightBackground} \{\{ar\}\}{\bf{Selection bias (or Sampling bias):}} & occurs if the method for selecting the \seqsplit{participants} produces a sample that does not represent the population of interest. & & \tn % Row Count 14 (+ 11) \hhline{>{\arrayrulecolor{DarkBackground}}----} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{3.833cm}{X} \SetRowColor{DarkBackground} \mymulticolumn{1}{x{3.833cm}}{\bf\textcolor{white}{STATS}} \tn \SetRowColor{LightBackground} \mymulticolumn{1}{p{3.833cm}}{\vspace{1px}\centerline{\includegraphics[width=5.1cm]{/web/www.cheatography.com/public/uploads/yeeterbaby69_1714799750_Screenshot 2024-05-04 at 1.14.47 AM.png}}} \tn \hhline{>{\arrayrulecolor{DarkBackground}}-} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{3.833cm}{X} \SetRowColor{DarkBackground} \mymulticolumn{1}{x{3.833cm}}{\bf\textcolor{white}{!}} \tn \SetRowColor{LightBackground} \mymulticolumn{1}{p{3.833cm}}{\vspace{1px}\centerline{\includegraphics[width=5.1cm]{/web/www.cheatography.com/public/uploads/yeeterbaby69_1714799972_Screenshot 2024-05-04 at 1.17.58 AM.png}}} \tn \hhline{>{\arrayrulecolor{DarkBackground}}-} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{3.833cm}{p{0.73724 cm} p{0.76357 cm} p{0.36862 cm} p{0.76357 cm} } \SetRowColor{DarkBackground} \mymulticolumn{4}{x{3.833cm}}{\bf\textcolor{white}{VOCABULARY| CHAPTER 2}} \tn % Row 0 \SetRowColor{LightBackground} \mymulticolumn{4}{x{3.833cm}}{\{\{ac\}\} {\bf{Graphical Methods for Qualitative (Categorical) Variables}}} \tn % Row Count 2 (+ 2) % Row 1 \SetRowColor{white} \{\{ar\}\} {\bf{Qualitative \seqsplit{(categorical)} variable:}} & a \seqsplit{characteristic} that places an individual into one of several categories & \{\{bl\}\}{\bf{Examples:}} & e.g. sex, \seqsplit{nationality}, political party) \tn % Row Count 9 (+ 7) % Row 2 \SetRowColor{LightBackground} \{\{ar\}\} {\bf{Qualitative variables:}} & & \{\{bl\}\} {\bf{Example:}} & can be \seqsplit{numerically} described with \seqsplit{frequencies} (counts), relative \seqsplit{frequencies} (percent, \seqsplit{proportions)}, cumulative \seqsplit{frequencies}, and cumulative relative \seqsplit{frequencies}. \tn % Row Count 24 (+ 15) % Row 3 \SetRowColor{white} \mymulticolumn{4}{x{3.833cm}}{\{\{ac\}\}{\bf{The number of times each unique variable element is observed is called the count, or frequency (f). The relative frequency equals the frequency divided the sample size n or f/n. Relative Frequency = f/n}}} \tn % Row Count 29 (+ 5) \hhline{>{\arrayrulecolor{DarkBackground}}----} \end{tabularx} \par\addvspace{1.3em} % That's all folks \end{multicols*} \end{document}