Sie sind auf Seite 1von 17

SS ZG536

ADVANCED STATISTICAL TECHNIQUES


FOR ANALYTICS

BITS Pilani Dr Y V K Ravi Kumar, BITS- Pilani


Pilani|Dubai|Goa|Hyderabad
BITS Pilani
Hyderabad Campus

L- 4: Descriptive Statistics
Today…..

 Recall the past for a while_ Conditional probability and


Baye’s theorem & some examples
 Random variables
 Probability distribution
 Examples

Advanced Statistical Techniques for Analytics 01-12-2018 Slide 3


Conditional Probability
and Baye’s theorem

Advanced Statistical Techniques for Analytics 01-12-2018 Slide 4


Advanced Statistical Techniques for Analytics 01-12-2018 Slide 5
Advanced Statistical Techniques for Analytics 01-12-2018 Slide 6
Advanced Statistical Techniques for Analytics 01-12-2018 Slide 7
Advanced Statistical Techniques for Analytics 01-12-2018 Slide 8
9
Random Variables
We now introduce a new term
Instead of saying that the possible outcomes are 1,2,3,4,5 or 6, we
say that random variable X can take values {1,2,3,4,5,6}.
A random variable is an expression whose value is the
outcome of a particular experiment.
The random variables can be either discrete or continuous.
It’s a convention to use the upper case letters (X,Y) for the names
of the random variables and the lower case letters (x,y) for their
possible particular values.

Advanced Statistical Techniques for Analytics 01-12-2018 Slide 9


Random Variables

Definition

Advanced Statistical Techniques for Analytics 01-12-2018 Slide 10


Random Variables

Examples of Random Variables

Advanced Statistical Techniques for Analytics 01-12-2018 Slide 11


The Probability Function for discrete random variables

We assigned a probability 1/6 to each face of the dice. In the


same manner, we should assign a probability 1/2 to the sides
of a coin.

What we did could be described as distributing the values of


probability between different elementary events:
P(X=xk)=p(xk),k=1,2,…

It is convenient to introduce the probability function p(x) :


P(X=x)=p(x)

Advanced Statistical Techniques for Analytics 01-12-2018 Slide 12


Continuous distribution and the probability density function

A random variable X is said to have a continuous distribution


with density function f(x) if for all a b we have
b
P (a  X  b )   f ( x )dx (1.15)
a

 f (x)  1 (1.16)

P (E )   f ( x )dx (1.17)
E

Advanced Statistical Techniques for Analytics 01-12-2018 Slide 13


Expected Value

E ( X )   X iP( X i )
i 1

Advanced Statistical Techniques for Analytics 01-12-2018 Slide 14


Variance

n
   X  EX  P X i 
2 2
i
i 1

Advanced Statistical Techniques for Analytics 01-12-2018 Slide 15


Advanced Statistical Techniques for Analytics 01-12-2018 Slide 16
Thanks

Advanced Statistical Techniques for Analytics 01-12-2018 Slide 17

Das könnte Ihnen auch gefallen