Calculating common measure of variability, skewness, and percentiles on R

0.0(0)
studied byStudied by 0 people
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/7

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

8 Terms

1
New cards

How do you calculate the range on R

  1. type in the data

    • e.g. dataname<-c(4,6,9,3,7)

  2. find the range

    • range_of_data(choose a name) <- max(data name)-min(data name)

2
New cards

how do you calculate the upper and lower quartile on R

  1. type in the data

    • dataname<-c()

  2. find quartiles

    • quantiles_of_dataname(choose a name)<-quantile(data name, type=6)

3
New cards

how do you calculate the IQR on R

  1. type in the data

    • dataname<-c()

  2. IQR_of_data (choose a name)<-IQR(data name, type=6)

4
New cards

how do you calculate the standard deviation on R

  1. type in the data

    • dataname<-c()

  2. sd_dataname (choose a name) <-sd(data name)

5
New cards

how do you calculate the variance on R

  1. type in the data

    • dataname<-c()

  2. variance_dataname<-var(dataname)

6
New cards

how do you install the skewness statistic package in R

install.packages(“e1071”)

7
New cards

how to calculate the skewness statistic in R

  1. need to tell we need to use package ,

    require(“e1071”)

  2. chosen name <-skewness (data name)

8
New cards

how to calculate percentiles on R e.g. 65th percentile

  1. type in the data

    • dataname<-c()

  2. chosen name <- quantile(data name, 0.65, type=6)