Back to RStudio and Project Skills

Higher Applications of Mathematics

Interpreting RStudio output

Reading output tables and explaining results clearly.

Before you start

  • Know the statistical question you are trying to answer.
  • Check that variables are named clearly and measured in suitable units.
  • Be ready to write an interpretation, not just copy RStudio output.

Method chooser

Which RStudio method do I use?

RStudio lesson

Key idea

  • This topic focuses on reading RStudio output and writing plain-English conclusions. In Higher Applications, RStudio is used as a practical tool to calculate, graph and test ideas from data.
  • A strong answer shows what command was used, what output was produced, and what that output means in context. Use careful language such as 'This suggests...' or 'There is evidence to suggest...'.

Key commands and skills

  • Read estimate, interval, p-value, model coefficients and context
  • names(data)
  • summary(data)
  • Use comments in scripts with # to explain your steps.

Technology output practice

RStudio output guide

Read the simulated output, pick out the key value, then turn it into a written conclusion. This is a learning preview, not a real RStudio environment.

Context

Summary statistics output

A class compares journey times to a sports venue, measured in minutes.

Simulated output

> summary(travel$minutes)
Min.   1st Qu.   Median   Mean   3rd Qu.   Max.
18.0     26.0      30.5    31.4     36.0    48.0

> sd(travel$minutes)
[1] 6.8
Mean31.4
Median30.5
Standarddeviation 6.8

Mean

31.4 min

The average journey time in the sample.

Median

30.5 min

Half the journeys were shorter than this and half were longer.

Standard deviation

6.8 min

A typical spread from the mean; smaller would mean more consistent times.

What it means

The typical journey took just over 30 minutes. The standard deviation shows there was some variation, so one journey time should not be treated as exact for everyone.

What to write

The mean journey time was 31.4 minutes and the median was 30.5 minutes, so a typical journey was about 31 minutes. The standard deviation of 6.8 minutes shows the journey times varied by several minutes.

Weak answer: The standard deviation is 6.8, so the average is 6.8.

Watch out

Remember that standard deviation is not the average. It describes spread, not centre.

Which value would you quote to describe consistency?

Choose an option, then check the feedback.

Worked examples

Walkthrough 1

Run the command

A pupil is using RStudio for reading RStudio output and writing plain-English conclusions with a small school-friendly data set.

  1. Load or identify the data frame.
  2. Check the exact column names with names(data).
  3. Run the key command: Read estimate, interval, p-value, model coefficients and context

The output should be checked against the variables and the original question.

Walkthrough 2

Read the output

RStudio has produced numerical or graphical output.

  1. Find the key value, graph feature or p-value.
  2. Check the unit and variable name.
  3. Avoid copying every line of output into the conclusion.

The output only becomes useful when linked back to the statistical question.

Walkthrough 3

Write the interpretation

The result must be used in a project conclusion.

  1. Start with a cautious phrase such as 'This suggests...'.
  2. Refer to the context and variables.
  3. Mention a limitation if the data set is small, biased or observational.

The conclusion should be clear, cautious and linked to evidence.

Watch out

  • Misspelling a data frame or column name.
  • Forgetting brackets or quotation marks in a command.
  • Copying output without explaining what it means.
  • Claiming causation from correlation.
  • Using strong language such as 'proves' when the data only suggests evidence.

Next step

Move into practice

Use the learning notes to read output tables carefully, then try varied summary, correlation, regression and test-output interpretation.

RStudio mixed quiz