Context
Correlation output
A pupil investigates the relationship between weekly revision hours and assessment score.
Simulated output
> cor(study$hours, study$score) [1] 0.82
Which conclusion is best?
Choose an option, then check the feedback.
Higher Applications of Mathematics
Graphing and measuring relationships.
Check commands and output meanings.
Plan reports, conclusions and limitations.
Review RStudio and project skills.
Method chooser
Do you need to load a data file?
Use read.csv() and check the data frame.
Do you need averages or spread?
Use mean(), median(), sd() and summary().
Do you need to compare distributions?
Use boxplot() or hist().
Do you need to check a relationship between two variables?
Use plot() and cor().
Do you need a straight-line model?
Use lm() and interpret the gradient.
Are you estimating a population mean?
Use a confidence interval from t.test().
Are you testing a mean or paired data?
Use t.test(), with paired = TRUE for matched pairs.
Are you testing two proportions?
Use prop.test().
Are you writing the project conclusion?
State evidence, context and limitations clearly.
Technology output practice
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
A pupil investigates the relationship between weekly revision hours and assessment score.
Simulated output
> cor(study$hours, study$score) [1] 0.82
Which conclusion is best?
Choose an option, then check the feedback.
Walkthrough 1
A pupil is using RStudio for examining relationships between two numerical variables with a small school-friendly data set.
The output should be checked against the variables and the original question.
Walkthrough 2
RStudio has produced numerical or graphical output.
Correlation describes strength and direction, but does not prove causation.
Walkthrough 3
The result must be used in a project conclusion.
The conclusion should be clear, cautious and linked to evidence.
Statistics connection
Next step
Use the learning notes to read output tables carefully, then try varied summary, correlation, regression and test-output interpretation.