About Statistics and probability, Study notes of Mathematical Statistics

Solved statistics and probability sums

Typology: Study notes

2025/2026

Uploaded on 05/23/2026

denilson-salwenje-mwavali-1
denilson-salwenje-mwavali-1 🇿🇦

4 documents

1 / 105

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
MALLA REDDY COLLEGE OF ENGINEERING & TECHNOLOGY
Probability and Statistics
[R20A0024]
DIGITAL NOTES
DEPARTMENT OF CSE (DATA SCIENCE, CYBER SECURITY, INTERNET OF THINGS)
B.TECH
II I
2021-2022
Autonomous Institution - UGC, Govt. of India
APPROVED BY AICTE, ACCREDITED BY NBA & NAAC 'A' GRADE ISO 9001:2015 CERTIFIED
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e
pf1f
pf20
pf21
pf22
pf23
pf24
pf25
pf26
pf27
pf28
pf29
pf2a
pf2b
pf2c
pf2d
pf2e
pf2f
pf30
pf31
pf32
pf33
pf34
pf35
pf36
pf37
pf38
pf39
pf3a
pf3b
pf3c
pf3d
pf3e
pf3f
pf40
pf41
pf42
pf43
pf44
pf45
pf46
pf47
pf48
pf49
pf4a
pf4b
pf4c
pf4d
pf4e
pf4f
pf50
pf51
pf52
pf53
pf54
pf55
pf56
pf57
pf58
pf59
pf5a
pf5b
pf5c
pf5d
pf5e
pf5f
pf60
pf61
pf62
pf63
pf64

Partial preview of the text

Download About Statistics and probability and more Study notes Mathematical Statistics in PDF only on Docsity!

MALLA REDDY COLLEGE OF ENGINEERING & TECHNOLOGY

Probability and Statistics

[R20A0024]

DIGITAL NOTES

DEPARTMENT OF CSE (DATA SCIENCE, CYBER SECURITY, INTERNET OF THINGS)

B.TECH II – I

R

Autonomous Institution - UGC, Govt. of India

APPROVED BY AICTE, ACCREDITED BY NBA & NAAC – 'A' GRADE ISO 9001:2015 CERTIFIED

MALLA REDDY COLLEGE OF

ENGINEERING & TECHNOLOGY

(An Autonomous Institution – UGC, Govt.of India)

Recognized under 2(f) and 12(B) of UGC ACT 1956

(Affiliated to JNTUH, Hyderabad, Approved by AICTE –Accredited by NBA & NAAC-“A” Grade-ISO 9001:2015 Certified)

PROBABILITY AND STATISTICS

B.Tech – II Year – I Semester

DEPARTMENT OF HUMANITIES AND SCIENCES

 The student acquires solid skills of implementing and applying the computational methods

learnt.

The idea is that making the student comfortable with both advanced mathematical concepts and

modern computational techniques, will open a wealth of possibilities of applying mathematics to

problems of real interest.

Probability and Statistics: Course Description

This course is about the mathematics that is most widely used in the engineering core subjects.

Probability and Statistics provide an introduction to discrete and continuous probability

distributions, correlation and regression analysis, sampling distributions and sampling

inferences.Topics include the properties of both single and multiple random variables for the

discrete and continuous probability distributions, correlation and regression analysis for bivariate

as well as multivariate distributions, Estimation, sampling, testing of hypothesis for both large and

small samples.

INDEX

UNIT-I : Random Variables

UNIT-II : Probability Distributions

UNIT-III : Correlation and Regresion

UNIT-IV : Sampling and Testing of Hypothesis for Large Samples

UNIT-V : Testing of Hypothesis for Large Samples

UNIT –IV: Sampling and Testing of Hypothesis for Large Samples

Sampling: Definitions - Types of sampling - Expected values of sample mean and variance,

Standard error - Sampling distribution of means and variance. Estimation - Point estimation

and Interval estimation.

Testing of hypothesis: Null and Alternative hypothesis - Type I and Type II errors, Critical

region - confidence interval - Level of significance, One tailed and Two tailed test.

Large sample Tests: Test of significance - Large sample test for single mean, difference of

means, single proportion, and difference of proportions.

Unit-V: Testing of Hypothesis for Small Samples

Small samples: Test for single mean, difference of means, paired t-test, test for ratio of variances

(F-test), Chi- square test for goodness of fit and independence of attributes.

Suggested Text Books:

i) Fundamental of Statistics by S.C. Gupta, 7

th

Edition,2016.

ii) Fundamentals of Mathematical Statistics by SC Gupta and V.K.Kapoor

iii) Higher Engineering Mathematics by B.S.Grewal, Khanna Publishers,

th

Edition,2000.

References:

i) Introduction to Probability and Statistics for Engineers and Scientists by

Sheldon M.Ross.

ii) Probability and Statistics for Engineers by Dr. J. Ravichandran.

Course Outcomes: After learning the concepts of this paper the student will be able to

independently

  1. Evaluate randomness in certain realistic situation which can be either discrete or

continuous type and compute statistical constants of these random variables.

  1. Provide very good insight which is essential for industrial applications by learning

probability distributions.

  1. Higher up thinking skills to make objective, data-driven decisions by using correlation and

regression.

  1. Assess the importance of sampling distribution of a given statistic of a random sample.
  2. Analyze and interpret statistical inference using samples of a given size which is taken from

a population.

UNIT 1

RANDOM VARIABLES

RANDOM VARIABLES

Random Variable

A Random Variable X is a real valued function from sample space S to a real number R.

(or)

A Random Variable X is a real number which is determined by the outcomes of the random

experiment.

Eg:1.Tosssing 2 coins simultaneously

Sample space ={HH,HT,TH,TT}

Let the random variable be getting number of heads then

X(S)={0,1,2}.

2.Sum of the two numbers on throwing 2 dice

X(S)={2,3,4,5,6,7,8,9,10,11,12}.

Types of Random Variables:

1.Discrete Random Variables : A Random Variable X is said to be discrete if it takes only the

values of the set {0,1,2…..n}.

Eg:1.Tosssing a coin, throwing a dice, number of defective items in a bag.

  1. Continuous Random Variables: A Random Variable X which takes all possible values in a

given interval of domain.

Eg: Heights, weights of students in a class.

Discrete Probability Distribution:

Let x is a Discrete Random Variable with possible outcomes 𝑥

ଵ,

having probabilities

)𝑓𝑜𝑟 𝑖 = 1,2 … 𝑛 .If 𝑝(𝑥

௜ୀଵ

then the function 𝑝(𝑥

) is called

Probability mass function of a random variable X and {𝑥 ௜

} 𝑓𝑜𝑟 𝑖 = 1,2 … 𝑛 is called

Discrete Probability Distribution.

Eg: Tossing 2 coins simultaneously

Sample space ={HH,HT,TH,TT}

Let the random variable be getting number of heads then

X(S) = {0,1,2}.

Probability of getting no heads =

, Probability of getting 1 head =

Probability of getting 2 heads =

∴Discrete Probability Distribution is

Cumulative Distribution function is given by 𝐹

= 𝑝[𝑋 ≤ 𝑥] =

௜ୀ଴

Properties of Cumulative Distribution function:

[
]
− 𝑃[𝑋 = 𝑏]
[
]
− 𝑃[𝑋 = 𝑎]
[
]
4. 𝑃[𝑎 ≤ 𝑥 < 𝑏] = 𝐹(𝑏) − 𝐹(𝑎) − 𝑃[𝑋 = 𝑏] + 𝑃[𝑋 = 𝑎]

Mean: The meanof the discrete Probability Distribution is defined as

∑ ௫

௣(௫

)

೔సభ

∑ ௣

( ௫ ೔

)

೔సభ

௜ୀଵ

since

௜ୀଵ

Expectation:The Expectationof the discrete Probability Distribution is defined as

E(X) =

௜ୀଵ

In general,𝐸(𝑔(𝑥)) = ∑ 𝑔(𝑥 ௜

௜ୀଵ

Properties:

Variance: The variance of the discrete Probability Distribution is defined as

𝑉𝑎𝑟(𝑋) = 𝑉(𝑋) = 𝐸[𝑋 − 𝐸(𝑋)]

∴ 𝑉(𝑋) = 𝐸[𝑋]

− [𝐸(𝑋)]

Properties:

1)V(c) = 0 where c is a constant

2)V(kX) = k

V(X)

3)V(X + k) = V(X)

4)V(aX ± b) = a

V(X)

Problems

  1. If 3 cars are selected randomly from 6 cars having 2 defective cars.

a)Find the Probability distribution of defective cars.

b)Find the Expected number of defective cars.

Sol: Number of ways to select 3 cars from 6 cars = 6

௖ య

Let random variable X(S) = Number of defective cars = {0,1,2}

Probability ofnon defective cars =

ସ ౙ

ଶ ౙ

଺ ౙ

Probability of one defective cars =

೎ య

Probability of two defective cars =

ౙ భ

ౙ మ

ౙ య

Clearly ,p

x

p

x

୧ୀଵ

Probability distribution of defective cars is

Expected number of defective cars =

x

p

x

୧ୀଵ

2.Let X be a random variable of sum of two numbers in throwing two fair dice. Find the

probability distribution of X, mean ,variance.

Sol: Sample space of throwing two dices is

S ={(1,1),(1,2),(1,3),(1,4),(1,5),(1,6)

Let X = Sum of two numbers in throwing two dice = {2,3,4,5,6,7,8,9,10,11,12}

Sol: Sample space of throwing two dices = S ={(1,1),(1,2),(1,3),(1,4),(1,5),(1,6)

Let X = Maximum of two numbers in throwing two dice = {1,2,3,4,5,6,}

X Favorable cases No of

Favorable

cases

Clearly ,p

x

> 0 and

p

x

୧ୀଵ

Probability distribution is given by

Mean = μ = ෍ x

p(x

୧ୀଵ

Variance = V

X

x

p

− μ

∴ Variance = 1.99.

4.A random variable X has the following probability function

𝒊

𝒊

k 0.1 k 0.2 2k 0.4 2k

Find k ,mean, variance.

Sol: We know that∑ p(x

୧ୀଵ

i.e k+0.1+k+0.2+2k+0.4+2k = 1

i.e 6k+0.7 = 1 ∴ 𝑘 = 0.

Mean = μ = ෍ x

p(x

୧ୀଵ

= k(−3) + 0.1(−2) + k(−1) + 2k( 1 ) + 2(0.4) + 3(2k) = 0.

Variance = V

X

x

p

− μ

= k

  • k

  • 2k

2k

∴ Variance = 2.86.

5.A random variable X has the following probability distribution

Determine i) k ii) Mean iii) Variance.

Sol: Given probability distribution of a random variable X is

i) Since total probability of the distribution is unity i.e, ∑ 𝑃

௜ୀଵ

We have,

ii) Mean = 𝜇 =

௜ୀଵ

iii) Variance =𝜎

௜ୀଵ

  1. A random variable X has the following probability distribution

Determine i) k ii) P (1≤ 𝒙 ≤ 𝟓) iii) P(x>3)

Sol: Given probability distribution of a random variable X is

(i)Since total probability of the distribution is unity i.e, ∑ 𝑃

௜ୀଵ

We have, 𝑘 + 3𝑘 + 5𝑘 + 7𝑘 + 9𝑘 + 11𝑘 = 1 ⟹ 𝑘 =

ଷ଺

ii)P (1≤ 𝑥 ≤ 5) = 𝑃( 1 ) + 𝑃( 2 ) + 𝑃( 3 ) + 𝑃( 4 ) + 𝑃(5)

iii)𝑃(𝑥 > 3)=𝑃( 4 ) + 𝑃( 5 ) + 𝑃(6) = 7𝑘 + 9𝑘 + 11𝑘 = 27𝑘 = 0.

x 0 1 2 3 4 5 6 7

P(x) 0 k 2k 2k 3k 𝒌

𝟐

𝟐

𝟐

x 0 1 2 3 4 5 6 7

P(x) 0 k 2k 2k 3k 𝑘

x 1 2 3 4 5 6

P(x) k 3k 5k 7k 9k 11k

x 1 2 3 4 5 6

P(x) k 3k 5k 7k 9k 11k

Continuous Probability distribution:

Let X be a continuous random variable taking values on the interval (a,b). A function f

x

is

said to be the Probability density function of x if

i) f

x

> 0 ∀ x ∈ (a, b)

ii) Total area under the probability curve is 1i. e, ∫

f(x)dx = 1.

iii) For two distinct numbers ‘c’ and ‘d’ in

is given by P

c < 𝑥 < 𝑑

Area under the probability curve between ordinates x = c and x = d i. e

∫ f

x

dx.

Note: P(c < 𝑥 < 𝑑) = P(c ≤ x ≤ d) = P(c ≤ x < 𝑑) = P(c < 𝑥 ≤ 𝑑)

Cumulative distribution function of 𝑓(𝑥) is given by

∫ f

x

dx

ିஶ

i.e, f

x

ୢ ୶

F(x)

Mean: The meanof the continuous Probability Distribution is defined as

μ = න x f

x

dx.

ିஶ

Expectation:The Expectationof the continuous Probability Distribution is defined as

E(X) =

x f(x)dx.

ିஶ

In general,E(g(x)) = ∫

g(x) f(x)dx.

ିஶ

Properties:

1)E(X) = μ

2)E(X) = k E(X)

3 ) E(X + k) = E(X) + k

  1. ) E(aX ± b) = aE(X) ± b

Variance: The variance of the Continuous Probability Distribution is defined as

Var(X) = V(X) = න x

f

x

dx − μ

ିஶ

Properties:

1)V(c) = 0 where c is a constant

  1. V(kX) = k

V(X)
  1. V(X + k) = V(X)

  2. V(aX ± b) = a

V(X)

Mean Deviation: Mean deviation of continuous probability distribution function is defined

as M.D = ∫

|x − μ| f(x)dx.

ିஶ

Median: Median is the point which divides the entire distribution in to two equal parts. In case

of continuous distribution, median is the point which divides the total area in to two

equal parts i.e.,∫ f

x

dx = ∫ f

x

dx =

∀ x ∈ (a, b)

Mode: Mode is the value of x for which f

x

is maximum.

i.ef

x

= 0 and f

"

x

< 0 for x ∈ (a, b)

Problems

1.If the probability density function𝒇

𝒌

𝟏ା𝒙

𝟐

− ∞ < 𝑥 < ∞. Find the value of ‘k’ and

probability distribution function of𝐟(𝐱).

Sol: Since total area under the probability curve is 1i. e, ∫ f

x

dx = 1.

k

1 + x

dx = 1.

ିஶ

2k(tan

ି ଵ

x)

2k(tan

ି ଵ

∞ − tan

ି ଵ

∴ k =

π

Cumulative distribution function of f(x) is given by

න f(x)dx = න

𝟐

dx =

π

(tan

ି ଵ

x)

x

π

[

π

  • (tan

ି ଵ

x)].

ିஶ

ିஶ

  1. If the probability density function 𝐟(𝐱) = 𝐜𝐞

ି

| 𝐱

|

Find the value of ‘c’, mean and variance.

Sol: Since total area under the probability curve is 1 i. e, ∫ f

x

dx = 1.

ି

| 𝐱

|

dx = 1

ିஶ

ି 𝐱

dx = 1

2c (

𝐞

ష𝐱

ିଵ

∴ c =

Mean,μ = ∫

x f

x

dx =

x𝐞

ି

| 𝐱

|

dx = 0 since x𝐞

ି

| 𝐱

|

is an odd function.

ିஶ

ିஶ

Variance = V(X)

= න x

f

x

dx − μ

ିஶ

න x

ି |𝐱|

dx

ିஶ

න 2x

ି 𝐱

dx = [x

ି 𝐱

) − 2x(𝐞

ି 𝐱

ି 𝐱

)]

  1. If the probability density function 𝐟(𝐱) = ቊ

𝐬𝐢𝐧𝐱

𝟐

Find mean, median, mode and𝐏(𝟎 < 𝐱 <

𝛑

𝟐

Sol:Mean =μ = ∫

x f

x

dx =

x

𝐬𝐢𝐧𝐱

𝟐

dx =

[

−xcosx + sinx

]

ିஶ

Let M be the Median then

න f

x

dx = න f

x

dx =

∀ x ∈

sinx

dx = න

sinx

dx =

∀ x ∈ (−∞, ∞)

Consider ∫

𝐬𝐢𝐧𝐱

𝟐

dx =

then (– cosx)

∴ M =

Since f

x

ୱ୧୬୶

0 , otherwise

if 0 ≤ x ≤ π

6.The diameter of ban electric cable assumed to be a continuous r.v with p.d.f

Find i)k ii)b such that P(xb).

Sol: Given probability density function of a random variable X is

(i) Since total probability of the distribution is unity i.e, ∫

𝑓(𝑥)𝑑𝑥 = 1

ିஶ

We have ∫

(ii) Given that P(xb)

Solving above equation,we get

b = 0.5 ( by neglecting other roots which do not belong to

Multiple Random Variables

Discrete two-dimensional random variable:

Joint probability mass function is defined as f(x, y) = P(X = x

, Y = y

Joint probability distribution function is defined as

F

ଡ଼ଢ଼

(x, y) = P(X < x

, Y < y

p(x

, y

ழ௫ ழ௬

Marginal probability mass functions of X and Y are defined as

P(X = x

) = p(x

) = ෍ p(x

, y

P൫Y = y

൯ = p൫y

൯ = ෍ p(x

, y

Continuous two-dimensional random variable:

Joint probability density function is defined as

f

ଡ଼ଢ଼

x, y

= P(x ≤ X ≤ x + dx, y ≤ Y ≤ y + dy)

and ∫ ∫

f

ଡ଼ଢ଼

(x, y) dxdy = 1

ିஶ

ିஶ

Joint probability distribution function is defined as

F

ଡ଼ଢ଼

(x, y) = P(X < x

, Y < y

f

ଡ଼ଢ଼

(x, y) dxdy

ିஶ

ିஶ

andf

ଡ଼ଢ଼

(x, y) =

ப୶ ப୷

[F

ଡ଼ଢ଼

(x, y) ]

Marginal probability density functions of Xis defined as

f

(x) = න f

ଡ଼ଢ଼

(x, y) dy

ିஶ

Marginal probability density functions of Yis defined as

f

y

=∫ f

ଡ଼ଢ଼

x, y

dx

ିஶ

Conditional probability density function :

Conditional probability density function of X on Y is

f

ଡ଼ଢ଼

(X/Y) =

f

ଡ଼ଢ଼

x, y

f

(y)

Conditional probability density function of Y on X is

f

ଡ଼ଢ଼

(Y/X) =

f

ଡ଼ଢ଼

(x, y)

f

(X)

Problems

1.For the following 2-d probability distribution of X and Y

X\Y 1 2 3 4

Find i) P(X≤ 𝟐, 𝐘 = 𝟐) ii)𝐅 𝐗

iii)P(Y=3) iv) P(X< 𝟑, 𝐘 ≤ 𝟒) v)𝐅

𝐲

Sol: Given

X\Y 1 2 3 4

i)P(X≤ 2, Y = 2) =P(X= 1, Y = 2)+ P(X= 2, Y = 2)

ii) F

=P(X≤ 2) = P(X= 1) + P(X= 2)

p(x

, y

p൫x

, y

iii) P(Y=3) =

p(x

, y

iv) P(X< 3, Y ≤ 4) =P(X< 3, Y = 1)+ P(X< 3, Y = 2)+ P(X< 3, Y = 3)

+ P(X< 3, Y = 4)
= P(X= 1, Y = 1) +P(X= 2, Y = 1)+ P(X= 1, Y = 2)
+P(X= 2, Y = 2)+ P(X= 1, Y = 3) +P(X= 2, Y = 3)
+P(X= 1, Y = 4) +P(X= 2, Y = 4)

v)F

( 3 )= P(Y≤ 3) = P(Y= 1) + P(Y= 2)+ P(Y= 3)

2.Suppose the random variables X and Y have the joint density function defined by

Find i)c ii)P(X>3,Y>2) iii) P(X>3)