3.7: Lessons Learned About Variables
- Page ID
- 49371
\( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)
\( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)
\( \newcommand{\dsum}{\displaystyle\sum\limits} \)
\( \newcommand{\dint}{\displaystyle\int\limits} \)
\( \newcommand{\dlim}{\displaystyle\lim\limits} \)
\( \newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\)
( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\)
\( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\)
\( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\)
\( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\)
\( \newcommand{\Span}{\mathrm{span}}\)
\( \newcommand{\id}{\mathrm{id}}\)
\( \newcommand{\Span}{\mathrm{span}}\)
\( \newcommand{\kernel}{\mathrm{null}\,}\)
\( \newcommand{\range}{\mathrm{range}\,}\)
\( \newcommand{\RealPart}{\mathrm{Re}}\)
\( \newcommand{\ImaginaryPart}{\mathrm{Im}}\)
\( \newcommand{\Argument}{\mathrm{Arg}}\)
\( \newcommand{\norm}[1]{\| #1 \|}\)
\( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\)
\( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\AA}{\unicode[.8,0]{x212B}}\)
\( \newcommand{\vectorA}[1]{\vec{#1}} % arrow\)
\( \newcommand{\vectorAt}[1]{\vec{\text{#1}}} % arrow\)
\( \newcommand{\vectorB}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)
\( \newcommand{\vectorC}[1]{\textbf{#1}} \)
\( \newcommand{\vectorD}[1]{\overrightarrow{#1}} \)
\( \newcommand{\vectorDt}[1]{\overrightarrow{\text{#1}}} \)
\( \newcommand{\vectE}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash{\mathbf {#1}}}} \)
\( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)
\(\newcommand{\longvect}{\overrightarrow}\)
\( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)
\(\newcommand{\avec}{\mathbf a}\) \(\newcommand{\bvec}{\mathbf b}\) \(\newcommand{\cvec}{\mathbf c}\) \(\newcommand{\dvec}{\mathbf d}\) \(\newcommand{\dtil}{\widetilde{\mathbf d}}\) \(\newcommand{\evec}{\mathbf e}\) \(\newcommand{\fvec}{\mathbf f}\) \(\newcommand{\nvec}{\mathbf n}\) \(\newcommand{\pvec}{\mathbf p}\) \(\newcommand{\qvec}{\mathbf q}\) \(\newcommand{\svec}{\mathbf s}\) \(\newcommand{\tvec}{\mathbf t}\) \(\newcommand{\uvec}{\mathbf u}\) \(\newcommand{\vvec}{\mathbf v}\) \(\newcommand{\wvec}{\mathbf w}\) \(\newcommand{\xvec}{\mathbf x}\) \(\newcommand{\yvec}{\mathbf y}\) \(\newcommand{\zvec}{\mathbf z}\) \(\newcommand{\rvec}{\mathbf r}\) \(\newcommand{\mvec}{\mathbf m}\) \(\newcommand{\zerovec}{\mathbf 0}\) \(\newcommand{\onevec}{\mathbf 1}\) \(\newcommand{\real}{\mathbb R}\) \(\newcommand{\twovec}[2]{\left[\begin{array}{r}#1 \\ #2 \end{array}\right]}\) \(\newcommand{\ctwovec}[2]{\left[\begin{array}{c}#1 \\ #2 \end{array}\right]}\) \(\newcommand{\threevec}[3]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \end{array}\right]}\) \(\newcommand{\cthreevec}[3]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \end{array}\right]}\) \(\newcommand{\fourvec}[4]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \\ #4 \end{array}\right]}\) \(\newcommand{\cfourvec}[4]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \\ #4 \end{array}\right]}\) \(\newcommand{\fivevec}[5]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \\ #4 \\ #5 \\ \end{array}\right]}\) \(\newcommand{\cfivevec}[5]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \\ #4 \\ #5 \\ \end{array}\right]}\) \(\newcommand{\mattwo}[4]{\left[\begin{array}{rr}#1 \amp #2 \\ #3 \amp #4 \\ \end{array}\right]}\) \(\newcommand{\laspan}[1]{\text{Span}\{#1\}}\) \(\newcommand{\bcal}{\cal B}\) \(\newcommand{\ccal}{\cal C}\) \(\newcommand{\scal}{\cal S}\) \(\newcommand{\wcal}{\cal W}\) \(\newcommand{\ecal}{\cal E}\) \(\newcommand{\coords}[2]{\left\{#1\right\}_{#2}}\) \(\newcommand{\gray}[1]{\color{gray}{#1}}\) \(\newcommand{\lgray}[1]{\color{lightgray}{#1}}\) \(\newcommand{\rank}{\operatorname{rank}}\) \(\newcommand{\row}{\text{Row}}\) \(\newcommand{\col}{\text{Col}}\) \(\renewcommand{\row}{\text{Row}}\) \(\newcommand{\nul}{\text{Nul}}\) \(\newcommand{\var}{\text{Var}}\) \(\newcommand{\corr}{\text{corr}}\) \(\newcommand{\len}[1]{\left|#1\right|}\) \(\newcommand{\bbar}{\overline{\bvec}}\) \(\newcommand{\bhat}{\widehat{\bvec}}\) \(\newcommand{\bperp}{\bvec^\perp}\) \(\newcommand{\xhat}{\widehat{\xvec}}\) \(\newcommand{\vhat}{\widehat{\vvec}}\) \(\newcommand{\uhat}{\widehat{\uvec}}\) \(\newcommand{\what}{\widehat{\wvec}}\) \(\newcommand{\Sighat}{\widehat{\Sigma}}\) \(\newcommand{\lt}{<}\) \(\newcommand{\gt}{>}\) \(\newcommand{\amp}{&}\) \(\definecolor{fillinmathshade}{gray}{0.9}\)There are miscellaneous lessons about variables.
Temperature as a variable is a sticking point. Is temperature truly a ratio variable? After all, there is a zero point – 0 degrees Fahrenheit, 0 degrees Celsius. But that zero point is based on a continuum that is human made. Under the Fahrenheit scale, water freezes at 32 degrees; under the Celsius scale, water freezes at 0 degrees. Under the Kelvin Scale, water freezes at 273.15 K. So, there is no established zero point; it is more like there is an established shared state - frozen water, and the different measuring systems have different zero points. So, there doesn’t seem to be an established zero for temperature, so can temperature be considered a ratio variable? The discussion might be the equivalent of splitting hairs. Suffice it to say, temperature is a ratio variable. Even though there is no definitive ‘zero’ point, once you decide which scale you are using, the number can stand on its own without interpretation. Temperature is a ratio variable unless there is a real need to open this discussion.
Returning to the concept of the variable, always remember that when we say variables vary, we really mean there is a change. Change can refer to a change in level, such as low to high amounts or low to high intensity. Or change can be changing from type to type, such as control to treatment or male to female.
It is crucial to know if your variable is considered categorical or continuous. For continuous variables, it is crucial to know if the variable is ordinal, interval or ratio when selecting a statistical analysis. For correlations, it is crucial to know if the variable is interval or ratio versus ordinal. Interval or ratio variables use equal units, and the Pearson correlation is called for. Ordinal variables use unequal units or ranks, and the Spearman correlation is warranted—more on this in the correlation section. However, for regressions, we usually use a regression for all continuous variables, regardless of whether they are ordinal, interval, or ratio. No, that is not good practice, but this issue will be discussed in later regression chapters.
Use your literature review to determine how past studies scaled these variables. How did studies scale the variation for PTSD, bullying, depression, and intelligence? Inventory the variables and how they varied and if those variations helped predict the outcome variables, then catalogue this information as part of your literature review. I would catalog the following.
- What was the research question? What are the authors trying to predict?
- What were the constructs under investigation?
- Do the constructs make sense in terms of how those constructs could predict the outcome?
- What were the operational definitions? What was the conceptual basis for the operational definitions?
- Describe how the constructs were defined as variables. Were there several variables per construct?
- How many independent variables, dependent variables, and covariates?
- How were the variables scaled? By type or by level. And if by level, they are continuous, and were the demarcations by ordinal, interval, or ratio?
- If by type, does the number of categories per type align with the theoretical expectations for the variable?
- If by level, then what do high and low values mean? Do the values mean high or low in amount or high and low in intensity? What are the score ranges for the variables? Is it clear not only what the low and high scores mean but also what the midrange and all other values mean when measuring the construct?
Cataloguing this information could help sort through your variables as you design your own study.
What usually happens is that researchers tend to add variables. Collapsing them, subdividing them, combining them. This practice happens for many reasons. Sometimes, we combine variables when there are not enough participants per category. For example, for the variable race, we tend to have categories in White, Black, Hispanic, and Asian. However, some contexts do not have participants from all these races, such as certain neighborhoods where the census shows a majority of White persons. So, some researchers may collapse the few participants in the Black, Hispanic, and Asian categories into one “minority group” category. Is this good practice? Possibly, if determining who is Black, Hispanic, or Asian has no bearing on the outcome variable. We will discuss this issue more when we discuss the ANOVA analysis.
I bet reading all of this material gave you more than you could ever want to know about variables. Variables are like your ingredients. We work hard to obtain high-quality ingredients to create a high-quality meal or dessert. We work hard to understand our phenomenon of interest by creating high-quality variables to obtain an outcome that furthers our understanding of the phenomenon.


