Stats For Data Science Assignment-2: NAME: Rakesh Choudhary ROLL NO.-167 BATCH-Big Data B3
Stats For Data Science Assignment-2: NAME: Rakesh Choudhary ROLL NO.-167 BATCH-Big Data B3
Stats For Data Science Assignment-2: NAME: Rakesh Choudhary ROLL NO.-167 BATCH-Big Data B3
Ans: Mean=1800
Median:
Since the number of credit score is odd hence the median is the middle element
of the occurences:
Median=1351
b.Compute the first and third quartiles.
Ans. The first Quartile is the median of the data values below the median(or
at25 % of the data):
Q1=387
The third Quartile is the median of the data values above the median(or at75%
of the data):
Q1=1710
Standard Deviation=124^(1/2)=11.136
Coefficient of Variation=(Standard Deviation/mean)*100=(11.136/180)*100=6.2144
4. Let A and B be two events such that P(A or B) = .60, P(A and B) = .10, P(A|B) = .
25, P(B|A) =
.333, and P(A) = .70. What is the probability of event A not occurring?
Ans a. All probabilities are between 0 and 1 including Then we will need to
check if the sum of all probabilities is 1
020 +0.15+0.25 +0.40=1
Since the sum of probabilities und will probabilities are between 0 and 1
including,the probability distribution is valid.
b. The probability in given in the table:
P(x= 30) = 0.25
c. Add the corresponding probability
P(x<= 25 ) = P(x=20)+P(x= 25)= 0.20 +0.15=0.35
e. Add the corresponding probability:
P(x>30)=P(x=35)=0.40
Ans b
N=120
For confidence level 1-alpha=0.95,determine z(a/2)=z0.025 using the
table
Z(a/2)=1.96
The boundaries of confidence level=
80-1.96*(15/(120)^(1/2))=77.3162
And
80+1.96*(15/(120)^(1/2))=82.6838
c. What is the effect of a larger sample size on the interval estimate?
A larger sample size will decrease the length of the interval, because the point
estimate is more reliable.