Statistics and Probability
CSE · Midterm · Spring 23
Batch 60
Read the questions as text
Read off the PDF by AI, so it may have mistakes. The PDF is the original.
Daffodil International University
Department of Computer Science and Engineering
Faculty of Science & Information Technology
Midterm Examination, Spring 2023
Course Code: STA 221, Course Title: Statistics and Probability
Level: 2 Term: 2 Batch: 60
Time: 01.5 Hrs
Marks: 25
Answer ALL Questions
[The figures in the right margin indicate the full marks and corresponding course outcomes. All portions of each question must be answered sequentially.]
1. a) The course teacher asked randomly 10 of his students about the best measures of central tendency after delivered his lecture. Among them 70% students provide correct answer. Select variable, population, sample and statistic from the above statement. [2] CO1
b) Find the difference between qualitative and quantitative variables? Name out different graphs and charts for both variables. [2]
c) Choose the best measures of dispersion and give an explanation. [1]
2. a) The last investment of randomly selected different software farms was surveyed as following 25, 12, 13, 39, 23, 27, 86, 50, 65, 67, 89, 90, 145, 120, 23, 27, 34, 290, 36, 40 [2] CO2
i) Construct Box-plot from the above data. [4]
ii) Select the outlier if have any. [2]
b) Develop the shape of the distribution (Skewness) from the above data 2 (a) [4]
3. a) The mean life time of a sample of 50 light tubes produced by a company is found to be 1100 hours and the population standard deviation is 70 hours. Test the hypothesis at the 5% level of significance that the mean of the tubes produced by the company is 1050 hours. [Tabulated Value=1.96] [5] CO3
b) In a particular department 21, 24, 32, 39, 27, 13, 35, 22, 23 are the number of students in different sections are expert at C++ and 13, 11, 39, 21, 24, 16, 25 are the expert at python. Compare the two programing language according to consistency of the students. [5]
Formula
Measures of Central Tendency
Mean
A.M = (x1+x2+...+xn)/n
W.M = (w1x1+w2x2+...+wnxn)/(w1+w2+...+wn)
G.M = ((x1 * x2 * x3 * ... * xn))^(1/n)
H.M = n / ((1/x1) + (1/x2) + ... + (1/xn))
Median
If "n" is odd, Me = X1/2(n+1)
If "n" is even, Me = 1/2 (Xn/2 + Xn/2 + 1)
Measure of Dispersion
Range = Xmax - Xmin
Mean Deviation, M.D = (∑|xi - x|)/n
Population variance, σ^2 = (∑(xi - μ)^2)/N
Population standard deviation, sqrt(σ^2)
Sample variance, s^2 = (∑(xi - x)^2)/(n-1)
Population standard deviation, sqrt(s^2)
Coefficient of variation for population, C.V = (σ/μ) * 100
Coefficient of variation for sample, C.V = (s/x) * 100
Measures of Location
Quartile, Qi = i(n+1)/4
Decile, Di = i(n+1)/10
Percentile, Pi = i(n+1)/100
You can also use
Quartile Qi = (ixn)/4
Deciles Di = (ixn)/10
Percentile Pi = (ixn)/100
Hypothesis testing
Z test statistics
Z = (x - μ) / (σ/sqrt(n))
t test statistics
t = (x - μ) / (s/sqrt(n))
Shape of the distribution
Coefficient of Skewness, Sk = (3 * (Mean - Median)) / Standard deviation
Kurtosis β2 = μ4 / (μ2)^2