What about these?
Likert scale responses ranging from 1-7
Participant ID numbers
Age
Zip code
Level of education
What about these?
Likert scale responses ranging from 1-7
Participant ID numbers
Age
Zip code
Level of education
Population \(\rightarrow\) Parameter
Sample \(\rightarrow\) Statistic
Generally, parameters are depicted as Greek letters, while statistics are depicted using English letters.
Ex. Population mean \(\mu\) vs sample mean \(\bar{X}\)
Ex. Population variance \(\sigma^2\) vs sample variance \(s^2\)
The “average”
\(\bar{X} = \displaystyle\frac{\displaystyle\sum_{i=1}^{i=N}x_1,x_2,x_3,...,x_N}{N}\)
The “middle” number (e.g., 50th percentile)
The most frequent value
Tail is on right side
Data centered on left side of distribution
Tail is on left side
Data centered on right side of distribution
What effect does this have on mean, median, and mode?
Most basic
Efficient for smaller tasks
Fewer frills
Create notebooks
Document-like editing style
Export to website or pdf - customizable graphics
Updated/advanced version of R Markdown
Additional features like creating presentations
You start with “base R” and can download packages from there
Each time you open R or clear your environment, you need to load packages again
Functions are typically written in the following format:
FunctionName(parameter1, parameter2, etc.)
examples:
[1] 39.24628
To see what a function does and what parameters can be specified for the function, use the following:
Using this feature can be confusing at times, but Google is your friend!
The best way to get better at using RStudio is by experimenting and finding new information when you get stuck.