0% found this document useful (0 votes)
14 views6 pages

Experiment: 5: Aim: Theory

introduction to data science part 2
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
14 views6 pages

Experiment: 5: Aim: Theory

introduction to data science part 2
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 6

EXPERIMENT: 5

AIM: Introduce the concept of data moments and demonstrate it with specific dataset.
THEORY: In statistics, data moments refer to various characteristics or properties of a
dataset, typically expressed as summary statistics or mathematical expressions. These
moments provide insights into the distribution, central tendency, dispersion, and shape of the
data. The most common moments are the mean, variance, skewness, and kurtosis.

The mean represents the average height of the students.

Mean = (65 + 68 + 63 + 71 + 72 + 66 + 69 + 70 + 67 + 64) / 10 = 67.5 inches

Second moment: Variance

Variance measures the spread of the data points around the mean.

Variance = Σ(height - mean)² / n

Third moment: Skewness

Skewness indicates the asymmetry of the distribution.

Skewness = Σ((height - mean)³) / (n * variance^(3/2))

Fourth moment: Kurtosis

Kurtosis measures the peakedness or flatness of the distribution.

Kurtosis = Σ((height - mean)⁴) / (n * variance²)

CODE AND OUTPUT:


EXPERIMENT: 6
AIM: Introduce and demonstrate the concept of data skewness with specific dataset.
THEORY:
Skewness is a measure of the asymmetry of the probability distribution of a real-valued
random variable about its mean. It provides information about the shape of the distribution,
particularly whether it is symmetric or skewed to one side.

Here's how skewness works:

A skewness value of 0 indicates a symmetric distribution.

A positive skewness value indicates that the distribution is skewed to the right, meaning it has
a long right tail.

A negative skewness value indicates that the distribution is skewed to the left, meaning it has
a long left tail.

CODE AND OUTPUT:


EXPERIMENT: 7
AIM: Introduce and demonstrate the concept data kurtosis with specific data range.
THEORY:
Kurtosis is a statistical measure that describes the shape of the distribution of data. It indicates
how peaked or flat the distribution is compared to a normal distribution. A higher kurtosis
value means the distribution has heavier tails and a sharper peak, while a lower kurtosis value
indicates lighter tails and a flatter peak.

There are different formulas for calculating kurtosis, but a common one is the fourth moment
about the mean. It is often calculated as follows:

CODE AND OUTPUT:

You might also like