\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{Kxrx\_} \pdfinfo{ /Title (psy2206-methods-and-statistics.pdf) /Creator (Cheatography) /Author (Kxrx\_) /Subject (PSY2206 Methods and 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}{6BE4E8} \definecolor{LightBackground}{HTML}{ECFBFC} \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{PSY2206 Methods and Statistics Cheat Sheet}}}} \\ \normalsize{by \textcolor{DarkBackground}{Kxrx\_} via \textcolor{DarkBackground}{\uline{cheatography.com/157583/cs/33366/}}} \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}Kxrx\_ \\ \uline{cheatography.com/kxrx} \\ \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 27th July, 2022.\\ 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}{p{0.4977 cm} p{0.4977 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{5.377cm}}{\bf\textcolor{white}{Data terms and Inputs}} \tn % Row 0 \SetRowColor{LightBackground} \mymulticolumn{2}{x{5.377cm}}{} \tn % Row Count 0 (+ 0) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{x{2.09034 cm} x{2.88666 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{5.377cm}}{\bf\textcolor{white}{Glossary terms}} \tn % Row 0 \SetRowColor{LightBackground} Descriptive Statistics (DS) & describe data set concisely and in a repeatable format \tn % Row Count 3 (+ 3) % Row 1 \SetRowColor{white} Central tendency (DS) & several different types- all attempt to give a single number that represents your variables. most common is average but also includes mean, median and mode \tn % Row Count 10 (+ 7) % Row 2 \SetRowColor{LightBackground} Dispersion (DS) & aims to give a single number that represents the spread or variability of the variables. The larger the dispersion value = the larger its variability. standard deviation is the most common measure \tn % Row Count 19 (+ 9) % Row 3 \SetRowColor{white} Standard deviation (DS) & an estimate of the average variability of spread of the variables. \tn % Row Count 22 (+ 3) % Row 4 \SetRowColor{LightBackground} Standardised scores (DS) & is measured in terms of standard deviations and allows instant comparisons to the means score on a variable- can then tell if score is greater or lesser than the mean. \tn % Row Count 30 (+ 8) \end{tabularx} \par\addvspace{1.3em} \vfill \columnbreak \begin{tabularx}{5.377cm}{x{2.09034 cm} x{2.88666 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{5.377cm}}{\bf\textcolor{white}{Glossary terms (cont)}} \tn % Row 5 \SetRowColor{LightBackground} Inferential Statistics (IS) & allows you to make inferences from your sample about the larger population. Will tell you the probability of your results occurring in the population. However it does not tell you anything regarding the size of the difference. \tn % Row Count 10 (+ 10) % Row 6 \SetRowColor{white} Effect sizes & indicate the strength of the relationship between your variables \#. should be reported in conjunction with the probability level associated with any inferential statistics. \tn % Row Count 18 (+ 8) % Row 7 \SetRowColor{LightBackground} Parametric variables (IS) & tests that assume that the data approximates a certain distribution e.g. normal distribution. Allows us to make inferences that are capable of producing accurate results. Must double check assumptions. \tn % Row Count 27 (+ 9) % Row 8 \SetRowColor{white} Non-parametric variables (IS) & tests that make fewer assumptions about the data and thus can be used to analyse a more diverse range of data. Less powerful than parametric. \tn % Row Count 34 (+ 7) \end{tabularx} \par\addvspace{1.3em} \vfill \columnbreak \begin{tabularx}{5.377cm}{x{2.09034 cm} x{2.88666 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{5.377cm}}{\bf\textcolor{white}{Glossary terms (cont)}} \tn % Row 9 \SetRowColor{LightBackground} Independent Groups Design & looking for differences on a variable between separate groups of people. two groups often use t-test or non-parametric Mann-Whitney test. When investigating differences between more than two groups the parametric between-groups ANOVA- often follow up with a post-hoc test \tn % Row Count 12 (+ 12) % Row 10 \SetRowColor{white} Repeated Measure Design & looking for differences on a variable within the same group of people- look to see have scores have changed. If you have tested your participants twice you can use a paired t-test or non-parametric Wilcoxon test to identify if the difference is significant. If you have tested them more than twice use a parametric within groups ANOVA. \tn % Row Count 27 (+ 15) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{x{2.4885 cm} x{2.4885 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{5.377cm}}{\bf\textcolor{white}{Identifying types of data}} \tn % Row 0 \SetRowColor{LightBackground} Variable & what we measure- must identify: Type (discrete or continuous), Level of measurement (normal, oridnal, interval or ratio), Role in the research study (independent, dependent or covariate). \tn % Row Count 10 (+ 10) % Row 1 \SetRowColor{white} Data & information we collect about the variable \tn % Row Count 13 (+ 3) % Row 2 \SetRowColor{LightBackground} Data Set & collection of information about the several variables \tn % Row Count 16 (+ 3) % Row 3 \SetRowColor{white} Discrete variables (Categorical varaiables) & variables that contain separate and distinct categories. e.g. Gender- split into female, male etc. \tn % Row Count 21 (+ 5) % Row 4 \SetRowColor{LightBackground} Continuous variables & not spilt into distinct categories e.g. age. fractions are meaningful \tn % Row Count 25 (+ 4) % Row 5 \SetRowColor{white} Measurement properties & magnitude (can order the values in a variable from highest to lowest), equal intervals (unit difference on a measurement scale is the same regardless of where that unit difference occurs on the scale e.g. temperature) , true absolute zero (zero point on the scale is the point where nothing of the variable exists and there are no scores). \tn % Row Count 42 (+ 17) \end{tabularx} \par\addvspace{1.3em} \vfill \columnbreak \begin{tabularx}{5.377cm}{x{2.4885 cm} x{2.4885 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{5.377cm}}{\bf\textcolor{white}{Identifying types of data (cont)}} \tn % Row 6 \SetRowColor{LightBackground} Level of measurement & Nominal, Ordinal, Interval and Ratio \tn % Row Count 2 (+ 2) % Row 7 \SetRowColor{white} Nominal & Variable has none of the measurement properties. use the numbers in the variable only as labels \tn % Row Count 7 (+ 5) % Row 8 \SetRowColor{LightBackground} Ordinal & have the measurement property of magnitude- ordered/ranked \tn % Row Count 10 (+ 3) % Row 9 \SetRowColor{white} Interval & measurment properties of magnitude and equal intervals. \tn % Row Count 13 (+ 3) % Row 10 \SetRowColor{LightBackground} Ratio & measurement properties of magnitude, equal intervals and absolute zero. \tn % Row Count 17 (+ 4) % Row 11 \SetRowColor{white} Covariates & broad label for a variable in a research design that's neither an IV or DV. Can be used to take account of other factors that might influence the relationship between IV and DV. Can also exist in research designs where no IV or DV exist. \tn % Row Count 29 (+ 12) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{x{2.33919 cm} x{2.63781 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{5.377cm}}{\bf\textcolor{white}{Inputting Data- Variable View Window}} \tn % Row 0 \SetRowColor{LightBackground} 1) Identify your variables and label & choose concise and distinct variable names e.g. Time, Age ect. \tn % Row Count 3 (+ 3) % Row 1 \SetRowColor{white} 2) Decide on variable type & Variable view window (bottom left) \textgreater{} Numeric (can change to things such as dates ect.) in the values section you can click the three dots and assign numbers to scores e.g. 0=easy \tn % Row Count 12 (+ 9) % Row 2 \SetRowColor{LightBackground} 3) Assign level of measurement & variable view window \textgreater{} measure \textgreater{} \seqsplit{scale/nominal/ordinal} \tn % Row Count 15 (+ 3) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{x{1.54287 cm} x{3.43413 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{5.377cm}}{\bf\textcolor{white}{Inputting Data- Data View window}} \tn % Row 0 \SetRowColor{LightBackground} Sorting cases & Can be a useful tool in ordering variables you have inputted (e.g. highest to lowest). Data \textgreater{} Sort cases \textgreater{} select variable you wish to sort \textgreater{} select either ascending or descending \textgreater{} Ok \textgreater{} \tn % Row Count 7 (+ 7) % Row 1 \SetRowColor{white} Recoding variables & converting the data in a variable into new data (as a new variable with different meaning or measured on a different scale). e.g. wanting to examined differences in exercise taken less than 12 months after transplant and more than 12 months after- can recode the data so it establishes these different groups. Transform \textgreater{} Recode into Different Variables... \textgreater{} select the variable (e.g. time) and move to right box \textgreater{} Output variable box allows you to name new variable \textgreater{} press change \textgreater{} Old and new values.. \textgreater{} input the values from the existing variable that you want to recode in the left hand box \textgreater{} new value that you want to apply in the value box under new value \textgreater{} add \textgreater{} click continue after adding all the values \textgreater{} can then go to variable view window and add labels \tn % Row Count 36 (+ 29) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{5.377cm}{x{1.69218 cm} x{3.28482 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{5.377cm}}{\bf\textcolor{white}{Measure of Central Tendency}} \tn % Row 0 \SetRowColor{LightBackground} Central Tendency (CT) & a representative value from the data- a summary of all the values on a variable in your data set. Always refers to a single variable- thus if you have several variables in the data set they each need their own CT \tn % Row Count 9 (+ 9) % Row 1 \SetRowColor{white} Dispersion & how much the data deviates from the central tendency \tn % Row Count 11 (+ 2) % Row 2 \SetRowColor{LightBackground} Mode & simplest measure of central tendency to calculate- most frequently occurring. Order data if doing it manually. SPSS: Analyse \textgreater{} Descriptive Statistics \textgreater{} Frequencies \textgreater{} move variable containing your scores into the variables window \textgreater{} \tn % Row Count 20 (+ 9) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} % That's all folks \end{multicols*} \end{document}