Skip to main content
Social Sci LibreTexts

4.4: Exploring Variables

  • Page ID
    76194
  • \( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

    \( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)

    \( \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{\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}\)
    Learning Objectives

    By the end of this section, you will be able to:

    • Remember that variables can be categorized as discrete or continuous
    • Differentiate between discrete and continuous variables

    Variables are objects that vary or change. Variables vary because of their inherent properties, by nature, or by manipulation. Let’s explore each of these in turn. Variables may hold inherent properties that make them vary. For example, let’s explore political efficacy. Political efficacy is a complex concept (Atabey and Hasta 2018), but it boils down to your belief that you can understand politics, influence a political institution, and that the political institution will be responsive to your concerns.

    Political efficacy can be high, medium, or low. If, for example, you had a high understanding of politics, a strong belief that you can influence a political institution, a high expectation that a political institution would be responsive to your concerns, then you would have high political efficacy. On the other hand, you would have low political efficacy if you had little understanding of politics, a weak belief that you can influence an institution, and low expectations about institutional responsiveness. How can we measure political efficacy beyond using the high, medium and low categories?

    Variables can be placed into two categories: discrete and continuous. Discrete variables can have values which we can count. For instance, a discrete variable can be -2, -1, 0, +1, +2, and so forth. On the other hand, continuous variables have values which we can specifically measure. In this case, a continuous variable can be zero, 0.1, 0.2, 0.3, 0.4, 0.5, and so forth. Within these two categories, exists two additional variable types. Discrete variables can have nominal and ordinal values. While continuous variables can have interval and ratio values. These are discussed in a later chapter.

    What’s one way we can visualize discrete and continuous variables? Below in Figure #.1, there are three panels. Panel 1, which visually represents two discrete variables. Both the independent variable and the dependent variable have two values: no or yes. Given that we can count no (“0”) and yes (“1”), we would consider this a discrete set of variables. Let’s consider the following example. Our independent variable is “Registered to Vote” has two values: not registered to vote (“No”) or registered to vote (“Yes”). Our dependent variable is “Voted in the prior Presidential election” and has two values: did not vote in the prior presidential election (“No”) and did vote in the prior presidential election (“Yes”).


    This image depicts a two-by-two grid. Above the top is written "dependent variable," the left box is labeled "Value: No," and the right box is labeled "Value: yes." Across the left side is written "independent variable," the top box is labeled "Value: No," and the bottom box is labeled "Value: yes." Across the bottom of the grid is written "Panel 1: Discrete."

    Figure \(\PageIndex{1}\): Progress from Discrete to Continuous Variables, Panel 1

    Panel 2 shows how we begin to move from discrete values to continuous values. This occurs when we add more values of the independent variable, dependent variable, or both simultaneously. For example, instead of our independent variable being “Registered to Vote” as holding only two values, Yes or No, let’s think of this as “Likelihood of Being Registered to Vote” which holds more than two values. The likelihood ranges from higher, medium, and lower, and these values are represented by the increased number of rows.


    This image depicts an 8-by-8 grid. Across the top is written "Dependent Variable," "Value: Low" is written across the top left of the grid, and "Value: High" is written across the top right. "Independent Variable" is written across the left side, "Value: Low" is written by the upper left side, and "Value: High" is written at the bottom right corner. Across the bottom of the grid is written "Panel 2: Toward Continuous."

    Figure \(\PageIndex{2}\): Progress from Discrete to Continuous Variables, Panel 2

    Finally, panel 3 visually represents a continuous independent variable and dependent variable. The reason this is the case we have many values of both variables, as represented by the high number of rows and columns, in comparison to panel 2.


    This image depicts a square grid with "Panel 3: Continuous" written at the bottom. The horizontal axis is labeled "Dependent Variable" at the top, the left side of it is labeled "Value: Low," and the right side is labeled "Value: High." The vertical axis is labeled "Independent Variable," the top side of it is labeled "Value: Low," and the bottom is labeled "Value: High."

    Figure \(\PageIndex{3}\): Progress from Discrete to Continuous Variables, Panel 3


    This page titled 4.4: Exploring Variables is shared under a CC BY-NC 4.0 license and was authored, remixed, and/or curated by Josue Franco, Charlotte Lee, Kau Vue, Dino Bozonelos, Masahiro Omae, & Steven Cauchon (ASCCC Open Educational Resources Initiative (OERI)) via source content that was edited to the style and standards of the LibreTexts platform.