Analyzing Quantitative Data

Learn how to turn survey answers into findings you can report. Build a codebook and a clean data file, match each analysis to the variable's level of measurement, and describe single variables with frequency tables, charts and summary statistics. Then analyze relationships with crosstabs, correlations and group means, test them with chi-square and p-values, measure their strength with effect sizes, and write them up clearly, using SPSS, R or JASP.

BeginnerLesson 6 of 10 in Social Research Methods Course

What you will learn

  1. Turn completed questionnaires into a clean, documented data file: write a codebook, enter and check the data, and create the new variables your analysis needs.
    • Write a codebook and code survey answers
      Give every answer a numeric code, record the codes and missing-value rules in a codebook, and code multiple-response and open questions.
    • Enter, check and clean the data
      Set up a case-by-variable data file, find and correct entry errors, and handle missing values so that they do not distort results.
    • Recode and compute new variables
      Collapse categories, reverse-code items, build scales and dummy variables from existing variables, and check that every recode worked.
  2. Classify each variable by its level of measurement and use that, together with the research question, to choose suitable statistics and charts.
    • Identify the level of measurement of each variable
      Tell nominal, ordinal, interval and ratio variables apart, recognize dichotomous variables, and see how the way a question is asked fixes its level.
    • Choose the right analysis for one or two variables
      Pick the univariate summaries and the bivariate method that fit the variables' levels, and decide which variable is independent and which is dependent.
  3. Summarize each variable on its own with frequency tables, suitable charts and measures of center and spread, and read these summaries correctly.
    • Build and read frequency tables
      Produce frequency tables with counts, percentages, valid percentages and cumulative percentages, and group numeric data into classes.
    • Show a distribution with a suitable chart
      Choose between bar charts, pie charts, histograms and box plots according to the level of measurement, describe the shape of a distribution, and avoid misleading charts.
    • Summarize center and spread for each level
      Choose the measures of center and spread that fit the level of measurement and the shape of the distribution, and report them correctly.
  4. Examine how two variables are related with crosstabs, correlations and group means, and judge what a relationship in survey data can and cannot show.
    • Build and read a crosstabulation
      Lay out a crosstab, percentage it in the right direction, compare groups in percentage points, and present it clearly.
    • Measure correlation with Pearson's r and Spearman's rho
      Use scatterplots and correlation coefficients to describe the direction and strength of relationships between ordinal or numeric variables, and recognize the limits of a correlation.
    • Compare group means and calculate eta
      Describe how a numeric variable differs between the categories of a nominal or ordinal variable, using group means and the strength measure eta.
    • Judge whether a relationship could be causal
      Separate association from causation, use a third variable to test whether a relationship is spurious, and describe relationships in careful language.
  5. Test whether sample relationships are likely to hold in the population, measure how strong they are, and write up both clearly in a research report.
    • Test a crosstab with chi-square
      Calculate expected counts, read the chi-square statistic with its degrees of freedom and p-value, and check that the test's conditions are met.
    • Interpret p-values and statistical significance
      Read p-values correctly for crosstabs, correlations and mean comparisons, and know what statistical significance does and does not tell you.
    • Measure and judge effect sizes
      Use percentage-point differences, phi, Cramér's V, r, r² and eta² to say how strong a relationship is, and weigh effect size against statistical significance.
    • Write up quantitative results in a research report
      Present descriptive and bivariate results in clear tables and text, format statistics in a standard style, and state the limits of the findings.
  6. Set up, analyze and document a survey data set in SPSS, R or JASP, and read the output these programs produce.
    • Set up and prepare a data file in SPSS, R or JASP
      Import data, define variables, value labels, missing values and measurement levels, and recode variables in a way that can be repeated.
    • Run analyses and read the output
      Find the procedures for frequencies, crosstabs, correlations and group means in each program, and pick out the numbers that belong in a report.

Analyzing Quantitative Data study guide

6 chapters

1

Prepare a survey data set for analysis

Survey analysis begins before the first table. Answers need a file structure, clear code meanings and checks that catch errors without changing what respondents said. You will build a codebook, protect the raw file, distinguish kinds of missing answers and create useful new variables. Each preparation decision leaves a record so another researcher can follow how the analysis file was made.

1.1 Write a codebook and code survey answers

A survey answer becomes usable data when its meaning survives the move into a file. Coding gives answers numbers or short labels; a codebook records what those codes mean.

Set up cases, variables and values

A case is the unit you study, usually one respondent. A variable is a characteristic, such as age or trust. A value is one case's answer on that variable. Give each case a respondent ID so you can trace a questionable value back to its questionnaire. Keep names, email addresses and phone numbers out of the analysis file to protect confidentiality.

Choose a short, unique variable name, starting with a letter and using letters, digits and underscores. For example, q7_trust works across SPSS, R and JASP. Put the full question in the variable label. The name identifies the column; the label explains it.

Write a codebook entry

For “How much do you trust the national parliament?”, record:

CodeMeaning
1Not at all
2Not very much
3Quite a lot
4A great deal
8Don't know
9No answer

Declare 8 and 9 missing, and record the measurement level as ordinal. Include routing notes if only some respondents should answer. A complete entry brings together the variable name, question label, value labels, missing-value rules and level. Someone using the file should be able to interpret it without asking its creator.

Numeric codes can be labels. If religious affiliation is coded 1, 2 and 3, averaging those codes gives a number with no useful meaning. Renumbering the categories would change that average while leaving every response unchanged.

Code different question formats

A multiple-response question such as “Which platforms do you use? Select all that apply” needs one variable per option. Code each as 1 for selected and 0 for not selected. One respondent can have several 1s. If the export stores “Facebook; TikTok” in one cell, split the selections into separate variables before counting them. Keep an unanswered question distinct from an explicit selection of no options when the questionnaire makes that distinction.

For an open question, read a sample of answers and develop a coding frame: the categories and rules for assigning them. For a single-category variable, categories must be mutually exclusive and cover all valid answers, including an “Other” category. Have a second coder classify part of the answers, then compare decisions to check reliability.

Preserve the reasons for missing answers

“Don't know,” “Refused” and “Not applicable” have different meanings. Separate codes let you report them separately even when all are excluded from a calculation. Choose codes outside the possible valid range. Age 99 can be real, so −9 is safer as an age missing code. A codebook records the intended meaning; the software must also be told to treat that code as missing.

Key Takeaways

  • A codebook preserves meanings, missing rules and measurement levels.
  • Use respondent IDs to trace values without direct identifiers in the analysis file.
  • Code multiple selections in separate 0/1 variables.
  • Build and check a coding frame for open answers.
  • Keep different reasons for missingness distinguishable.

1.2 Enter, check and clean the data

The analysis file is a data matrix: rows are cases, columns are variables and cells hold values. Cleaning checks that those values match both the codebook and the answers people actually gave.

Enter and inspect the file

The first row of a CSV contains variable names. A later row such as 1043, 2, 34, 3 can represent respondent ID, gender code, age and trust code. Online platforms often export CSV or SPSS files directly. Paper questionnaires need manual entry; double entry compares two independent entries of all or part of the data to find typing errors.

Keep the raw file unchanged. Work on a copy and record corrections in a cleaning log, syntax file or script. Record the case ID, variable, old value, new value and reason when correcting individual entries. This makes a change traceable and lets you undo it.

Check ranges and consistency

Run a frequency table for every variable. Compare all observed codes with the codebook, including the missing codes. For trust coded 1–4, 8 and 9, a value of 6 fails a range check. Find the questionnaire using the ID. Correct the entry if the original answer is available; otherwise set the value to missing. Guessing the intended answer would create data.

A valid range does not guarantee a valid response. A consistency check compares related answers or routing. Someone recorded as having no paid job but working 40 paid hours a week needs checking. A crosstab of employment and work hours can reveal this conflict. Resolve it against the original answers and the routing rules.

For online responses, also flag duplicate IDs or identical submissions, implausibly fast completion (speeding) and repeated identical choices across a grid (straightlining). A flag calls for a documented decision. State the exclusion rule and the number of cases it removes so readers can assess its consequences.

Make missing values truly missing

An undeclared missing code enters numeric calculations. For ages 25, 40 and 31, with 99 used for an unanswered age, the software can calculate:

25+40+31+994=48.75

After declaring 99 missing, the valid mean is:

25+40+313=32

Check frequencies again after declaring missing values. You should still be able to count missing cases, but they should no longer contribute as valid ages or answers.

Follow the number of valid cases

With listwise deletion, a case missing on any variable used in an analysis is excluded from that whole analysis. Pairwise deletion keeps every case valid for each pair, so coefficients in a correlation matrix can have different sample sizes. The choice changes who contributes to a result. Report the valid n for each analysis, and investigate unexpected changes in it before interpreting changes in the statistics.

Key Takeaways

  • Keep the raw file unchanged and document every cleaning decision.
  • Range checks compare individual values with the codebook.
  • Consistency checks compare related answers and routing.
  • Declare missing codes before calculating statistics.
  • Listwise and pairwise deletion can produce different analysis bases.

1.3 Recode and compute new variables

New research questions often need new variables. Recoding changes values by a stated rule; computing creates values through a calculation. Save new variables separately so the original information remains available.

Group values without losing track of them

Age in years can become age groups: 18–34, 35–54 and 55 and over. The boundaries must cover every valid age without overlap. Age 34 goes in the first group and 35 in the second. The original age is ratio data; the groups are ordinal. Keeping age in years lets you return to the finer detail later.

Combining sparse categories can make percentages more stable and crosstabs less empty. Combine categories that belong together in meaning. A small category alone is not a reason to merge it with an unrelated one. Record the rule and new value labels in the codebook.

Reverse items before building a scale

A scale can contain positive and negative statements about the same concept. If high scores mean social connection, agreement with “I often feel left out” must point downward. Reverse a 1–5 item with:

new value=6−old value

Thus 5 becomes 1, 4 becomes 2, 3 stays 3, 2 becomes 4 and 1 becomes 5. The general rule is minimum plus maximum minus the old value. Missing values must stay missing; they are not part of the response scale.

A summated scale adds several items measuring the same concept after aligning their direction. Four items scored 1–5 produce a total from 4 to 20. Their mean stays within 1–5. Check whether the items hang together before combining them: Cronbach's alpha of about .70 or above is a common rule of thumb. A high alpha by itself does not establish that the scale measures the intended concept. State how missing items are handled when defining the score.

Create an indicator for one category

A dummy variable marks membership with 1 and nonmembership with 0. For example, “Has a university degree” can be 1 for yes and 0 for otherwise. The mean is the share coded 1:

0+1+1+0+15=.60

So 60% of these five respondents have a degree. This interpretation depends on 0/1 coding; arbitrary category numbers do not have it.

Check the result against the original

Crosstab the old and new variables. Each valid original value should land in its intended new category. An age missing code of 99 must not become “55 and over.” Check the minimum, maximum and missing count of computed scores as well.

Some calculations are approximations. Survey year minus birth year overestimates age by one for people whose birthday has not yet occurred. Note that approximation in the codebook so a later analyst does not treat it as exact age.

Key Takeaways

  • Preserve original variables when recoding or computing.
  • Grouping boundaries must cover valid values without overlap.
  • Reverse negative items before combining scale scores.
  • A 0/1 variable’s mean is the proportion coded 1.
  • Check old against new values and preserve missingness.
  • Document approximations and scale-scoring rules.
2

Match analyses to levels of measurement

A useful analysis respects what each variable actually measures. A category number, an ordered rating and a count can look similar in a spreadsheet while supporting different comparisons. You will identify those differences, choose summaries for one variable and match methods to pairs of variables. The research question and the shape of the data guide the choice alongside measurement level.

2.1 Identify the level of measurement of each variable

A variable's level of measurement tells you what comparisons its values support. Start with how the question collected the answers, then choose the level. Numbers in a column are not enough to decide.

Distinguish the four levels
LevelWhat the values expressExample
NominalDifferent categories, without an orderMain way of traveling to work
OrdinalOrdered categories, without known equal gapsHighest education level
IntervalEqual gaps, without a true zeroTemperature in degrees Celsius
RatioEqual gaps and a true zeroWeekly working hours

Each level adds a property to the levels below it. Nominal data allow same-or-different comparisons. Ordinal data also allow higher-or-lower comparisons. Interval data support meaningful differences. Ratio data also support ratios: 40 working hours is twice 20 hours. A temperature of 20 °C is not twice as warm as 10 °C because Celsius zero is not an absence of temperature.

SPSS and JASP call interval and ratio variables scale. This software label groups two measurement levels; it does not mean the column is necessarily a questionnaire scale made from several items.

Use the actual answers, not the concept name

Age collected in years is ratio; age collected in bands is ordinal. “Do you have children?” gives two categories, while “How many children do you have?” gives a ratio count. Measuring more detail keeps analysis options open: you can make age bands from years, but cannot recover exact ages from bands.

A dichotomous variable has two categories and is usually analyzed as nominal. With 0/1 coding it has a useful numeric property: its mean is the proportion coded 1. This special interpretation does not extend to every numerically coded nominal variable.

Recognize the limit of ordered codes

A single agreement item from “Strongly disagree” to “Strongly agree” is ordinal. Its codes show order, but the distance from disagreement to neutral need not equal the distance from neutral to agreement. A summated score from several related items is often treated as interval in social research. State that choice in a report because equal spacing is being assumed.

Regions coded 1–6 remain nominal. Neither a higher code nor a one-code difference has substantive meaning. Asking whether order means something, and then whether distances are equal, prevents the mistake of treating every numeric column as a quantity.

Check the software's guess

Software infers a level from values, not from question meaning. Under JASP's default import rules, 3–10 distinct whole-number values are labeled ordinal. A region variable with six codes can therefore get the wrong level. Inspect each column's measurement setting and correct it using the codebook before choosing analyses.

Key Takeaways

  • Measurement level comes from how answers were collected.
  • Nominal codes label categories; ordinal codes add meaningful order.
  • Interval data have equal gaps; ratio data also have a true zero.
  • A single agreement item is ordinal.
  • State when a combined score is treated as interval.
  • Check software measurement settings against the codebook.

2.2 Choose the right analysis for one or two variables

Choosing an analysis starts with two questions: what are you trying to describe, and what information do the variables carry? The same survey can need several methods because its questions measure different kinds of things.

Describe one variable

Univariate analysis describes one variable. Choose summaries its level supports:

VariableUseful summaries
NominalCounts, percentages, bar or pie chart, mode
OrdinalOrdered frequencies, cumulative percentages, bar chart, median and IQR
Interval/ratioHistogram; mean and SD, or median and IQR for skew or outliers

For example, “Main news source” needs category shares, while “Hours online per day” needs a numeric distribution. A mean news-source code would depend on arbitrary numbering.

Choose the roles of two variables

Bivariate analysis examines a relationship between two variables. The independent variable is the proposed influence; the dependent variable is the proposed outcome. Theory and time order guide the choice. Age can help explain news habits; news habits cannot change age. These roles guide layout and interpretation, even though a correlation has the same value when its variables are swapped.

Multivariate analysis involves at least three variables. Splitting a crosstab by a third variable is one way to check whether the original association persists within groups.

Match the method to both variables
Pair of variablesStarting method
Two nominal, or nominal with ordinalCrosstab, chi-square and Cramér's V; phi for a 2 × 2 table
Two ordinalSpearman's rho; a crosstab for few categories
Two interval/ratioScatterplot, then Pearson's r for a roughly linear pattern
Ordinal with interval/ratioSpearman's rho
Categorical independent, numeric dependentGroup means and eta

Kendall's tau-b is another rank-based choice for ordinal variables. In general, the lower measurement level limits the method. Comparing numeric outcomes across nominal groups is a useful exception: group means preserve the outcome's numeric detail without pretending the group codes are quantities.

Apply the choices to a survey

Age group and main news source call for a crosstab with Cramér's V. Age group and a 1–4 trust item suit Spearman's rho, or a crosstab with few categories. Main news source and hours online call for mean hours within each source group and eta. Exact age and hours online can use Pearson's r after checking the scatterplot.

The distribution also matters. Extreme outliers can distort a mean and Pearson correlation; strong skew can make median-based or rank-based summaries more useful. Running Pearson's r between arbitrary region codes and hours online does not solve the problem. Renumbering regions would change the coefficient without changing anyone's region.

Key Takeaways

  • Choose a method from the research question and both variables’ levels.
  • Use theory and time order to assign independent and dependent roles.
  • Use crosstabs for categorical comparisons and rank methods for ordered data.
  • Inspect numeric distributions before using means or Pearson’s r.
  • Compare numeric outcomes across nominal groups with group means and eta.
3

Describe single variables

Before comparing groups or testing relationships, find out what each variable looks like on its own. Frequency tables reveal common answers and missing cases; charts reveal shape and unusual values; center and spread put those patterns into numbers. You will read each percentage with its base and choose descriptions that suit both the measurement level and the observed distribution.

3.1 Build and read frequency tables

A frequency table shows how many cases fall in each value or category. Read its base carefully: a percentage of everyone answers a different question from a percentage of those who answered.

Separate counts and percentage bases

SPSS frequency output distinguishes Frequency, Percent, Valid Percent and Cumulative Percent. Frequency is the count. Percent divides by all cases, including missing cases. Valid percent divides by cases with a valid answer. Reports usually use valid percentages and state the missing count separately.

Suppose 250 respondents were asked how often they use public transport and 10 did not answer. The valid base is 240.

AnswerCountPercent of allValid percent
Daily4819.220.0
Weekly7228.830.0
Monthly5522.022.9
Less often4016.016.7
Never2510.010.4
Missing104.0—

For daily use, 48 divided by 250 gives 19.2% of all respondents; 48 divided by 240 gives 20.0% of valid answers. The count is unchanged. The denominator explains the difference.

Read cumulative percentages in order

Cumulative percent adds valid percentages down the ordered categories. In this table the cumulative figures are 20.0, 50.0, 72.9, 89.6 and 100.0. Daily plus weekly reaches 50.0%, so half of those who answered use transport at least weekly.

Always read the category order. With categories running from frequent to infrequent use, the running total means “at least this often.” A reversed order would answer a different cumulative question. Nominal categories have no meaningful order, so a cumulative total for religion or region would depend on arbitrary table order.

Group a long numeric distribution

If weekly hours take many values, a separate row for each can hide the pattern. A grouped frequency table might use 0–4, 5–9 and 10–14 hours for whole-hour responses. Use nonoverlapping classes that cover every valid value, usually with equal widths. About five to ten classes often gives a readable overview. With fractional hours, specify boundaries that also place values such as 4.5 unambiguously.

Grouping loses the detail within each class. Keep the original variable for calculations that need exact values.

Interpret the size and precision

The mode is the category with the largest count: “Weekly,” with 72 cases here. The largest cumulative percentage is always at the end and does not identify the mode.

Give the base or counts alongside percentages. A share of 25% can represent one person out of four, so it says little about a stable population pattern. Round percentages to one decimal. Totals of 99.9% or 100.1% can arise from rounding; explain that in a table note instead of changing a category's percentage.

Key Takeaways

  • Valid percentages exclude missing answers from the denominator.
  • Cumulative percentages require ordered categories.
  • Read the mode from category frequencies.
  • Grouping numeric data hides detail within classes.
  • Report bases and preserve honest rounding.

3.2 Show a distribution with a suitable chart

A useful chart shows the distribution without asking the reader to decode the wrong visual form. Match the chart to the variable, then inspect its labels, scale and shape.

Choose a display for the answers
ChartBest useWhat to watch
Bar chartNominal or ordinal categoriesSeparate bars; retain ordinal order
Pie chartA few nominal shares of one wholeSimilar slices are hard to compare
HistogramNumeric values grouped into intervalsTouching bars; check interval widths
Box plotNumeric center, spread and unusual valuesRead quartiles and whisker settings

A bar chart can show counts or percentages. Keep satisfaction levels in their natural order. For unordered categories, sorting bars from largest to smallest can make comparisons easier.

A pie chart works best with a few categories, roughly five or fewer. It shows parts of one whole, but a bar chart usually makes small differences easier to see. A multiple-response question can total more than 100% because people select several answers; those selections are not mutually exclusive slices of one whole.

A histogram groups numeric values into intervals. The touching bars represent a continuous numeric axis, unlike the gaps between separate category bars. With equal-width intervals, height shows frequency. If interval widths differ, frequency density is needed so area still represents frequency. A histogram of religious-affiliation codes would wrongly suggest a meaningful numeric order.

Describe the shape

A symmetric distribution has roughly balanced sides. A right-skewed distribution has a long tail toward high values, as can happen with household income or books read. A left-skewed distribution has a long tail toward low values. Name the tail's direction, not the side where most cases cluster.

A bimodal distribution has two peaks. Its mean may fall between the peaks where few cases lie, so the chart adds information a single average misses. An outlier sits far from the other observations. Check its accuracy and meaning before deciding how to handle it.

Use box plots for group comparisons

A box plot marks the median and quartiles, with the box spanning the middle half of the data. Whiskers extend according to the plotting rule, and separate points identify potential outliers. Side-by-side plots of working hours can reveal different spreads or medians across groups even when their means are similar.

Keep visual comparisons honest

Give every chart a title, labeled axes, units and the number of cases. Start bar-chart axes at zero because readers compare bar lengths. Starting an axis at 45% makes 48% and 52% look much further apart than a four-point gap. Avoid three-dimensional effects: perspective changes the apparent size of bars and slices without changing the data.

Key Takeaways

  • Use separate bars for categories and a histogram for numeric intervals.
  • Describe skew by the direction of its long tail.
  • Box plots show median, quartiles and potential outliers.
  • Bar lengths need a zero baseline.
  • Label units, cases and axes clearly.
  • A pie chart requires parts of one whole.

3.3 Summarize center and spread for each level

Center tells you where values cluster; spread tells you how much they differ. Choose both from the measurement level and distribution. One average alone can hide much of a survey's pattern.

Match the measure to the level
DataCenterSpread
NominalModeDescribe how cases are distributed across categories
OrdinalMedian or modeOrdered range or middle-half categories
Interval/ratio, roughly symmetricMeanStandard deviation
Interval/ratio, skewed or with outliersMedianInterquartile range

The mode works at every level. The median needs order. The mean and standard deviation need meaningful numeric distances. For ordinal categories, the quartile categories show the middle half; interpreting a subtraction of their codes as an equal-unit distance requires an additional spacing assumption.

Find an ordinal median

Suppose 200 respondents rate job satisfaction from 1, “Very dissatisfied,” to 5, “Very satisfied.” Counts are 10, 25, 40, 60 and 65. Cumulative percentages are 5.0, 17.5, 37.5, 67.5 and 100.0. The middle observations fall in category 4, “Satisfied.” The mode is category 5, which has the largest count. Median and mode describe different features and need not agree.

See what an outlier does

Nine respondents report reading 0, 1, 1, 2, 2, 3, 4, 5 and 40 books last year. The total is 58, so the mean is about 6.4 books. The middle value is 2 books. Removing the value 40 lowers the mean to 2.25, while the median remains 2. The high value pulls the mean upward; the median follows the middle position.

Use the mean with the standard deviation, or SD, for roughly symmetric numeric data. SD describes the scale of distances from the mean in the variable's own units. “Mean weekly hours 37.5, SD 8.2” reports both the center and dispersion. It does not mean every respondent lies within 8.2 hours of the mean.

For skewed data, pair the median with the interquartile range, or IQR, which spans the middle 50%. The full range depends only on the extremes and can stretch sharply when one outlier is added.

Report what the numbers mean

Two groups can each average a 30-minute commute, with SDs of 5 and 20 minutes. The second group has much greater variation. Include units and valid cases: “M = 37.5 hours, SD = 8.2, n = 412.” Use Mdn for the median.

Averaging ordinal trust codes assumes equal distances between categories; say so and also show frequencies. A mean of arbitrary nominal codes, such as region numbers, has no useful meaning. A 0/1 indicator is a special case: its mean gives the proportion coded 1.

Key Takeaways

  • Select center and spread together from level and shape.
  • Median and mode can identify different categories.
  • Outliers can strongly shift the mean and range.
  • Report units and valid cases with descriptive statistics.
  • A mean of ordinal codes assumes equal spacing.
  • A 0/1 mean is a proportion, unlike a mean of arbitrary labels.
4

Analyze relationships between two variables

A relationship can appear as different category shares, a trend across numeric values or different average outcomes across groups. You will work through crosstabs, Pearson and Spearman correlations, and group means with eta. The same evidence also raises a design question: whether the pattern could reflect time order, reverse causation or a third variable instead of a direct causal influence.

4.1 Build and read a crosstabulation

A crosstabulation, or contingency table, shows the joint distribution of two categorical variables. Each cell counts cases with a particular combination of answers. Row and column totals are called marginals.

Set up the comparison

Put the independent variable in columns and the dependent variable in rows. Calculate percentages within each column so that every column totals 100%. Then compare one outcome row across the columns. If the independent variable is in rows instead, use row percentages. The denominator is always the group whose outcome you are describing.

A survey of 400 adults asks about age group and main news source. Treat age group as the independent variable and news source as the outcome:

Main news source18–3435–5455 and over
Social media, count665426
Other source, count5496104
Column base120150130
Social media, column %55.036.020.0

For the youngest group, divide 66 by 120 and multiply by 100. Repeat using each group's own base. The share naming social media falls steadily with age. Across the whole sample it is 146 of 400, or 36.5%.

Keep the denominator tied to the question

Dividing 66 by the 146 social-media users gives 45.2%. This is the percentage of social-media users who are young. It describes the composition of the user group. It does not answer how common social-media news use is among young respondents.

The two percentages can both be correct while answering different questions. Write the denominator in words before calculating: “of the 120 young respondents” or “of the 146 social-media users.” That makes a mistaken comparison easier to spot.

Describe a gap in percentage points

The youngest and oldest groups differ by:

55.0%−20.0%=35.0 percentage points

A 35-point difference is not a 35% relative increase. Relative to 20.0%, the share 55.0% is 2.75 times as high, or 175% higher. Percentage points directly compare the two percentages on the same 0–100 scale.

When both variables are ordinal, inspect whether the pattern rises or falls consistently across ordered groups. A directional pattern can be hidden by rearranging categories.

Present stable, readable tables

Many categories spread cases across many cells. Percentages based on a handful of cases can change sharply with one answer. Combine categories only when the grouping makes substantive sense, and show each column's n.

A report table needs a title naming both variables, clearly labeled counts or percentages, group bases, total N and a missing-data note. In a percentage table, include the complementary outcome rows so readers can see how each column reaches 100%.

Key Takeaways

  • Percentage within the independent-variable groups.
  • Read comparable outcome percentages across groups.
  • Reversing the denominator changes the research question.
  • Subtract percentages to obtain percentage-point differences.
  • Show group bases, total N and missing-data treatment.

4.2 Measure correlation with Pearson's r and Spearman's rho

A correlation compresses a two-variable pattern into a number. First look at a scatterplot, with one dot per case, the proposed independent variable horizontally and the outcome vertically. Inspect direction, form, clustering and outliers.

Read Pearson's r

Pearson's r measures a linear relationship between two interval/ratio variables. It ranges from −1 to +1. Positive values mean high values tend to go together; negative values mean higher values of one variable go with lower values of the other. Strength depends on distance from zero, not the sign: −.70 is stronger than +.30.

In a survey of 120 adults, age and daily social-media time correlate at r = −.45. Older respondents tend to spend less time on social media, with considerable variation around that pattern. The coefficient is not a rate: it does not mean each extra year reduces use by .45 hours. Correlation describes closeness to a straight-line pattern, not its slope.

Square the coefficient for variation

The coefficient of determination is r squared:

r2=(−.45)2=.2025

About 20% of the variation in social-media time is accounted for by its linear relationship with age. The remaining 80% is variation the straight-line relationship does not account for. It can reflect other influences, curvature or measurement error. Squaring removes the sign; retain r to report direction.

Use ranks when order is the useful information

Spearman's rho calculates a correlation from ranks. It suits ordinal variables and a pattern that moves steadily in one direction even when the pattern curves. It can also help when skew or outliers make Pearson's r a poor summary. Kendall's tau-b is another rank-based measure, often used with many tied values.

Consider x values 1, 2, 3, 4, 5, 6 and corresponding y values 2, 3, 5, 4, 6, 30. Pearson's r is about .74, while Spearman's rho is about .94. Without the final case, Pearson's r is .90. The extreme y value changes numeric distances greatly, but its rank is still simply the highest. A scatterplot helps explain why the coefficients differ. Investigate the case before deciding whether it belongs in the analysis.

Recognize patterns one number can miss

An r near zero means little linear association. A strong U-shaped pattern can still exist because values first fall and then rise. Neither a signed linear coefficient nor a single rank coefficient summarizes that shape well; describe the plot.

A correlation matrix shows every variable as both a row and a column. Each diagonal value is 1, and the upper and lower triangles mirror each other. Read each unique pair once, along with its valid case count and chosen method. A correlation alone cannot establish which variable came first or whether a third variable explains the association.

Key Takeaways

  • Inspect a scatterplot before choosing a coefficient.
  • Pearson’s r describes linear direction and strength, not slope.
  • Square r to describe linearly associated variation.
  • Spearman’s rho works on ranks and can summarize a monotonic curve.
  • A near-zero r can hide a strong curved relationship.
  • Read mirrored correlation-matrix entries only once.

4.3 Compare group means and calculate eta

When an outcome is numeric but the proposed influence is categorical, compare the outcome within groups. This keeps the outcome's numeric information without pretending group codes are quantities.

Start with means, spread and group sizes

For each group report its mean, SD and valid n. Side-by-side box plots can show whether a mean difference reflects a broad shift or a few unusual values. If the outcome is strongly skewed, compare medians as well as, or instead of, means.

Consider life-satisfaction scores on a 0–10 scale:

Employment groupScoresMeanSDn
Employed5, 8, 6, 971.834
Unemployed3, 6, 4, 751.834
Retired7, 9, 6, 1081.834

Each group has four cases; the overall mean is about 6.67. The unemployed group scores lowest and the retired group highest. The group codes have no numeric distance, so correlating those codes with satisfaction would make the result depend on the numbering.

Measure between-group variation

Eta, written η, measures the strength of the relationship between a categorical independent variable and a numeric outcome. It ranges from 0 to 1 and has no sign. Read the direction of differences from the group means.

Eta squared, η², is the share of total outcome variation that lies between the groups. First calculate the between-group sum of squares: multiply each squared distance between a group mean and the overall mean by that group's size. Using the unrounded overall mean gives:

SSbetween=4(7−20/3)2+4(5−20/3)2+4(8−20/3)2=56/3

This is about 18.67. Next add squared distances of individual scores from their own group mean. Each group contributes 10, so the within-group total is 30. Total variation is about 48.67.

η2=SSbetweenSStotal=56/3146/3≈.38

Taking the square root gives η of about .62. About 38% of the sample variation lies between these employment groups. It is not a claim that employment caused 38% of each person's satisfaction.

Separate a pattern from its significance

Eta can capture a middle group scoring below both ends because it does not require a straight-line trend. A t test commonly tests equality of two population means; a one-way ANOVA, with an F test, commonly tests equality of three or more.

Read their p-values separately from eta squared. These 12 observations give F(2, 9) = 2.80, p about .11, despite η² of .38. A large descriptive difference in a tiny sample can remain statistically nonsignificant.

Key Takeaways

  • Compare a numeric outcome within categorical groups.
  • Report group means with SDs and valid case counts.
  • Eta has no sign; inspect the means for direction.
  • Eta squared divides between-group variation by total variation.
  • Effect size and statistical significance answer separate questions.

4.4 Judge whether a relationship could be causal

An association is a pattern to explain, not a causal conclusion by itself. A causal claim needs an association, the proposed cause occurring before the outcome, and a relationship that is not produced by a third variable. A plausible mechanism strengthens the explanation.

Check time order

Most surveys are cross-sectional: variables are measured at one time. People who trust news may watch more news, but watching news may also build trust. This is reverse causation. A survey association alone does not settle the direction. Some characteristics, such as year of birth, have a clear earlier position, but that still leaves third-variable explanations to examine.

Compare the pattern within a third variable

A spurious relationship occurs when a third variable affects both variables and produces their association. Elaboration checks the pattern within categories of that third variable, using separate partial tables. Software may call this a layered or three-way crosstab.

Suppose 150 of 200 print-newspaper readers voted, or 75.0%, compared with 190 of 300 nonreaders, or 63.3%. Now split by age:

Age groupReaders who votedNonreaders who voted
Under 5030 of 50: 60.0%150 of 250: 60.0%
50 and over120 of 150: 80.0%40 of 50: 80.0%

The within-age gaps are both zero. Readers include many more older people, and older people vote more. In this example, age accounts for the overall readership–voting gap. The pooled percentages mixed groups with different compositions.

Distinguish different third-variable roles

A disappearing association can also fit an intervening pathway, or mediation: the proposed cause changes a middle variable, which changes the outcome. For example, education may raise income, which improves health. The table pattern alone cannot distinguish a common cause from a causal pathway; theory and time order are needed.

A moderator changes the strength or direction of a relationship. If the age–social-media pattern is strong among people without a degree and weak among degree holders, education moderates it. Report group-specific relationships; one overall coefficient would hide the difference.

If the original relationship stays similar within every group, that particular third variable does not explain it. Other unmeasured variables may still matter. Checking one variable does not settle every competing explanation.

Match the wording to the evidence

Write “is associated with,” “tends to” or “Younger respondents were more likely to name social media.” Reserve “causes” or “leads to” for evidence from a design that supports the causal claim. Statistical significance measures evidence against a null model; it cannot supply missing time order or eliminate an unmeasured common cause.

Key Takeaways

  • Causal claims need association, time order and non-spuriousness.
  • Layered tables compare the original relationship within a third variable.
  • A common cause and an intervening pathway can produce similar table patterns.
  • A moderator changes a relationship across groups.
  • Use association wording for cross-sectional survey findings.
5

Report significance and effect sizes

A research finding needs both an account of the pattern and a judgment about the evidence. You will read chi-square and other test output, interpret p-values, and measure association strength with effect sizes. Then you will combine direction, size, significance and sample information in clear tables and sentences, keeping statistical significance separate from practical importance.

5.1 Test a crosstab with chi-square

A crosstab shows a sample association. The chi-square test of independence asks how unusual its departures from independence would be under a population model of no relationship. Start with counts, then check the test's conditions.

Calculate the counts under independence

The null hypothesis says the variables are independent in the population. Under that hypothesis, a cell's expected count comes from its marginals:

E=row total×column totalN

In the news-source table, 146 of 400 respondents use social media and 120 are aged 18–34. The expected count for that combination is 146 × 120 ÷ 400 = 43.8. The observed count is 66. Expected counts need not be whole numbers: they describe a model, not a fresh set of people.

Combine all the departures

Chi-square adds a contribution from every cell:

χ2=∑(O−E)2E

Here O means observed count and E expected count. Squaring makes both excesses and shortfalls contribute positively. Dividing by E puts departures on a scale relative to their expected size. A single cell does not give the full statistic.

Degrees of freedom depend on the table shape:

df=(rows−1)(columns−1)

Two news-source rows and three age columns give 2 degrees of freedom. The whole table produces χ² = 33.01 and a very small p-value, reported as “χ²(2, N = 400) = 33.01, p < .001.”

Check whether the test is appropriate

Use a probability sample for the population interpretation taught here. Each independent case must contribute to exactly one cell. The table must contain counts, not percentages. Using percentages changes the apparent number of cases and therefore the test.

Check expected, not observed, counts. A common rule is that no more than 20% of cells have expected counts below 5, and none is below 1. The news table's smallest expected count is 43.8, comfortably above those limits. If the rule fails, combine substantively compatible categories; for a 2 × 2 table, Fisher's exact test is an alternative.

Read the right output row

Chi-square measures evidence of association, not its direction or strength. Compare group percentages for the pattern and use phi or Cramér's V for strength. Increasing the sample size while preserving proportions increases chi-square.

Some software also reports Yates' continuity correction for 2 × 2 tables. It makes chi-square smaller and p larger. SPSS displays it separately; R's chisq.test() uses it by default for 2 × 2 tables. State the version and keep settings consistent when comparing software results.

Key Takeaways

  • Expected counts come from row total × column total ÷ N.
  • Chi-square combines departures over every cell.
  • Check expected counts, independent cases and the sampling basis.
  • Use raw counts, not a percentage table, for the test.
  • Report the chosen correction and use an effect size for strength.

5.2 Interpret p-values and statistical significance

A small p-value means the observed result would be unusual under the null hypothesis. It does not measure the chance that a researcher's explanation is true. Interpretation starts by naming the null model and the sampling basis.

Compare p with a planned threshold

A p-value is the probability, under the null hypothesis and the test's assumptions, of a result at least as extreme as the one observed. For a test of association, the null hypothesis is no population relationship. Choose alpha, the significance threshold, before testing; .05 and .01 are common choices.

If p is below alpha, reject the null hypothesis and call the result statistically significant. A p-value of .03 passes alpha .05 but not alpha .01. If p exceeds alpha, the evidence is insufficient to reject the null at that threshold. It is not evidence that the null is certainly true.

Keep probability in the right direction

The calculation starts by assuming the null model and asks about possible data. It does not begin with the observed data and calculate the probability that the null is true. Neither p nor 1 − p is the probability that a research hypothesis is correct.

For a probability sample, tests support inference to the population sampled. A convenience sample, such as respondents following a shared survey link, lacks that design-based interpretation. A small p-value does not repair selection bias. With a whole-population census, there is no sampling uncertainty to generalize from in that same sense.

Read the test for the analysis

For Pearson correlation, the usual test asks whether the population correlation is zero and uses n − 2 degrees of freedom. With 120 valid cases, report “r(118) = −.45, p < .001.” Spearman uses its own testing procedure: report rho, valid N and its software p-value without attaching Pearson's degrees of freedom.

For group means, a t test commonly asks whether two population means are equal; an ANOVA F test commonly asks whether three or more means are equal. A significant overall F test indicates that the population means are not all equal; it does not identify every differing pair.

Separate sample size, effect size and repeated tests

The same correlation, r = .20, has p about .16 with 50 cases but p below .001 with 1,000. The association is equally strong in the two samples; the larger sample provides more precise evidence. Conversely, a large effect in a small sample can remain nonsignificant.

Running many tests increases opportunities for false positives. At alpha .05, about one in twenty tests of truly unrelated variables is expected to be significant by chance; 40 such tests yield about two on average. Plan analyses from research questions and report the testing strategy instead of highlighting only small p-values.

Key Takeaways

  • A p-value describes data under a null model, not the probability the model is true.
  • Choose alpha before inspecting results.
  • Nonsignificance leaves uncertainty about a relationship.
  • Sampling method determines the population interpretation.
  • Sample size changes significance without necessarily changing effect size.
  • Plan analyses to limit selective reporting from many tests.

5.3 Measure and judge effect sizes

An effect size describes the strength of an association or difference. Statistical significance describes evidence against a null model. Report both so readers can judge the size of a pattern and the evidence behind it.

Put categorical gaps into familiar units

A percentage-point difference directly compares two group shares. Social-media news use of 55.0% and 20.0% differs by 35 points. Keep the underlying percentages and group bases visible: a gap is easier to interpret when readers know what was compared.

Phi summarizes association in a 2 × 2 table. Its magnitude is:

φ=χ2N

Some software signs phi according to category coding. The magnitude ranges from 0 to 1. For larger tables use Cramér's V:

V=χ2N(k−1)

Here k is the smaller number of rows and columns. For 2 × 2 tables V equals the absolute value of phi. Use the ordinary Pearson chi-square without a continuity correction for these standard effect-size calculations.

Work through the table-size adjustment

For the news table, χ² = 33.01, N = 400 and k = 2:

V=33.01400(2−1)≈.29

Cramér's V measures strength without direction. Read which group has the larger share from the percentages. If the same proportions were observed in a larger sample, the numerator and denominator would grow together; effect size would stay the same even as significance changed.

Use squared measures for variation

For a linear numeric relationship, r squared describes the share of variation associated with that relationship. An r of −.45 gives about .20, or 20%. Eta squared describes the share of numeric outcome variation lying between categorical groups. A value of .38 means 38% of the sample variation lies between groups. Neither interpretation establishes a causal contribution.

Judge size in context

Cohen's benchmarks are rough conventions:

MeasureSmallMediumLarge
Absolute r or phi.10.30.50
V, k − 1 = 1.10.30.50
V, k − 1 = 2.07.21.35
V, k − 1 = 3.06.17.29
Eta squared.01.06.14

The news table's V of .29 is close to the medium benchmark for k − 1 = 1. Applying the wrong table-size row changes the label. Benchmarks help orientation, but topic and earlier research determine practical importance. A small turnout difference can matter across a large population, while a significant but tiny difference may have little practical value in another setting.

Key Takeaways

  • Effect size measures magnitude separately from significance.
  • Phi suits 2 × 2 tables; Cramér’s V adjusts for larger tables.
  • Use the smaller table dimension when calculating V.
  • r squared and eta squared describe shares of variation.
  • Interpret conventional benchmarks in the research context.

5.4 Write up quantitative results in a research report

A results section should let readers connect a research question to evidence. Move from the sample and its characteristics to descriptions of the main variables, then to the relationships that answer the questions. Use the discussion to explain their broader meaning.

Build a table a reader can use

Give each table a number and a title naming the variables and sample. For example: “Table 2. Main news source by age group, adults aged 18 and over (column percentages).” Include the column bases, total N, missing-data treatment and data source. Label counts and percentages so the denominator is clear.

Use consistent precision within columns: percentages to one decimal and most statistics to two decimals. A percentage of 36.4723% becomes 36.5%, not an impression of greater measurement accuracy. Use a decimal point and a thousands comma in American English: 1,250 respondents.

Use standard statistical notation

APA style uses italics for Latin statistical symbols such as N, n, M, SD, r, p, t, F and V. Greek symbols such as χ and η remain in standard type. Omit the leading zero for statistics bounded by 1 in magnitude, such as r = .45, p = .03 and V = .29. Keep it for statistics that can exceed 1, such as M = 0.82.

Give exact p-values to two or three decimals when they are at least .001. For smaller values write p < .001. Software displaying “.000” has rounded a small value; it has not shown a probability of exactly zero.

Write the pattern, size and significance

A crosstab sentence can combine the direction, key percentages and formal result:

“Younger respondents were more likely to name social media as their main news source: 55.0% of those aged 18–34, compared with 36.0% at 35–54 and 20.0% at 55 and over, χ²(2, N = 400) = 33.01, p < .001, V = .29.”

For a correlation, write:

“Age was moderately and negatively correlated with daily social-media time, r(118) = −.45, p < .001; about 20% of the variation in time was associated with the linear relationship.”

A coefficient without words leaves readers to infer the substantive meaning. A paragraph repeating every cell makes the table redundant. Select the comparison that answers the question and point to the table for detail.

State limits that affect interpretation

Report sampling and missingness alongside the findings. Cross-sectional data leave time order and third-variable explanations unresolved. Non-probability recruitment limits population generalization. Question wording and missing answers can affect what the figures represent. If many tests were run, make that clear so a small p-value is not read in isolation. State these concrete limits without discarding the descriptive patterns the data support.

Key Takeaways

  • Organize results around the research questions.
  • Label tables with variables, bases, units and missing-data treatment.
  • Use consistent APA-style symbols and precision.
  • Report rounded software p-values of .000 as p < .001.
  • Interpret direction, effect size and significance in words.
  • State the design and data limits relevant to the finding.
6

Carry out the analysis in statistical software

The same research question can be analyzed in SPSS, R or JASP if the variables, cases and options match. You will connect the data-preparation steps to each program, locate the main analyses and identify the output needed for a report. Saving syntax, scripts or project settings makes the work repeatable and helps explain discrepancies caused by missing data or different test options.

6.1 Set up and prepare a data file in SPSS, R or JASP

SPSS, R and JASP can all prepare and analyze survey data. SPSS combines menus with syntax; R uses commands saved in scripts, often through RStudio; JASP uses menus and saves data with analysis settings. Whichever you choose, begin with a codebook and an unchanged raw file.

Define variables in SPSS

Data View displays cases in rows and variables in columns. Variable View displays one row per variable. Set Name, Type, Label, Values, Missing and Measure. A numeric storage type does not establish a numeric measurement level.

For q7_trust, enter labels for valid values 1–4, declare 8 and 9 as user-missing, and choose Ordinal under Measure. SPSS uses Scale for interval/ratio variables. Save the data as a .sav file. Use Paste in analysis dialogs to record the menu settings as syntax, then save that syntax separately.

Import and prepare data in R

Read a CSV into a data frame, a table of variables with one row per case:

survey <- read.csv("survey.csv")
survey <- transform(survey,
  q7_trust = replace(q7_trust, q7_trust %in% c(8, 9), NA))
survey$trust_ordered <- factor(survey$q7_trust,
  levels = 1:4,
  labels = c("Not at all", "Not very much", "Quite a lot", "A great deal"),
  ordered = TRUE)

The replacement changes missing codes to NA. The factor attaches labels and order to the remaining codes. Keep the numeric and labeled versions clearly distinguished. haven::read_sav("survey.sav") imports an SPSS file; inspect imported labels and missing-value handling before analysis.

Use cut() to form numeric groups and arithmetic to reverse items, such as 6 - item for valid 1–5 responses. Set missing codes to NA first. Many functions need na.rm = TRUE or use = "complete.obs" to omit missing cases in the intended way.

Inspect JASP's import choices

JASP opens CSV and SPSS files. Its default import rules treat two distinct integer values as Nominal, three to ten as Ordinal and more than ten as Scale. Inspect each column icon and correct it against the codebook; six unordered region codes still need Nominal. Add special missing codes to the missing-value list and confirm them in frequencies.

JASP's computed columns can use drag-and-drop formulas or R code. Save a .jasp file to retain data, analyses and settings. SPSS recoding is under Transform > Recode into Different Variables, with calculations under Transform > Compute Variable.

Preserve a repeatable workflow

Save the input file, codebook and preparation record together. In SPSS the record is syntax, in R a script, and in JASP the saved project and its settings. After preparation, inspect frequencies and old-by-new crosstabs. A saved file is useful evidence only when the labels, missing rules and transformations behind it are also clear.

Key Takeaways

  • Check labels, missing codes and measurement levels after import.
  • SPSS separates Data View from Variable View.
  • R represents missing values with NA and categories with factors.
  • Correct JASP’s automatic level assignments when needed.
  • Save syntax, scripts or project settings to repeat the work.

6.2 Run analyses and read the output

Software output becomes evidence only after you identify the method, valid cases and settings behind it. Run descriptive checks first, then the analysis that answers the research question.

Produce single-variable summaries

In SPSS, use Analyze > Descriptive Statistics > Frequencies, with chart options when needed. In JASP, use Descriptives and switch on frequency tables for categorical variables. In R, table() counts categories and prop.table() converts counts to proportions. Multiply proportions by 100 for percentages. Missing values need explicit handling if you want them displayed.

Run and read a crosstab

SPSS uses Analyze > Descriptive Statistics > Crosstabs. Put the outcome in rows and the proposed influence in columns. Under Cells request column percentages and expected counts. Under Statistics choose Chi-square and Phi and Cramer's V. JASP provides these choices under Frequencies > Contingency Tables.

The equivalent R sequence is:

tab <- with(survey, table(news_source, age_group))
100 * prop.table(tab, margin = 2)
result <- chisq.test(tab, correct = FALSE)
result$expected
result

Here margin = 2 uses column totals. The explicit correction setting selects the ordinary Pearson version, including for 2 × 2 tables. The same table and setting must be used when deriving phi or V.

In SPSS's Chi-Square Tests output, read the Pearson Chi-Square row: Value, df and Asymptotic Significance (2-sided). Check the footnote for the proportion of expected counts below 5 and the minimum expected count. A separate Continuity Correction row is a different version of the test.

Select correlations and mean summaries

SPSS offers Pearson and Spearman under Analyze > Correlate > Bivariate. JASP offers them under Regression > Correlation. In R, set the method explicitly:

with(survey, cor(age, hours_online,
  method = "spearman", use = "complete.obs"))
with(survey, cor.test(age, hours_online, method = "spearman"))

cor() returns a coefficient; cor.test() adds a test and p-value. Both default to Pearson when method is omitted. Compare their valid cases and options before treating results as equivalent.

For group means, use SPSS Analyze > Compare Means > Means, selecting “Anova table and eta” under Options. In R, aggregate() or tapply() gives means by group. In JASP, split Descriptives by the group variable and use ANOVA for its test and eta squared.

Turn output into a report

R can print p-value = 6.805e-08, meaning 6.805 × 10⁻⁸; report p < .001. Retain group bases, test statistics and effect sizes, round consistently and build a clean report table.

When programs disagree, first compare missing values, valid cases, filters, measurement settings and corrections. With the same data and options, their results should agree. Extra decimal places or a different output label do not create a substantive difference.

Key Takeaways

  • Use the analysis method and missing-value settings deliberately.
  • R’s column proportions use margin = 2.
  • Read the Pearson Chi-Square row and expected-count footnote.
  • Specify Spearman explicitly in both cor() and cor.test().
  • Compare cases and corrections when software results differ.
  • Build a readable report from output instead of pasting it wholesale.

Analyzing Quantitative Data examples

6 Walkthroughs

1

Turn questionnaire answers into an analysis file

14 steps
Follow coding, cleaning and a new scale score from the questionnaire to checked variables.
  1. 1
    IntroductionFrom answers to a usable file

    A survey file must preserve what respondents meant while letting software count and compare their answers. Follow a small community survey through three preparation decisions: how to code its answers, how to check the entries and how to create a score.

    Keep the original responses unchanged so every correction can be traced and every transformation can be repeated.

  2. 2
    ExplanationGive each row and column a meaning

    One case is a respondent; one variable is a characteristic or answer; one value is that respondent’s entry on that variable. Give each case an ID and each variable a short name such as q7_trust.

    The codebook supplies the full question, value labels, missing rules and measurement level. Keep direct identifiers out of the analysis file to protect confidentiality.

  3. 3
    ExampleDefine a trust question

    For “How much do you trust the national parliament?”, record 1 = “Not at all,” 2 = “Not very much,” 3 = “Quite a lot” and 4 = “A great deal.”

    Add 8 = “Don’t know” and 9 = “No answer,” declare both missing, and set the level to Ordinal. These definitions belong in the codebook and in the software, so the same numbers carry the same meaning throughout the analysis.

  4. 4
    ExplanationAllow more than one selection

    The question “Which local services have you used? Select all that apply” can give several answers for one person. Create one variable per service, coded 1 for selected and 0 for not selected.

    A respondent who used both a library and a park gets a 1 in both columns. If an export stores all selections in one text cell, split it before counting individual services.

  5. 5
    ChallengeChoose a missing code

    A survey accepts respondents of every adult age. Would 99 work as a special code for an unanswered age? Explain the problem.

    ---reveal---

    A respondent can genuinely be 99, so the same value would mix a real age with a missing answer. Choose a value outside the valid range, such as −9, and declare it missing. Separate codes can preserve reasons such as refusal and routing.

  6. 6
    ExampleFind a code outside the range

    A frequency table for the trust question contains one response of 6. The codebook permits only 1–4, 8 and 9, so 6 fails a range check.

    Use the respondent ID to consult the original answer. Correct the entry if it can be recovered; otherwise set it missing. Record what changed and why in a cleaning log or script.

  7. 7
    ConnectionCheck related answers too

    A respondent’s employment code says “No paid job,” while paid working hours equal 40. Both values are individually possible, but together they conflict with the questionnaire’s routing.

    This is a consistency check. Inspect the original answers and routing before deciding what to correct. Range checks alone cannot find every problem in a data file.

  8. 8
    ExampleSee a missing code change the mean

    Ages 25, 40 and 31 are valid; 99 is an unanswered-age code. If the program treats all four numbers as ages, the mean is:

    195/4=48.75

    Declaring 99 missing changes the calculation to:

    96/3=32

    The respondents did not change. The first result was distorted because a missing code entered both the total and the case count.

  9. 9
    ChallengeCount the cases actually analyzed

    A survey has 80 respondents. Five lack age, seven lack trust and two lack both. How many complete cases can an age–trust analysis use?

    ---reveal---

    Ten distinct cases are missing at least one answer: 5 + 7 − 2. The analysis uses 70 cases. Subtracting both missing counts without accounting for overlap would wrongly exclude the two shared cases twice.

  10. 10
    ExplanationAlign scale items before adding them

    A connection scale includes “I feel supported” and “I often feel left out,” both scored 1–5 for agreement. Their directions differ. High agreement with the second statement must become a low connection score.

    For valid 1–5 answers, reverse with 6 minus the old value. A 5 becomes 1 and a 2 becomes 4. Missing values stay missing.

  11. 11
    ExampleBuild and interpret a total

    A respondent’s four item scores are 4, 3, 5 and 2. The third item is negatively worded, so its 5 becomes 1. The aligned scores total 10; their mean is 2.5.

    For complete responses, four 1–5 items sum to 4–20, while the mean keeps the 1–5 range. Check that the items measure the same concept before combining them, and record the scoring and missing-item rules.

  12. 12
    TipInspect the mapping after a recode

    After grouping ages, crosstab the original ages against the new bands. Check boundary values, such as 34 and 35, and confirm that each valid age enters exactly one intended group.

    Missing codes need the same attention: an age code of 99 must not slip into “55 and over.” Retain exact age as a separate variable because grouping discards detail.

  13. 13
    ChallengeRepair a preparation sequence

    An analyst groups ages, then declares 99 missing in the original age variable. The grouped variable now includes those cases among older respondents. What must be repaired?

    ---reveal---

    Recreate or correct the grouped variable so those cases stay missing. Changing the original’s missing setting afterward does not reliably undo an existing recode. Verify the old-by-new mapping and record the corrected preparation sequence.

  14. 14
    RecapA traceable preparation record

    Your finished preparation record should connect each analysis variable to the questionnaire and its transformation rules.

    Keep the raw file, a codebook, a cleaning record and the prepared copy. Check allowed values, related answers, missingness and new-variable ranges. The valid case count is part of every later result, so unexpected changes in it are a reason to inspect preparation before interpreting findings.

2

Choose an analysis from the questions you asked

11 steps
Identify measurement levels and connect them to summaries and bivariate methods.

Save this lesson to follow every Walkthrough step by step.

  1. 1
    IntroductionStart with the meaning of the values
  2. 2
    ExplanationSeparate labels from order
  3. 3
    ExplanationDistinguish equal gaps and true zero
  4. 4
    ExampleNotice what the answer format changes
  5. 5
    ChallengeCorrect an import guess
  6. 6
    ExplanationDescribe one variable first
  7. 7
    ExampleMatch two variables to a method
  8. 8
    Key InsightGive the variables research roles
  9. 9
    ChallengeChoose between ranks and category means
  10. 10
    ChallengeConnect level, shape and choice
  11. 11
    RecapKeep the decision path visible
3

Describe a distribution without hiding its base

14 steps
Work from frequency counts to charts and a useful center-and-spread pair.

Save this lesson to follow every Walkthrough step by step.

  1. 1
    IntroductionFind out what the answers look like
  2. 2
    ExampleFind the valid base
  3. 3
    ExampleRead a running total
  4. 4
    TipKeep small bases in view
  5. 5
    ChallengeChoose the denominator
  6. 6
    ExplanationUse different charts for categories and quantities
  7. 7
    ExampleName the tail’s direction
  8. 8
    ChallengeRepair a misleading bar chart
  9. 9
    ExampleLocate an ordinal middle
  10. 10
    ExampleWatch one extreme value shift a mean
  11. 11
    Key InsightCenter needs a measure of spread
  12. 12
    ChallengeChoose a description from the distribution
  13. 13
    ChallengeCombine the table, chart and summary
  14. 14
    RecapA distribution a reader can reconstruct
4

Compare groups, read correlations and check explanations

19 steps
Work through a crosstab, a correlation, eta and a third-variable check.

Save this lesson to follow every Walkthrough step by step.

  1. 1
    IntroductionAsk how one variable differs with another
  2. 2
    ExampleBuild the news-source comparison
  3. 3
    ExampleCalculate within each age group
  4. 4
    ChallengeInterpret the gap accurately
  5. 5
    ExplanationRead a plot before its coefficient
  6. 6
    ExampleKeep sign separate from variation
  7. 7
    ExplanationUnderstand what a rank correlation changes
  8. 8
    ChallengeDiagnose a near-zero correlation
  9. 9
    ExampleCompare outcomes within groups
  10. 10
    ExampleCalculate between-group variation
  11. 11
    ExampleTurn the variation into eta squared
  12. 12
    ChallengeRead size and uncertainty separately
  13. 13
    ExplanationAsk what a causal claim needs
  14. 14
    ExampleNotice a pooled turnout gap
  15. 15
    ExampleCompare within age groups
  16. 16
    Key InsightDistinguish a pathway from a common cause
  17. 17
    ChallengeRecognize a moderator
  18. 18
    ChallengeCombine the statistical and design choices
  19. 19
    RecapReport the pattern and its possible explanation
5

Read a test and write a useful finding

19 steps
Calculate expected counts, interpret significance, judge effect size and compose a result.

Save this lesson to follow every Walkthrough step by step.

  1. 1
    IntroductionSeparate evidence from magnitude
  2. 2
    ExplanationSet the independence model
  3. 3
    ExampleCalculate one expected count
  4. 4
    ExampleCombine departures and read the result
  5. 5
    TipCheck expected counts and independent cases
  6. 6
    ChallengeCheck the small-cell condition
  7. 7
    ExplanationPut a p-value into words
  8. 8
    ExampleHold size fixed while changing the sample
  9. 9
    ChallengeRepair a probability reversal
  10. 10
    ConnectionKeep recruitment and testing visible
  11. 11
    ExplanationChoose a strength measure
  12. 12
    ExampleCalculate Cramér’s V
  13. 13
    Key InsightInterpret squared measures as shares
  14. 14
    ChallengeDo size and significance agree here?
  15. 15
    ExampleCompose the substantive comparison
  16. 16
    TipFormat output for the reader
  17. 17
    ChallengeRepair a result copied from software
  18. 18
    ChallengeDecide what belongs beside a finding
  19. 19
    RecapA complete result answers several questions
6

Run a repeatable analysis and check the output

14 steps
Connect software settings to the data preparation, crosstab and correlation you want to report.

Save this lesson to follow every Walkthrough step by step.

  1. 1
    IntroductionThe same analysis across three programs
  2. 2
    ExplanationDefine the file in SPSS
  3. 3
    ExampleReplace a missing code in R
  4. 4
    TipCheck JASP’s measurement icons
  5. 5
    ChallengeCheck setup before analysis
  6. 6
    ExampleRequest a crosstab in the menus
  7. 7
    ExampleWrite the crosstab in R
  8. 8
    ExplanationRead the statistic and its conditions
  9. 9
    ChallengeExplain a cross-program mismatch
  10. 10
    ExampleRequest the intended correlation
  11. 11
    ConnectionFind the group summaries
  12. 12
    ChallengeCheck cases before comparing findings
  13. 13
    ChallengeLeave a reproducible result
  14. 14
    RecapSave choices with the findings

Analyzing Quantitative Data practice questions

60 Practice Questions in 6 sets

Set 1: Choose summaries that fit the variables10 Practice Questions

Question 1 of 10

Monthly visits are 0, 1, 2, 2, 3, 4 and 30. What pair best describes the center and spread without being dominated by the extreme value?
  1. Median and interquartile range.
  2. Mean and full range.
  3. Mode and standard deviation.
  4. Mean and standard deviation.
Show answerHide answer
Answer: A
The high value creates a long right tail, so the median and IQR summarize the center and middle half without letting that extreme dominate. Mean and SD are meaningful numeric measures, but both are sensitive to this unusually high count.

Question 2 of 10

A questionnaire asks respondents to choose an age band: “18–29,” “30–49” or “50 and over.” What is the measurement level of the answers?
  1. Ratio.
  2. Interval.
  3. Ordinal.
  4. Nominal.
Show answerHide answer
Answer: C
The bands have a meaningful order, but they do not preserve exact ages or equal distances between responses. Age measured in years is ratio; collecting age bands changes the information available. The concept name “age” alone does not determine the recorded variable’s level.

Question 3 of 10

A region variable coded 1–6 is imported as “Ordinal.” What setting should replace it, and why?
  1. Nominal, because the regions have no rank.
  2. Scale, because all six codes are integers.
  3. Ordinal, because every code is a number.
  4. Scale, because the intervals between codes are equal.
Show answerHide answer
Answer: A
Region codes distinguish categories without ranking them, so Nominal is the appropriate setting. Equal numeric gaps in arbitrary labels do not create meaningful distances. Software import guesses must be checked against what the survey question measured.

Question 4 of 10

Researchers compare the main commuting mode with weekly volunteering hours. What analysis preserves the outcome’s numeric detail?
  1. Correlate the mode codes with volunteering hours.
  2. Compare the mean mode code within hour bands.
  3. Rank commuting modes by their assigned code.
  4. Compare mean hours within commuting-mode groups.
Show answerHide answer
Answer: D
The commuting mode is nominal and hours are numeric, so compare hours within mode groups and summarize strength with eta. Pearson correlation of mode codes would depend on how those categories were numbered. Group means retain the outcome’s meaningful numeric distances.

Question 5 of 10

A survey has 180 cases, including 30 missing answers. Sixty valid respondents choose “Often.” What is its valid percentage?
  1. 33.3%.
  2. 40.0%.
  3. 50.0%.
  4. 20.0%.
Show answerHide answer
Answer: B
There are 150 valid answers, so 60 divided by 150 gives 40.0%. Dividing by all 180 cases gives 33.3%, the percentage of everyone sampled. Valid percentages exclude missing answers from the denominator while keeping the missing count available to report.

Question 6 of 10

An ordered table runs from “Never” to “Daily.” The cumulative percentage through “Weekly” is 72%. What does 72% describe?
  1. Respondents using the service weekly or more often.
  2. Respondents using the service weekly or less often.
  3. Respondents using the service exactly once a week.
  4. Respondents whose most common answer is weekly.
Show answerHide answer
Answer: B
A cumulative percentage adds categories from the start of the displayed order. With “Never” first, the total through “Weekly” includes weekly and every less frequent category. Reading it as “at least weekly” reverses the direction of accumulation.

Question 7 of 10

A numeric distribution has most values near the low end and a long tail of high values. How is its shape described?
  1. Left-skewed.
  2. Symmetric.
  3. Right-skewed.
  4. Bimodal.
Show answerHide answer
Answer: C
Skew is named for the direction of the long tail, which here extends toward higher values on the right. The side containing most observations does not name the skew. A second peak would be needed to describe the distribution as bimodal.

Question 8 of 10

Education is recorded in ordered qualification categories and wellbeing as a 0–100 numeric score. What coefficient suits a monotonic relationship between them?
  1. Pearson’s r.
  2. Phi coefficient.
  3. Cramér’s V.
  4. Spearman’s rho.
Show answerHide answer
Answer: D
Spearman’s rho works with ranks and respects the ordered qualification categories without assuming equal gaps. Pearson’s r on their codes would impose numeric spacing the categories do not establish. The coefficient should summarize a pattern that moves consistently in one direction.

Question 9 of 10

A report compares commuting modes across two independent samples of 80 and 240 people. It uses counts and truncates the bar axis at 50. What display would support a fair comparison of mode shares?
  1. Count bars from zero, with the sample sizes omitted.
  2. Percentage bars from 50, with every value rounded.
  3. Count bars from 50, labeled with each sample size.
  4. Percentage bars from zero, labeled with each sample size.
Show answerHide answer
Answer: D
Unequal sample sizes make counts a poor guide to relative shares, so percentages answer the comparison question. Bars also need a zero baseline because their lengths encode size. Keeping the sample sizes visible preserves the different amount of evidence behind those shares.

Question 10 of 10

A 1–5 satisfaction item has counts 8, 12, 18, 32 and 30. A report claims both its median and mode are 5 because the cumulative total reaches 100 there. What are the correct median and mode?
  1. Median 4; mode 4.
  2. Median 5; mode 5.
  3. Median 3; mode 4.
  4. Median 4; mode 5.
Show answerHide answer
Answer: A
The cumulative counts are 8, 20, 38, 70 and 100, so both middle observations fall in category 4. Category 4 also has the largest individual count, 32. Reaching 100% identifies the end of the table, not its median or most frequent answer.
Set 2: Prepare and check a survey file10 Practice Questions

Save this lesson to see every answer and practice every set.

Question 1 of 10

What file layout best records answers to “Which of four community services have you used? Select all that apply”?
  1. One variable coded 1, 2, 3 or 4.
  2. Four variables, each coded 0 or 1.
  3. Four variables, each holding a rank.
  4. One variable holding the total only.
Show answerHide answer

Save this lesson to see this answer.

Question 2 of 10

A survey includes adults of every age. Why is −9 a better missing-age code than 99?
  1. Negative codes are automatically excluded.
  2. Every age above 90 is considered missing.
  3. A code of 99 would change age to ordinal.
  4. A respondent can have a valid age of 99.
Show answerHide answer

Save this lesson to see this answer.

Question 3 of 10

Two researchers classify the same open answers into a single-category variable. Many answers fit two categories. What should they change first?
  1. Clarify category boundaries and coding rules.
  2. Average the two codes for each answer.
  3. Assign the smaller code whenever coders differ.
  4. Replace all disputed answers with missing values.
Show answerHide answer

Save this lesson to see this answer.

Question 4 of 10

Trust has valid codes 1–4 and missing codes 8 and 9. A frequency table includes a value of 7. What check has identified the problem?
  1. A range check.
  2. A consistency check.
  3. A significance test.
  4. A reliability estimate.
Show answerHide answer

Save this lesson to see this answer.

Question 5 of 10

Recorded weekly hours are 12, 18, 24 and −9, where −9 means “No answer.” What mean should be reported?
  1. 11.25 hours.
  2. 13.5 hours.
  3. 18 hours.
  4. 24 hours.
Show answerHide answer

Save this lesson to see this answer.

Question 6 of 10

A respondent reports no paid job and 36 paid working hours. Both values pass their range checks. What should the researcher do?
  1. Change job status to employed without checking.
  2. Keep both values because their ranges are valid.
  3. Change hours to zero without checking the form.
  4. Check the original answers and routing by ID.
Show answerHide answer

Save this lesson to see this answer.

Question 7 of 10

An agreement item runs from 1 to 7. What is the reverse-coded value of a response of 2?
Show answerHide answer

Save this lesson to see this answer.

Question 8 of 10

A missing age is coded 999. A recode assigns every value at least 60 to “60 and over.” Why does the new variable have too many older respondents?
  1. The missing code was recoded as a valid age.
  2. Grouping changed every respondent’s actual age.
  3. The oldest category should include only age 60.
  4. The threshold should be raised to include 999.
Show answerHide answer

Save this lesson to see this answer.

Question 9 of 10

Six valid responses to a membership indicator are 1, 0, 0, 1, 1 and 0. How should a mean of .50 be interpreted?
  1. The typical respondent belongs to half a group.
  2. Membership has a standard deviation of .50.
  3. Half of these respondents are members.
  4. Every respondent has a 50% membership score.
Show answerHide answer

Save this lesson to see this answer.

Question 10 of 10

A file has 100 cases. Ten lack age, eight lack trust, and three lack both. A Pearson correlation uses complete cases on these two variables. How many cases contribute?
  1. 82 cases.
  2. 85 cases.
  3. 87 cases.
  4. 90 cases.
Show answerHide answer

Save this lesson to see this answer.

Set 3: Interpret relationships in survey data10 Practice Questions

Save this lesson to see every answer and practice every set.

Question 1 of 10

In a crosstab with housing tenure in columns and satisfaction in rows, how should percentages be calculated to compare satisfaction within tenure groups?
  1. Within each row.
  2. Across the whole table.
  3. Across both diagonal cells.
  4. Within each column.
Show answerHide answer

Save this lesson to see this answer.

Question 2 of 10

Forty-five of 75 renters and 72 of 160 owners support a proposal. How much higher is support among renters in percentage points?
  1. 25 points.
  2. 15 points.
  3. 20 points.
  4. 33.3 points.
Show answerHide answer

Save this lesson to see this answer.

Question 3 of 10

A survey reports Pearson’s r = −.72 between two numeric variables. What does the minus sign describe?
  1. Higher values of one tend to accompany lower values of the other.
  2. The relationship has a weaker magnitude than every positive r.
  3. The outcome falls by .72 units for each increase of one unit.
  4. Seventy-two percent of outcome variation is accounted for.
Show answerHide answer

Save this lesson to see this answer.

Question 4 of 10

Pearson’s r between study time and a numeric score is .60. What percentage of variation is linearly associated with the relationship?
  1. 60%.
  2. 40%.
  3. 36%.
  4. 64%.
Show answerHide answer

Save this lesson to see this answer.

Question 5 of 10

Group output reports between-group variation of 24 and within-group variation of 56. What is eta squared?
  1. .43.
  2. .55.
  3. .30.
  4. .70.
Show answerHide answer

Save this lesson to see this answer.

Question 6 of 10

A cross-sectional survey finds greater trust among frequent service users. What conclusion matches the design?
  1. Frequent service use is associated with higher trust.
  2. Frequent service use has been shown to increase trust.
  3. Higher trust has been shown to increase service use.
  4. Trust and service use have no possible causal connection.
Show answerHide answer

Save this lesson to see this answer.

Question 7 of 10

For a service proposal, low-resource renters support it in 45 of 90 cases and low-resource owners in 5 of 10. High-resource renters support it in 8 of 10 cases and high-resource owners in 72 of 90. Resource level predates tenure and influences both tenure and support. What comparison supports a common-cause explanation?
  1. Renters’ 24-point pooled advantage disappears within resource groups.
  2. Owners’ 24-point pooled advantage remains within both resource groups.
  3. Owners’ 24-point pooled advantage reverses within both resource groups.
  4. Owners’ 24-point pooled advantage disappears within resource groups.
Show answerHide answer

Save this lesson to see this answer.

Question 8 of 10

Pairwise Pearson output gives age with daily walking time r = −.40, N = 92, and age with weekly volunteering time r = .70, N = 74. What coefficient, variation share and base describe the stronger observed linear relationship?
  1. r = .70; 70% linearly associated variation; N = 74.
  2. r = .70; 49% linearly associated variation; N = 74.
  3. r = −.40; 40% linearly associated variation; N = 92.
  4. r = .70; 49% linearly associated variation; N = 92.
Show answerHide answer

Save this lesson to see this answer.

Question 9 of 10

A mean-comparison output gives eta = .50 for three employment categories. What information is needed to identify the pattern of differences?
  1. The positive or negative sign attached to eta.
  2. The outcome mean within each employment category.
  3. The numeric distance between employment codes.
  4. The square root of the total sample size.
Show answerHide answer

Save this lesson to see this answer.

Question 10 of 10

A training–confidence association vanishes after splitting by job role. One theory says role affects both; another says training changes role and role changes confidence. What additional evidence distinguishes these interpretations?
  1. Time order and evidence about the proposed pathways.
  2. A smaller p-value for the original two-variable test.
  3. A larger pooled percentage-point gap before splitting.
  4. A change from column percentages to row percentages.
Show answerHide answer

Save this lesson to see this answer.

Set 4: Judge significance and practical importance10 Practice Questions

Save this lesson to see every answer and practice every set.

Question 1 of 10

A crosstab cell has a row total of 90, a column total of 80 and a total N of 240. What count is expected under independence?
  1. 56.7.
Show answerHide answer

Save this lesson to see this answer.

Question 2 of 10

A 3 × 4 table has no expected count below 1, but three of its twelve cells have expected counts below 5. Does it meet the usual expected-count rule?
  1. Yes; no expected count under 1.
  2. Yes; it has more than two rows.
  3. No; 25% of cells are below 5.
  4. No; each count must exceed 10.
Show answerHide answer

Save this lesson to see this answer.

Question 3 of 10

A test gives p = .032 and the planned alpha is .01. How should the significance decision be reported?
  1. The result is significant, as p is under .05.
  2. The null is true with probability .032.
  3. The research hypothesis is 96.8% likely true.
  4. The result is not significant at alpha .01.
Show answerHide answer

Save this lesson to see this answer.

Question 4 of 10

A probability-sample test gives p = .02. What does that probability refer to?
  1. The null hypothesis being true given these results.
  2. Results at least this extreme under the null model.
  3. The research hypothesis being false in this sample.
  4. Exactly 2% of respondents having unreliable answers.
Show answerHide answer

Save this lesson to see this answer.

Question 5 of 10

A 2 × 3 table has uncorrected Pearson χ² = 12 and N = 300. What is Cramér’s V?
  1. .04.
  2. .20.
  3. .14.
  4. .40.
Show answerHide answer

Save this lesson to see this answer.

Question 6 of 10

A statistical output prints a p-value as “.000.” How should it appear in a research report?
  1. p < .001.
  2. p = .000.
  3. p = 0 exactly.
  4. p > .001.
Show answerHide answer

Save this lesson to see this answer.

Question 7 of 10

Two independent probability samples use the same 2 × 2 proportions: 55% support in one group and 45% in the other, with equally sized groups. One sample has 200 cases and the other 2,000. How do ordinary Pearson χ² and phi’s magnitude compare?
  1. Both chi-square and phi’s magnitude are larger for 2,000.
  2. Chi-square is unchanged; phi’s magnitude is larger for 2,000.
  3. Both chi-square and phi’s magnitude are unchanged.
  4. Chi-square is larger for 2,000; phi’s magnitude is unchanged.
Show answerHide answer

Save this lesson to see this answer.

Question 8 of 10

A 2 × 2 table of independent cases has observed counts 1, 8, 5 and 6. Its expected counts are 2.7, 6.3, 3.3 and 7.7. Recruitment used a probability sample. What test choice is appropriate under the usual expected-count rule?
  1. Use ordinary chi-square as no count is zero.
  2. Use ordinary chi-square for a total above ten.
  3. Use Fisher’s exact test for this sparse table.
  4. Enter percentages in chi-square to raise the base.
Show answerHide answer

Save this lesson to see this answer.

Question 9 of 10

A researcher tests 60 truly unrelated pairs at alpha .05 and highlights three significant findings without reporting the rest. What concern follows from this strategy?
  1. All three findings must be genuine because their p-values are below .05.
  2. No false positives are expected because every tested pair is truly unrelated.
  3. About three false positives are expected; selective reporting hides the testing context.
  4. Exactly three tests must be significant in every repetition of the study.
Show answerHide answer

Save this lesson to see this answer.

Question 10 of 10

A cross-sectional convenience survey finds r = .12, p < .001 between exercise time and confidence. What wording best combines the observed result with its limits?
  1. A significant positive effect shows that more exercise raises confidence throughout the population.
  2. A small positive sample association was nonsignificant because r was too close to zero to matter.
  3. A significant positive effect shows that confidence rises by .12 units for each hour of exercise.
  4. A small positive sample association was significant; causality and population generalization remain unresolved.
Show answerHide answer

Save this lesson to see this answer.

Set 5: Use software and read its output10 Practice Questions

Save this lesson to see every answer and practice every set.

Question 1 of 10

In SPSS, where are value labels, user-missing codes and measurement levels defined?
  1. Data View.
  2. Variable View.
  3. Output Viewer.
  4. Chart Editor.
Show answerHide answer

Save this lesson to see this answer.

Question 2 of 10

R imports unanswered scores as −8. What preparation is needed before calculating a numeric mean with na.rm = TRUE?
  1. Convert scores to character.
  2. Label the −8 codes as “Missing.”
  3. Round the −8 codes to integers.
  4. Replace the −8 codes with NA.
Show answerHide answer

Save this lesson to see this answer.

Question 3 of 10

In R, tab has outcomes in rows and groups in columns. What does prop.table(tab, margin = 2) return?
  1. Proportions within each row.
  2. Counts within each column.
  3. Proportions within each column.
  4. Proportions of the whole table.
Show answerHide answer

Save this lesson to see this answer.

Question 4 of 10

A researcher wants Spearman’s coefficient and its p-value in R. What call specifies both?
  1. cor.test(x, y, method = "spearman")
  2. cor.test(x, y)
  3. cor(x, y, method = "spearman")
  4. cor(x, y, use = "complete.obs")
Show answerHide answer

Save this lesson to see this answer.

Question 5 of 10

SPSS displays “Pearson Chi-Square,” “Continuity Correction” and “Likelihood Ratio” rows. What row provides the ordinary Pearson chi-square statistic?
  1. Continuity Correction.
  2. Likelihood Ratio.
  3. Pearson Chi-Square.
  4. The row with the smallest p-value.
Show answerHide answer

Save this lesson to see this answer.

Question 6 of 10

A JASP file has occupation codes 1–5 and a missing code of −9. What setup makes a categorical occupation analysis meaningful?
  1. Set Ordinal and retain −9 as a category.
  2. Set Nominal and declare −9 missing.
  3. Set Scale and declare −9 missing.
  4. Set Nominal and retain −9 as a category.
Show answerHide answer

Save this lesson to see this answer.

Question 7 of 10

A CSV has 150 respondents. Twelve lack trust, nine lack age and four lack both. R uses complete cases and returns Pearson’s r = −.30, p = .0005. What result correctly reports the usual Pearson test?
  1. r(131) = −.30, p < .001.
  2. r(127) = −.30, p < .001.
  3. r(148) = −.30, p < .001.
  4. r(131) = −.30, p = .000.
Show answerHide answer

Save this lesson to see this answer.

Question 8 of 10

For the same 2 × 2 counts, SPSS reports ordinary Pearson χ² = 8.00 and N = 200; default R output gives χ² = 7.22. The planned report uses ordinary Pearson chi-square. What R setting and phi magnitude match that plan?
  1. Keep the R default; phi = .20.
  2. Set correct = FALSE; phi = .20.
  3. Set correct = FALSE; phi = .19.
  4. Set correct = FALSE; phi = .04.
Show answerHide answer

Save this lesson to see this answer.

Question 9 of 10

What SPSS button records a menu analysis as commands that can be saved and rerun?
  1. Paste.
  2. Reset.
  3. Cancel.
  4. Help.
Show answerHide answer

Save this lesson to see this answer.

Question 10 of 10

R reports eta = .30 and group sizes 40, 30 and 30. JASP reports eta squared = .09 and N = 96 from the same input file. What needs resolving before the outputs can be treated as the same analysis?
  1. The effect-size values conflict, but both analyses use the same base.
  2. The effect-size values conflict, so their average should be reported.
  3. The effect-size values are compatible, so both can be reported with N = 96.
  4. The effect-size values are compatible, but case selection needs checking.
Show answerHide answer

Save this lesson to see this answer.

Set 6: Review an analysis from data to report10 Practice Questions

Save this lesson to see every answer and practice every set.

Question 1 of 10

A report has r = −.40 with 82 complete cases and p = .00018. What APA-style result matches the usual Pearson correlation test?
  1. r(82) = −.40, p = .000.
  2. r(80) = .16, p < .001.
  3. r(80) = −.40, p < .001.
  4. r(81) = −.40, p = .001.
Show answerHide answer

Save this lesson to see this answer.

Question 2 of 10

Three complete 1–5 items measure the same concept and have been aligned in direction. What is the possible range of their summed score?
  1. 1–5.
  2. 0–15.
  3. 3–15.
  4. 3–5.
Show answerHide answer

Save this lesson to see this answer.

Question 3 of 10

Two probability samples both give r = .25, but only the larger sample has p < .05. What explains the different significance decisions?
  1. Sample size can change evidence while the association stays the same size.
  2. The larger sample must have a stronger association despite the same r.
  3. The smaller sample establishes that the population correlation is zero.
  4. The larger sample establishes that the relationship is a causal effect.
Show answerHide answer

Save this lesson to see this answer.

Question 4 of 10

A survey records 24 supporters among 40 shift workers and 56 among 160 daytime workers. A draft says, “Only 30% of supporters work shifts, so shift workers are less supportive.” What comparison answers whether support differs by work schedule?
  1. 30% versus 70%; shift workers are 40 points less supportive.
  2. 12% versus 28%; shift workers are 16 points less supportive.
  3. 60% versus 35%; shift workers are 25% more supportive.
  4. 60% versus 35%; shift workers are 25 points more supportive.
Show answerHide answer

Save this lesson to see this answer.

Question 5 of 10

A survey asks about civic trust using one ordered four-category item and party preference using unordered categories. What analysis fits the research question about their association?
  1. Pearson correlation of the two category codes.
  2. A crosstab with chi-square and Cramér’s V.
  3. Mean party code within each trust category.
  4. A histogram of party codes with a numeric trend.
Show answerHide answer

Save this lesson to see this answer.

Question 6 of 10

A 3 × 4 table with N = 400 has ordinary Pearson χ² = 32. After a meaningful category collapse, the 2 × 4 table still has N = 400 but χ² = 16. A draft says the association became weaker because chi-square halved. How do the Cramér’s V values compare?
  1. V falls from about .28 to .20 because chi-square halved.
  2. V falls from .20 to about .14 because chi-square halved.
  3. V stays at .04 because the normalized statistic is unchanged.
  4. V stays at .20 because the smaller table dimension also changes.
Show answerHide answer

Save this lesson to see this answer.

Question 7 of 10

A staff survey records high confidence among 36 of 60 trained and 12 of 40 untrained new staff. Among experienced staff, the counts are 20 of 40 trained and 48 of 60 untrained. How should a draft’s claim of one positive overall training–confidence association be revised?
  1. Report moderation: group gaps are +30 and −30 points, with a pooled gap of −4 points.
  2. Report no association: group gaps of +30 and −30 points give a pooled gap of zero.
  3. Report a common cause: the pooled gap of −4 points disappears within both staff groups.
  4. Report a training benefit: both staff groups favor training, with a pooled gap of +4 points.
Show answerHide answer

Save this lesson to see this answer.

Question 8 of 10

Of 80 older respondents, 56 answer trust and 28 report high trust. Of 120 younger respondents, 114 answer trust and 57 report high trust. A draft compares high trust as 35.0% versus 47.5%. What comparison and missing-data note should replace it?
  1. High trust is 35.0% versus 47.5%; missingness is 30% versus 5%, so the trust gap is established.
  2. High trust is 50% in both valid groups; missingness is 30% versus 5% and may affect interpretation.
  3. High trust is 50% in both valid groups; missingness is equal because the valid rates match.
  4. High trust is 35.0% versus 47.5%; valid percentages should keep all respondents as the base.
Show answerHide answer

Save this lesson to see this answer.

Question 9 of 10

R reports p-value = 4.2e-06. What is the matching report form?
  1. p = .042.
  2. p = .42.
  3. p < .001.
  4. p > .05.
Show answerHide answer

Save this lesson to see this answer.

Question 10 of 10

An ANOVA summary for three neighborhood groups has between-group variation 18, within-group variation 102 and p = .18. A draft reports “eta = .15, statistically significant.” What result should replace it at alpha .05?
  1. Eta ≈ .39 and eta squared = .15; the test is nonsignificant.
  2. Eta = .15 and eta squared ≈ .39; the test is nonsignificant.
  3. Eta ≈ .39 and eta squared = .15; the test is significant.
  4. Eta ≈ .42 and eta squared ≈ .18; the test is nonsignificant.
Show answerHide answer

Save this lesson to see this answer.

Stuck on your own question? Homework Help

Key Terms

101 Key Terms, each with its definition

A

Alpha
Alpha is the significance level chosen before testing, used as the threshold for deciding whether to reject the null hypothesis.
With alpha .01, a p-value of .03 does not reach the planned significance threshold.
Analysis filter
An analysis filter is a rule selecting which cases enter an analysis, which must match when comparing results across software or runs.
When two analysts’ valid Ns disagree because one excludes incomplete questionnaires, the analysis filter is checked.
APA style
APA style is a widely used social-science reporting standard covering statistical notation, precision and presentation of research findings.
The writer italicizes p, keeps χ upright and reports a software value of .000 as p < .001.
Association
An association is a pattern in which the distribution of one variable differs with another, without itself establishing a causal direction.
An age–news-source association describes different news shares across age groups in the sample.

B

Bar chart
A bar chart displays distinct categories as separate bars with lengths representing counts or percentages on a common scale.
A bar chart of a five-category satisfaction item keeps the categories in order and starts the percentage axis at zero.
Between-group sum of squares
The between-group sum of squares adds squared differences between group and overall means, weighted by the number in each group.
A large group contributes more than a small group with the same distance from the overall mean.
Bimodal distribution
A bimodal distribution has two peaks, which can make a single center statistic hide the locations of the main clusters.
A distribution with clusters near 10 and 40 hours has two peaks even if its mean is around 25.
Bivariate analysis
Bivariate analysis examines the relationship between two variables, using a method suited to their measurement levels and pattern.
A crosstab of commuting mode by employment group examines two variables together.
Box plot
A box plot displays a numeric variable’s median, quartiles, whiskers and potential outliers to summarize its distribution.
Side-by-side box plots reveal greater variation in commuting time among one employment group.

C

Case
A case is one unit about which data are collected, usually a respondent in a survey, represented by one row in the analysis file.
In a household survey interviewing one adult per home, each interviewed adult is a case.
Cell
A cell is one position in a crosstab, containing the count or labeled percentage for a particular combination of categories.
One cell records the number of younger respondents who name social media as their main news source.
Chi-square test of independence
The chi-square test of independence compares observed categorical counts with counts expected under population independence.
The analyst tests whether news-source shares differ across age groups beyond the null model’s expectation.
Codebook
A codebook documents variable names, question labels, answer codes, missing-value rules and measurement levels for a data file.
Before counting trust answers, the analyst checks the codebook to see that 9 means “No answer.”
Coding frame
A coding frame is a set of categories and assignment rules used to classify open answers consistently across cases and coders.
Two coders use the same coding frame to classify respondents’ main reasons for joining a group.
Coefficient of determination
The coefficient of determination, r squared, is the share of variation associated with the linear relationship between two variables.
An r of .50 gives r squared of .25, or 25% linearly associated variation.
Column percentage
A column percentage divides a cell’s count by its column total, so the outcome shares within that column add to 100%.
If 30 of 50 renters support a proposal, the support cell is 60.0% of the renter column.
Column proportion
A column proportion is a cell count divided by its column total, expressed on a 0–1 scale and converted to a percentage by multiplying by 100.
For one cell, R returns .35 from prop.table(tab, margin = 2), corresponding to 35% within that cell’s column.
Computing
Computing creates a variable through a calculation using one or more existing variables, with its rule recorded for later checking.
The analyst computes a total score from four items after checking their coding direction.
Consistency check
A consistency check compares related answers or routing to find combinations that contradict the questionnaire’s definitions or logic.
A person recorded as having no paid job is checked after reporting 35 paid hours per week.
Correlation matrix
A correlation matrix arranges coefficients for variable pairs in matching rows and columns, with 1s on the diagonal and mirrored entries.
In a correlation matrix of age and hours, the age–hours coefficient appears twice, but it represents one unique pair of variables.
Cramér’s V
Cramér’s V measures categorical association strength using chi-square, N and the smaller table dimension, and ranges from 0 to 1.
The analyst uses V for a news-source table with two rows and three age columns.
Cronbach’s alpha
Cronbach’s alpha is a measure of how consistently items in a scale vary together, often checked before combining their scores.
An alpha around .70 is used as a rough check, alongside the meaning and direction of the items.
Cross-sectional survey
A cross-sectional survey measures cases at one time, describing current patterns while often leaving causal time order unresolved.
A one-time survey records current confidence and training participation without tracking their sequence.
Crosstabulation
A crosstabulation counts cases in each combination of two categorical variables and supports comparisons using within-group percentages.
The crosstab puts news-source categories in rows and age groups in columns for comparison.
Cumulative percentage
A cumulative percentage is the running total of valid percentages through an ordered set of categories in the displayed direction.
In a table ordered from low to high satisfaction, 65% through category 3 means 65% scored 3 or lower.

D

Data frame
A data frame is R’s table-like structure for variables measured on cases, with columns holding variables and rows holding observations.
After read.csv(), the survey data frame contains one row for each imported respondent.
Data matrix
A data matrix is a rectangular arrangement in which rows represent cases, columns represent variables and cells contain recorded values.
The row for respondent 203 contains that person’s age, work status and trust response.
Degrees of freedom
The degrees of freedom identify the independent information available for a test; for a crosstab they are (rows − 1)(columns − 1).
A table with two rows and four columns has three degrees of freedom for the independence test.
Dependent variable
A dependent variable is the outcome whose differences or pattern an analysis seeks to describe in relation to another variable.
Weekly volunteering hours are the dependent variable when they are compared across education groups.
Dichotomous variable
A dichotomous variable has exactly two categories and is usually analyzed as nominal; 0/1 coding also gives its mean a proportion meaning.
The yes/no item “Did you vote?” is dichotomous, whether its labels are words or numeric codes.
Double entry
Double entry means entering the same questionnaire data independently twice and comparing the files to locate typing differences.
Two entries disagree on respondent 416’s age, so the researcher consults the original form.
Dummy variable
A dummy variable indicates membership in a category using 1 for membership and 0 otherwise; its mean is the share coded 1.
A degree indicator with a mean of .42 shows that 42% of the valid respondents have a degree.

E

Effect size
An effect size describes the magnitude of a relationship or difference, separately from the significance test’s p-value.
A report gives a 12-point gap in support between two groups alongside its chi-square test rather than reporting p alone.
Effect-size benchmark
An effect-size benchmark is a conventional reference for describing magnitude, useful for orientation but dependent on measure and context.
A V of .25 is compared with the benchmark for its own table’s smaller dimension, not with a universal cutoff.
Elaboration
Elaboration examines a two-variable relationship within groups defined by a third variable to see how the original pattern changes.
The researcher compares readership and turnout separately among younger and older respondents.
Eta
Eta measures how strongly a numeric outcome differs across categorical groups, from 0 to 1 without a positive or negative sign.
Eta can capture a middle group scoring lower than both other groups without assigning the categories a slope.
Eta squared
Eta squared is the between-group sum of squares divided by the total sum of squares, expressing a share of outcome variation.
An eta squared of .12 means 12% of the sample’s outcome variation lies between the groups.
Expected count
An expected count is the cell frequency predicted under independence, calculated from its row total, column total and grand total.
A row total of 80 and column total of 60 in N = 200 produce an expected cell count of 24.

F

Factor
A factor is R’s representation of categorical data with defined levels and labels, optionally carrying a meaningful order.
The trust factor uses four ordered labels while the unordered region factor labels places.
False positive
A false positive occurs when a test rejects a true null hypothesis, one reason multiple tests need a visible analysis strategy.
At alpha .05, 40 tests of true null relationships yield about two false positives on average.
False precision
False precision presents more numerical detail than the measurement or reporting purpose supports, making estimates appear overly exact.
A table uses 36.5% instead of 36.4723% so every category has a consistent, useful level of detail.
Fisher’s exact test
Fisher’s exact test is an alternative test of association for a 2 × 2 table, useful when expected counts are too small for ordinary chi-square.
The researcher uses Fisher’s test after a four-cell table fails the usual expected-count rule.
Frequency table
A frequency table lists each value or category of a variable alongside its number of cases and usually its percentage.
In a frequency table of transport use, 72 valid respondents appear beside the category “Weekly.”

G

Group mean
A group mean is the average valid numeric outcome among cases in one category, reported with that group’s spread and case count.
The mean volunteering time for retired respondents is shown alongside their SD and valid n.
Grouped frequency table
A grouped frequency table combines numeric values into defined, nonoverlapping intervals and gives the count in each interval.
Whole-hour responses are grouped into 0–4, 5–9 and 10–14 hours to make the distribution readable.

H

Histogram
A histogram displays a numeric distribution across touching class intervals, using equal-width bar heights to show frequencies.
A histogram of weekly work hours reveals a long tail of respondents working unusually many hours.

I

Independent variable
An independent variable is the proposed influence or explanatory grouping in an analysis, chosen using theory and time order.
When asking whether age relates to news habits, age is treated as the independent variable.
Interquartile range
The interquartile range spans the middle 50% of ordered data and, for numeric values, is the third quartile minus the first.
A median of 22 minutes with an IQR of 14 minutes describes the center and middle-half spread.
Interval measurement
Interval measurement has meaningful equal distances between values but lacks a true zero that would support comparisons of ratios.
A change from 10 °C to 20 °C is 10 degrees, but 20 °C is not twice as warm as 10 °C.
Intervening variable
An intervening variable lies on a proposed causal pathway, transmitting a connection from the explanatory variable to the outcome.
Income is intervening in a theory where education increases income and income improves health.

K

Kendall’s tau-b
Kendall’s tau-b is a rank-based association measure for ordered variables that accounts for tied values in its calculation.
Tau-b is an alternative when many respondents share the same ordered response categories.

L

Listwise deletion
Listwise deletion excludes a case from an analysis when any variable used in that analysis is missing for that case.
A correlation using age, trust and hours keeps only respondents with all three answers.

M

Marginals
The marginals are a crosstab’s row and column totals, used as group bases and to calculate expected counts under independence.
In a crosstab of social-media use by age group, the column totals provide the denominators for comparing use by age.
Mean
The mean is the sum of valid numeric values divided by their number, giving a center that is sensitive to extreme observations.
Adding one very high commuting time raises the mean even though most respondents’ times are unchanged.
Median
The median is the middle of ordered observations, with half on each side, providing a center that is resistant to extreme values.
In a list of book counts whose middle count is 2, changing the largest count from 40 to 50 leaves the middle count at 2.
Missing-value code
A missing-value code marks an absent or unusable answer and must be distinguishable from every valid response on that variable.
The file uses −9 for an unanswered age because 99 could be a real respondent’s age.
Mode
The mode is the most frequently occurring value or category in a distribution, identified from individual counts or percentages.
“Weekly” is the mode when more respondents choose it than any other transport-use category.
Moderating variable
A moderating variable changes the strength or direction of a relationship across its values or groups.
Education moderates an age–news-use relationship that is strong in one education group and weak in another.
Monotonic relationship
A monotonic relationship moves consistently in one direction as the other variable increases, even when the pattern is not a straight line.
Service use rises with age but levels off at older ages, keeping an upward monotonic pattern.
Multiple-response question
A multiple-response question lets a respondent select several options, usually recorded as separate selected/not-selected variables.
A person using both libraries and parks receives a 1 in each of those service-use variables.
Multivariate analysis
Multivariate analysis considers three or more variables together, including checks of a two-variable pattern within third-variable groups.
Separate turnout-by-readership tables for age groups add age to the original two-variable analysis.

N

NA
NA is R’s marker for a missing value, which functions handle through their own missing-value settings and arguments.
The analyst replaces −9 with NA before calculating a mean with na.rm = TRUE.
Nominal measurement
Nominal measurement distinguishes categories that have no meaningful order, even when numbers are used to label those categories.
Renumbering the regions from 1–6 to 11–16 does not change anyone’s region or its measurement level.
Null hypothesis
A null hypothesis states the reference claim tested against the data, such as no population association or equal population means.
For a chi-square independence test, the null states that the two population variables are unrelated.

O

Ordinal measurement
Ordinal measurement places answers in a meaningful order without establishing equal distances between neighboring categories.
“Never,” “Sometimes” and “Often” are ordered answers, but their gaps are not equal quantities.
Outlier
An outlier is an observation far from the rest of a distribution that needs checking and can strongly affect numeric summaries.
One respondent’s 90-hour working week is checked against the original answer before analysis.

P

P-value
A p-value is the probability, under the null model and test assumptions, of results at least as extreme as those observed.
A p-value of .02 describes unusual data under the null; it is not a 2% probability that the null is true.
Pairwise deletion
Pairwise deletion uses the available valid cases for each pair of variables, so different coefficients can have different bases.
In one survey file, an age–trust correlation uses 190 cases, while an age–hours correlation uses 176.
Pearson’s r
Pearson’s r measures the direction and strength of a linear association between two numeric variables, ranging from −1 to +1.
A value of −.60 indicates a stronger negative linear pattern than a value of −.20.
Percentage-point difference
A percentage-point difference subtracts one percentage from another to express their gap directly on a common percentage scale.
Support of 60% among renters and 45% among owners gives a difference of 15 percentage points.
Phi
Phi is an association-strength measure for a 2 × 2 table; its magnitude is the square root of uncorrected Pearson chi-square divided by N.
Phi has the same magnitude when every table count is doubled but the group proportions stay fixed.
Pie chart
A pie chart divides a circle into shares of one whole and is most readable when there are only a few distinct categories.
The chart divides respondents by their single main news source, with each person in one slice.
Practical importance
Practical importance concerns whether an observed difference matters in its research setting, considering magnitude and consequences.
A small turnout change may matter across many people even if a conventional benchmark labels it small.
Probability sample
A probability sample selects cases through known chances, providing the sampling basis for the population inferences taught here.
A survey link circulated among volunteers lacks the probability-sampling basis of a random selection.

R

Range
The range is the difference between the largest and smallest numeric values, so it depends strongly on the two extremes.
A new maximum of 100 minutes stretches the commute range even if the middle observations stay fixed.
Range check
A range check compares recorded values with the codes or limits allowed by the codebook to identify impossible or undefined entries.
A value of 7 is flagged when a question allows valid responses 1–4 and missing codes 8 and 9.
Ratio measurement
Ratio measurement has equal intervals and a true zero, supporting meaningful differences and ratios between recorded quantities.
Working 40 hours is twice working 20 hours because zero hours means no time worked.
Recoding
Recoding transforms existing values according to a stated mapping, often creating a new variable while preserving the original.
Ages in years are recoded into bands, then an old-by-new table checks the boundary values.
Results section
A results section presents the sample, variable summaries and analyses that answer research questions, separating evidence from broader discussion.
A results section describes a support gap and its test, while the discussion considers possible social explanations.
Reverse causation
Reverse causation means that the outcome may influence the proposed cause, reversing the explanatory direction initially suggested.
A trust–news-viewing association may reflect trust encouraging viewing as well as viewing building trust.
Reverse coding
Reverse coding reverses the direction of a response scale so that high and low values align with the intended meaning of a combined score.
Agreement with “I feel left out” is reversed before the item enters a social-connection score.

S

Scale variable
A scale variable is SPSS’s and JASP’s measurement category for interval or ratio values, where numeric distances are meaningful.
Exact commuting minutes are set to Scale, while commuting-mode codes are set to Nominal.
Scatterplot
A scatterplot places one point per case using two numeric values to reveal the direction, form, strength and unusual points in a relationship.
A scatterplot with a U shape shows a pattern that would be hidden by reporting a near-zero Pearson correlation.
Scientific notation
Scientific notation expresses a number as a coefficient times a power of ten, often used by software to display very small p-values.
R’s p-value of 2.5e-07 means .00000025 and is reported as p < .001.
Skew
Skew is asymmetry in a distribution, named for the direction of its long tail toward unusually high or low values.
Most respondents read few books, but a few very high counts create a right-skewed distribution.
Spearman’s rho
Spearman’s rho measures the direction and strength of a monotonic association using ranks, making it suitable for ordinal data.
The researcher uses rho to relate ordered qualification categories to an ordered trust item.
Spurious relationship
A spurious relationship is an association produced by a third variable influencing both variables in the original comparison.
Age can produce a readership–turnout gap when older respondents both read print news and vote more.
Standard deviation
The standard deviation summarizes how far numeric values vary around their mean, expressed in the same units as the variable.
Two groups both average 30 minutes of travel, but the group with SD 18 minutes is more dispersed.
Statistical output
Statistical output is the set of results produced by an analysis, including estimates, test statistics and information about its cases or settings.
The analyst extracts the Pearson chi-square row and checks the expected-count footnote before reporting.
Statistical significance
Statistical significance means a test’s p-value falls below the chosen alpha, giving evidence against its null hypothesis.
A tiny correlation can be significant in a very large sample while remaining small in practical size.
Straightlining
Straightlining is giving the same response throughout a question grid, a pattern researchers may flag when assessing response quality.
The analyst flags an unchanged response across a long grid, then applies the documented review rule.
Summated scale
A summated scale adds related, consistently directed items to form a score intended to measure one underlying concept.
Four complete 1–5 items yield a summed score from 4 to 20 after negative items are reversed.
Syntax
Syntax is a saved sequence of commands that records data preparation or analysis choices so the procedure can be inspected and rerun.
SPSS’s Paste button writes the dialog choices into syntax instead of leaving only a printed result.

U

Univariate analysis
Univariate analysis describes one variable at a time using an appropriate distribution, chart or summary of center and spread.
A table of respondents’ main commuting modes is univariate even when it includes many categories.

V

Valid case count
A valid case count is the number of observations actually contributing to a particular summary or analysis after its exclusions.
A correlation reports n = 186 even though the survey it draws on contained 210 respondents.
Valid percentage
A valid percentage expresses a category’s count as a share of cases with valid answers, excluding missing responses from the base.
With 40 selections among 160 valid answers, the valid percentage is 25.0%, regardless of missing cases.
Value
A value is the recorded answer or measurement for one case on one variable, interpreted using the variable’s code definitions.
A trust value of 3 means “Quite a lot” when the codebook assigns that label to code 3.
Variable
A variable is a characteristic that can differ between cases, such as age, work status or the answer to an agreement question.
The researcher stores weekly working hours in one variable and employment status in another.
Variable View
Variable View is SPSS’s display for defining each variable’s name, type, label, value labels, missing codes and measurement level.
The analyst changes region’s Measure to Nominal and declares its unanswered code missing in Variable View.

W

Within-group sum of squares
The within-group sum of squares adds the squared distances of individual observations from the mean of their own group.
Respondents’ variation around their employment-group means contributes to within-group variation.

Y

Yates’ continuity correction
Yates’ continuity correction adjusts the chi-square approximation for a 2 × 2 table, reducing the statistic and increasing its p-value.
When one analyst uses R and another uses SPSS, default R output differs from SPSS’s Pearson row until both choose the same correction setting.

About this lesson

By StudeliReport a mistake

Make your own Study Materials

Turn your notes, slides and documents into Study Guides, Practice Questions, Flashcards and 6 more tools.

Get Started