Enter Number Set (Comma Separated)

You entered a number set X of {17,26,42,59}


From the 4 numbers you entered, we want to calculate the mean, variance, standard deviation, standard error of the mean, skewness, average deviation (mean absolute deviation), median, mode, range, Pearsons Skewness Coefficient of that number set, entropy, mid-range

Sort Ascending from Lowest to Highest

17, 26, 42, 59

Rank Ascending

17 is the 1st lowest/smallest number

26 is the 2nd lowest/smallest number

42 is the 3rd lowest/smallest number

59 is the 4th lowest/smallest number

Sort Descending from Highest to Lowest

59, 42, 26, 17

Rank Descending

59 is the 1st highest/largest number

42 is the 2nd highest/largest number

26 is the 3rd highest/largest number

17 is the 4th highest/largest number

Ranked Data Calculation

Sort our number set in ascending order

and assign a ranking to each number:

Ranked Data Table

Number Set Value17264259
Rank1234

Step 2: Using original number set, assign the rank value:

Since we have 4 numbers in our original number set,
we assign ranks from lowest to highest (1 to 4)

Our original number set in unsorted order was 17,26,42,59

Our respective ranked data set is 1,2,3,4

Root Mean Square Calculation

Root Mean Square  =  A
  N

where A = x12 + x22 + x32 + x42 and N = 4 number set items

Calculate A

A = 172 + 262 + 422 + 592

A = 289 + 676 + 1764 + 3481

A = 6210

Calculate Root Mean Square (RMS):

RMS  =  6210
  4

RMS  =  78.803553219382
  2

RMS = 39.401776609691

Central Tendency Calculation

Central tendency contains:
Mean, median, mode, harmonic mean,
geometric mean, mid-range, weighted-average:

Calculate Mean (Average) denoted as μ

μ  =  Sum of your number Set
  Total Numbers Entered

μ  =  ΣXi
  n

μ  =  17 + 26 + 42 + 59
  4

μ  =  144
  4

μ = 36

Calculate the Median (Middle Value)

Since our number set contains 4 elements which is an even number,
our median number is determined as follows

Number Set = (n1,n2,n3,n4)

Median Number 1 = ½(n)

Median Number 1 = ½(4)

Median Number 1 = Number Set Entry 2

Median Number 2 = Median Number 1 + 1

Median Number 2 = Number Set Entry 2 + 1

Median Number 2 = Number Set Entry 3

For an even number set, we average the 2 median number entries:

Median = ½(n2 + n3)

Therefore, we sort our number set in ascending order

Our median is the average of entry 2 and entry 3 of our number set highlighted in red:

(17,26,42,59)

Median = ½(26 + 42)

Median = ½(68)

Median = 34

Calculate the Mode - Highest Frequency Number

The highest frequency of occurence in our number set is 1 times
by the following numbers in green:

()

Since the maximum frequency of any number is 1, no mode exists.

Mode = N/A

Calculate Harmonic Mean:

Harmonic Mean  =  N
  1/x1 + 1/x2 + 1/x3 + 1/x4

With N = 4 and each xi a member of the number set you entered, we have:

Harmonic Mean  =  4
  1/17 + 1/26 + 1/42 + 1/59

Harmonic Mean  =  4
  0.058823529411765 + 0.038461538461538 + 0.023809523809524 + 0.016949152542373

Harmonic Mean  =  4
  0.1380437442252

Harmonic Mean = 28.976322124924

Calculate Geometric Mean:

Geometric Mean = (x1 * x2 * x3 * x4)1/N

Geometric Mean = (17 * 26 * 42 * 59)1/4

Geometric Mean = 10952760.25

Geometric Mean = 32.35049221287

Calculate Mid-Range:

Mid-Range  =  Maximum Value in Number Set + Minimum Value in Number Set
  2

Mid-Range  =  59 + 17
  2

Mid-Range  =  76
  2

Mid-Range = 38

Stem and Leaf Plot

Take the first digit of each value in our number set

Use this as our stem value

Use the remaining digits for our leaf portion

Sort our number set in descending order:

{59,42,26,17}

StemLeaf
59
42
26
17

Calculate Variance denoted as σ2

Let's evaluate the square difference from the mean of each term (Xi - μ)2:

(X1 - μ)2 = (17 - 36)2 = -192 = 361

(X2 - μ)2 = (26 - 36)2 = -102 = 100

(X3 - μ)2 = (42 - 36)2 = 62 = 36

(X4 - μ)2 = (59 - 36)2 = 232 = 529

Adding our 4 sum of squared differences up

ΣE(Xi - μ)2 = 361 + 100 + 36 + 529

ΣE(Xi - μ)2 = 1026

Use the sum of squared differences to calculate variance

PopulationSample

σ2  =  ΣE(Xi - μ)2
  n

σ2  =  ΣE(Xi - μ)2
  n - 1

σ2  =  1026
  4

σ2  =  1026
  3

Variance: σp2 = 256.5Variance: σs2 = 342
Standard Deviation: σp = √σp2 = √256.5Standard Deviation: σs = √σs2 = √342
Standard Deviation: σp = 16.0156Standard Deviation: σs = 18.4932

Calculate the Standard Error of the Mean:

PopulationSample

SEM  =  σp
  n

SEM  =  σs
  n

SEM  =  16.0156
  4

SEM  =  18.4932
  4

SEM  =  16.0156
  2

SEM  =  18.4932
  2

SEM = 8.0078SEM = 9.2466

Calculate Skewness:

Skewness  =  E(Xi - μ)3
  (n - 1)σ3

Let's evaluate the square difference from the mean of each term (Xi - μ)3:

(X1 - μ)3 = (17 - 36)3 = -193 = -6859

(X2 - μ)3 = (26 - 36)3 = -103 = -1000

(X3 - μ)3 = (42 - 36)3 = 63 = 216

(X4 - μ)3 = (59 - 36)3 = 233 = 12167

Add our 4 sum of cubed differences up

ΣE(Xi - μ)3 = -6859 + -1000 + 216 + 12167

ΣE(Xi - μ)3 = 4524

Calculate skewnes

Skewness  =  E(Xi - μ)3
  (n - 1)σ3

Skewness  =  4524
  (4 - 1)16.01563

Skewness  =  4524
  (3)4107.9924850764

Skewness  =  4524
  12323.977455229

Skewness = 0.36708927912558

Calculate Average Deviation (Mean Absolute Deviation) denoted below:

AD  =  Σ|Xi - μ|
  n

Evaluate the absolute value of the difference from the mean

|Xi - μ|:

|X1 - μ| = |17 - 36| = |-19| = 19

|X2 - μ| = |26 - 36| = |-10| = 10

|X3 - μ| = |42 - 36| = |6| = 6

|X4 - μ| = |59 - 36| = |23| = 23

Average deviation numerator:

Σ|Xi - μ| = 19 + 10 + 6 + 23

Σ|Xi - μ| = 58

Calculate average deviation (mean absolute deviation)

AD  =  Σ|Xi - μ|
  n

AD  =  58
  4

Average Deviation = 14.5

Calculate the Range

Range = Largest Number in the Number Set - Smallest Number in the Number Set

Range = 59 - 17

Range = 42

Calculate Pearsons Skewness Coefficient 1:

PSC1  =  μ - Mode
  σ

PSC1  =  3(36 - N/A)
  16.0156

Since no mode exists, we do not have a Pearsons Skewness Coefficient 1

Calculate Pearsons Skewness Coefficient 2:

PSC2  =  μ - Median
  σ

PSC1  =  3(36 - 34)
  16.0156

PSC2  =  3 x 2
  16.0156

PSC2  =  6
  16.0156

PSC2 = 0.3746

Calculate Entropy:

Entropy = Ln(n)

Entropy = Ln(4)

Entropy = 1.3862943611199

Calculate Mid-Range:

Mid-Range  =  Smallest Number in the Set + Largest Number in the Set
  2

Mid-Range  =  59 + 17
  2

Mid-Range  =  76
  2

Mid-Range = 38

Calculate the Quartile Items

We need to sort our number set from lowest to highest shown below:

{17,26,42,59}

Calculate Upper Quartile (UQ) when y = 75%:

V  =  y(n + 1)
  100

V  =  75(4 + 1)
  100

V  =  75(5)
  100

V  =  375
  100

V = 3 ← Rounded down to the nearest integer

Upper quartile (UQ) point = Point # 3 in the dataset which is 42

17,26,42,59

Calculate Lower Quartile (LQ) when y = 25%:

V  =  y(n + 1)
  100

V  =  25(4 + 1)
  100

V  =  25(5)
  100

V  =  125
  100

V = 1 ← Rounded up to the nearest integer

Lower quartile (LQ) point = Point # 1 in the dataset which is 17

17,26,42,59

Calculate Inter-Quartile Range (IQR):

IQR = UQ - LQ

IQR = 42 - 17

IQR = 25

Calculate Lower Inner Fence (LIF):

Lower Inner Fence (LIF) = LQ - 1.5 x IQR

Lower Inner Fence (LIF) = 17 - 1.5 x 25

Lower Inner Fence (LIF) = 17 - 37.5

Lower Inner Fence (LIF) = -20.5

Calculate Upper Inner Fence (UIF):

Upper Inner Fence (UIF) = UQ + 1.5 x IQR

Upper Inner Fence (UIF) = 42 + 1.5 x 25

Upper Inner Fence (UIF) = 42 + 37.5

Upper Inner Fence (UIF) = 79.5

Calculate Lower Outer Fence (LOF):

Lower Outer Fence (LOF) = LQ - 3 x IQR

Lower Outer Fence (LOF) = 17 - 3 x 25

Lower Outer Fence (LOF) = 17 - 75

Lower Outer Fence (LOF) = -58

Calculate Upper Outer Fence (UOF):

Upper Outer Fence (UOF) = UQ + 3 x IQR

Upper Outer Fence (UOF) = 42 + 3 x 25

Upper Outer Fence (UOF) = 42 + 75

Upper Outer Fence (UOF) = 117

Calculate Suspect Outliers:

Suspect Outliers are values between the inner and outer fences

We wish to mark all values in our dataset (v) in red below such that -58 < v < -20.5 and 79.5 < v < 117

17,26,42,59

Calculate Highly Suspect Outliers:

Highly Suspect Outliers are values outside the outer fences

We wish to mark all values in our dataset (v) in red below such that v < -58 or v > 117

17,26,42,59

Calculate weighted average

17, 26, 42, 59

Weighted-Average Formula:

Multiply each value by each probability amount

We do this by multiplying each Xi x pi to get a weighted score Y

Weighted Average  =  X1p1 + X2p2 + X3p3 + X4p4
  n

Weighted Average  =  17 x 0.2 + 26 x 0.4 + 42 x 0.6 + 59 x 0.8
  4

Weighted Average  =  3.4 + 10.4 + 25.2 + 47.2
  4

Weighted Average  =  86.2
  4

Weighted Average = 21.55

Frequency Distribution Table

Show the freqency distribution table for this number set

17, 26, 42, 59

Determine the Number of Intervals using Sturges Rule:

Choose the smallest integer k such that 2k ≥ n where n = 4

For k = 1, we have 21 = 2

For k = 2, we have 22 = 4 ← Use this since it is greater than our n value of 4

Therefore, we use 2 intervals

Our maximum value in our number set of 59 - 17 = 42

Each interval size is the difference of the maximum and minimum value divided by the number of intervals

Interval Size  =  42
  2

Add 1 to this giving us 21 + 1 = 22

Frequency Distribution Table

Class LimitsClass BoundariesFDCFDRFDCRFD
17 - 3916.5 - 39.5222/4 = 50%2/4 = 50%
39 - 6138.5 - 61.522 + 2 = 42/4 = 50%4/4 = 100%
  4 100% 

Successive Ratio Calculation

Go through our 4 numbers

Determine the ratio of each number to the next one

Successive Ratio 1: 17,26,42,59

17:26 → 0.6538

Successive Ratio 2: 17,26,42,59

26:42 → 0.619

Successive Ratio 3: 17,26,42,59

42:59 → 0.7119

Successive Ratio Answer

Successive Ratio = 17:26,26:42,42:59 or 0.6538,0.619,0.7119

Final Answers


1,2,3,4
RMS = 39.401776609691
Harmonic Mean = 28.976322124924Geometric Mean = 32.35049221287
Mid-Range = 38
Weighted Average = 21.55
Successive Ratio = Successive Ratio = 17:26,26:42,42:59 or 0.6538,0.619,0.7119