\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{Ronald} \pdfinfo{ /Title (estadistica-week-12.pdf) /Creator (Cheatography) /Author (Ronald) /Subject (Estadística Week 12 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}{07EBBD} \definecolor{LightBackground}{HTML}{EFFDFA} \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{Estadística Week 12 Cheat Sheet}}}} \\ \normalsize{by \textcolor{DarkBackground}{Ronald} via \textcolor{DarkBackground}{\uline{cheatography.com/182814/cs/39168/}}} \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}Ronald \\ \uline{cheatography.com/ronald} \\ \end{tabulary} \vfill \columnbreak \begin{tabulary}{5.8cm}{L} \SetRowColor{FootBackground} \mymulticolumn{1}{p{5.377cm}}{\bf\textcolor{white}{Cheat Sheet}} \\ \vspace{-2pt}Published 9th June, 2023.\\ Updated 9th June, 2023.\\ 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*}{3} \begin{tabularx}{5.377cm}{X} \SetRowColor{DarkBackground} \mymulticolumn{1}{x{5.377cm}}{\bf\textcolor{white}{{\bf{PRUEBAS NO PARAMÉTRICAS}}}} \tn % Row 0 \SetRowColor{LightBackground} \mymulticolumn{1}{x{5.377cm}}{{\emph{• Desarr​ollar la capacidad de describir la diferencia entre las pruebas paramé​tricas y las pruebas no paramé​tricas. • Identi​ficar las ventajas y desven​tajas de las pruebas no paramé​tricas. • Saber que las pruebas no paramé​tricas suelen ser menos eficientes que las pruebas paramé​tricas \seqsplit{corres​pon​die​ntes}. • Desarr​ollar la capacidad de convertir datos en rangos.}}} \tn % Row Count 9 (+ 9) % Row 1 \SetRowColor{white} \mymulticolumn{1}{x{5.377cm}}{{\bf{Defini​c​ión:}} {\emph{Las pruebas paramé​tricas tienen requisitos sobre la distri​bución de las poblac​iones involu​cradas; las pruebas no paramé​tricas (o sin distri​bución) no requieren que las muestras provengan de poblac​iones con distri​buc​iones normales o cualquier otra distri​bución en partic​ular.}}} \tn % Row Count 16 (+ 7) \hhline{>{\arrayrulecolor{DarkBackground}}-} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{X} \SetRowColor{DarkBackground} \mymulticolumn{1}{x{5.377cm}}{\bf\textcolor{white}{{\bf{PRUEBA DE SIGNOS}}}} \tn % Row 0 \SetRowColor{LightBackground} \mymulticolumn{1}{x{5.377cm}}{{\bf{Defini​c​ión:}} {\emph{La prueba del signo es una prueba no paramé​trica (sin distri​bución) que utiliza signos positivos y negativos para evaluar diferentes afirma​ciones, entre las que se incluyen las siguie​ntes: {\bf{1.}} Afirma​ciones que involucran pares de datos muestr​ales. {\bf{2.}} Afirma​ciones que implican datos nominales con dos catego​rías. {\bf{3.}} Afirma​ciones sobre la mediana de una sola población.}}} \tn % Row Count 9 (+ 9) \hhline{>{\arrayrulecolor{DarkBackground}}-} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{X} \SetRowColor{DarkBackground} \mymulticolumn{1}{x{5.377cm}}{\bf\textcolor{white}{{\bf{PRUEBA DE SIGNOS}}}} \tn \SetRowColor{LightBackground} \mymulticolumn{1}{p{5.377cm}}{\vspace{1px}\centerline{\includegraphics[width=5.1cm]{/web/www.cheatography.com/public/uploads/ronald_1686331304_Captura de Pantalla 2023-06-03 a la(s) 13.04.19.png}}} \tn \hhline{>{\arrayrulecolor{DarkBackground}}-} \SetRowColor{LightBackground} \mymulticolumn{1}{x{5.377cm}}{Procedimiento de la Prueba de Signo.} \tn \hhline{>{\arrayrulecolor{DarkBackground}}-} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{X} \SetRowColor{DarkBackground} \mymulticolumn{1}{x{5.377cm}}{\bf\textcolor{white}{{\bf{P. RANGOS CON SIGNO DE WILCOXON- 2 MU. INDEPEN}}}} \tn % Row 0 \SetRowColor{LightBackground} \mymulticolumn{1}{x{5.377cm}}{{\bf{Defini​ción:}} {\emph{La prueba de rangos con signo de Wilcoxon es una prueba no paramé​trica que utiliza rangos para las siguientes aplica​ciones: {\bf{1.}} Probar una afirmación de que una población de datos pareados tiene la propiedad de que los pares relaci​onados tienen difere​ncias con una mediana igual a cero. {\bf{2.}} Probar una afirmación de que una sola población de valores indivi​duales tiene una mediana igual a algún valor declarado.}}} \tn % Row Count 10 (+ 10) % Row 1 \SetRowColor{white} \mymulticolumn{1}{x{5.377cm}}{{\bf{Datos que involucran datos pareados:}} {\emph{Se puede usar con datos pareados, pero esta prueba sólo usa los signos de las difere​ncias. Al usar rangos en vez de signos, la prueba de rangos con signo de Wilcoxon tiene en cuenta las magnitudes de las difere​ncias, por lo que incluye y utiliza más inform​ación que la prueba del signo y, por lo tanto, tiende a arrojar conclu​siones que reflejan de mejor manera la verdadera naturaleza de los datos.}}} \tn % Row Count 20 (+ 10) \hhline{>{\arrayrulecolor{DarkBackground}}-} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{X} \SetRowColor{DarkBackground} \mymulticolumn{1}{x{5.377cm}}{\bf\textcolor{white}{{\bf{P. DE SUMA DE RAN. DE WILCOXON, 2 MUE. INDEPE.}}}} \tn % Row 0 \SetRowColor{LightBackground} \mymulticolumn{1}{x{5.377cm}}{{\bf{Defini​​ción:}} {\emph{La prueba de la suma de rangos de Wilcoxon es una prueba no paramé​trica que utiliza rangos de los datos muestrales de dos poblac​iones indepe​ndi​entes para probar esta hipótesis nula: H`0`: Dos muestras indepe​ndi​entes provienen de poblac​iones con medianas iguales. (La hipótesis altern​ativa H`1` puede ser cualquiera de las siguientes tres posibi​lid​ades: las dos poblac​iones tienen diferentes medianas, o la primera población tiene una mediana mayor que la mediana de la segunda población, o la primera población tiene una mediana menor que la mediana de la segunda poblac​ión).}}} \tn % Row Count 13 (+ 13) \hhline{>{\arrayrulecolor{DarkBackground}}-} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{X} \SetRowColor{DarkBackground} \mymulticolumn{1}{x{5.377cm}}{\bf\textcolor{white}{{\bf{PRUE. KRUSKAL-WALLIS PARA 3 O MÁS MUESTRAS}}}} \tn % Row 0 \SetRowColor{LightBackground} \mymulticolumn{1}{x{5.377cm}}{{\bf{Definición:}} {\emph{ La prueba de Kruska​l-W​allis (también llamada prueba H) es una prueba no paramé​trica que utiliza rangos de muestras aleatorias simples combinadas de tres o más poblac​iones indepe​ndi​entes para probar la hipótesis nula de que las poblac​iones tienen la misma mediana. (La hipótesis altern​ativa es la afirmación de que las poblac​iones tienen medianas que no son todas iguales).}}} \tn % Row Count 9 (+ 9) \hhline{>{\arrayrulecolor{DarkBackground}}-} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{X} \SetRowColor{DarkBackground} \mymulticolumn{1}{x{5.377cm}}{\bf\textcolor{white}{{\bf{CORRELACIÓN DE RANGOS}}}} \tn % Row 0 \SetRowColor{LightBackground} \mymulticolumn{1}{x{5.377cm}}{{\bf{Defini​ción:}} {\emph{La prueba de correl​ación de rangos (o prueba de correl​ación de rangos de Spear-man) es una prueba no paramé​trica que utiliza rangos de datos muestrales que constan de pares relaci​onados. Se usa para probar una asociación entre dos variables.}}} \tn % Row Count 6 (+ 6) % Row 1 \SetRowColor{white} \mymulticolumn{1}{x{5.377cm}}{{\bf{Concepto Clave:}} {\emph{Desarrollar la capacidad de calcular el valor del coeficiente de correlación del rango r`s`, y utilizarlo para determinar si existe una correlación entre dos variables.}}} \tn % Row Count 10 (+ 4) \hhline{>{\arrayrulecolor{DarkBackground}}-} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{X} \SetRowColor{DarkBackground} \mymulticolumn{1}{x{5.377cm}}{\bf\textcolor{white}{{\bf{PROCEDIMIENTO DE CORRELACIÓN DE RANGOS}}}} \tn \SetRowColor{LightBackground} \mymulticolumn{1}{p{5.377cm}}{\vspace{1px}\centerline{\includegraphics[width=5.1cm]{/web/www.cheatography.com/public/uploads/ronald_1686332551_Captura de Pantalla 2023-06-03 a la(s) 13.41.13.png}}} \tn \hhline{>{\arrayrulecolor{DarkBackground}}-} \SetRowColor{LightBackground} \mymulticolumn{1}{x{5.377cm}}{Proced​imiento de correl​ación de rangos para la prueba Ho: Ps = 0} \tn \hhline{>{\arrayrulecolor{DarkBackground}}-} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{X} \SetRowColor{DarkBackground} \mymulticolumn{1}{x{5.377cm}}{\bf\textcolor{white}{{\bf{PRUEBA DE RACHAS PARA ALEATORIEDAD}}}} \tn % Row 0 \SetRowColor{LightBackground} \mymulticolumn{1}{x{5.377cm}}{{\bf{Definición:}} {\emph{Después de caract​erizar cada valor de datos en una de dos categorías separadas, una racha es una secuencia de datos que tiene la misma caract​erí​stica; la secuencia está precedida y seguida de datos con una caract​erí​stica diferente o sin datos en absoluto. La prueba de rachas utiliza el número de rachas en una secuencia de datos muestrales para probar la aleato​riedad en el orden de los datos.}}} \tn % Row Count 9 (+ 9) % Row 1 \SetRowColor{white} \mymulticolumn{1}{x{5.377cm}}{{\bf{Concepto Clave:}} {\emph{Desarrollar la capacidad de usar la prueba de rachas para aleatoriedad, para determinar si los datos muestrales ocurren en una secuencia aleatoria.}}} \tn % Row Count 13 (+ 4) \hhline{>{\arrayrulecolor{DarkBackground}}-} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{X} \SetRowColor{DarkBackground} \mymulticolumn{1}{x{5.377cm}}{\bf\textcolor{white}{{\bf{PROCEDIMIENTO PARA LA PRUEBA DE RACHAS}}}} \tn \SetRowColor{LightBackground} \mymulticolumn{1}{p{5.377cm}}{\vspace{1px}\centerline{\includegraphics[width=5.1cm]{/web/www.cheatography.com/public/uploads/ronald_1686332756_Captura de Pantalla 2023-06-03 a la(s) 13.47.51.png}}} \tn \hhline{>{\arrayrulecolor{DarkBackground}}-} \SetRowColor{LightBackground} \mymulticolumn{1}{x{5.377cm}}{Proced​imiento de la prueba de rachas para aleato​riedad.} \tn \hhline{>{\arrayrulecolor{DarkBackground}}-} \end{tabularx} \par\addvspace{1.3em} % That's all folks \end{multicols*} \end{document}