Skip to main content

STA301 Current Final Term Fall 2013 Shared by ihsan

P(A) , P(B) and P(AnB) was given we have to find P(AUB).
P(A)=13/52
P(B)=12/52
P(A ∩ B) =3/52
P(AUB)=?
Sol: By addition theorem of probability we have
P(AUB)=P(A)+P(B)- P(A ∩ B)
So P(AUB)=13/52+12/52-3/52 = 13+12-3/53=22/52
 Note: Same example is given on Page # 152 of handouts
EXAMPLE
If one card is selected at random from a deck of 52 playing cards, what is the probability that the card is a club or a face
card or both?
Let A represent the event that the card selected is a club, B, the event that the card selected is a face card, and A ∩ B,
the event that the card selected is both a club and a face card. Then we need P (A ∪ B)
Now P(A) = 13/52, as there are 13 clubs, P(B) = 12/52, as there are 12 faces cards,
P(A ∩ B) = 3/52, since 3 of clubs are also face cards.
Therefore the desired probability is
P (A ∪B) = P (A) + P (B) – P (A ∩ B)
= 13/52 + 12/52 - 3/52
= 22/52.
Another q from current papers
Given that
P(A)=13/52, P(B)=12/52, P(A∩B)=3/52 ,    FIND P(A|B)?

Sol:
As by conditional probability; we know that
P(A/B)= P(A∩B)/P(B)
So;
P(A/B)= (3/52)/(12/52)
P(A/B)= (3/52)x(52/12)
P(A/B)= (3/12)
P(A/B)= (1/4)

Another q & its solution from current exam
For a certain data: (3 marks)
Mean = 3.8
Median = 2.3
and Standard Deviation = 1.3
Find Pearson’s coefficient of skewness

Solution
As we know that
Find Pearson’s coefficient of skewness
= (mean-mode)/standard deviation = 3(mean-median)/sd.
=3(3.8-2.3)/1.3
= 3(1.5)/1.3
= 4.5/1.3
=3.4615

Comments

Popular posts from this blog

CS301 Current Finalterm Paper Spring 2014 Shared By M. Waleed

My Tday's Cs301 Paper: Mcq's Are From Moaz And Some Are From Handouts. Subjective Is From Moaz Majority One. 1- The Image Segmentation Define? 2- The Maximum Number Level Of Nodes In Binary Tree 3-The Iteration Array Have To Sort. 4- The Hapified Array Have To Solved 5- The Algorithm Of Binary Seaoh Tree 6-Sara Arrays Wala He Tha Ya Heap Wala. 7-....Wala Wala Wala...

CS614 Quiz No.3 Shared by Students (Solved), Spring 2014

______ index stores first value in each block in the sequential file and a pointer to the block.  Select correct option:   Dense  Sparse  B-Tree  Hash In context of data parallelism, the work done by query processor should be:  Select correct option:  Almost zero  Maximum  Pipelined  Filtered across partitions The optimizer uses a hash join to join two tables if they are joined using an equijoin and  Select correct option:   Outer table has less number of rows  Inner table has less number of rows  Cardinality of tables is equal  Large amount of data needs to be joined Bitmap index is appropriate for:  Select correct option:  Low cardinality data  High cardinality data  Clustered data  Aggregated data If a task takes “T” time units to execute on a single data item, then execution of this task on “N” data items will take __...

CS614 Quiz No.4 Shared by MT Khan (Solved)

Question # 1 of 10 ( Start time: 09:04:39 PM ) Total Marks: 1 A typical cycle of implementing the change in DWH comprises of the sequence: Select correct option: Production -> QA -> Development Development-> QA -> Production(CORRECT) Development -> Production -> QA Production -> Development -> QA Question # 2 of 10 ( Start time: 09:05:16 PM ) Total Marks: 1 Vertically wide data means: Select correct option: Dataset has large no. of attributes Dataset has large no. of records(CORRECT) Dataset has attribute skews Dataset has partitioning skews Question # 3 of 10 ( Start time: 09:05:43 PM ) Total Marks: 1 In ___________ phase of kimballs approach, we identify the components needed now and in future. Select correct option: Requirement definition Architectural design Product development Analytical application development Question # 4 of 10 ( Start time: 09:06:56 PM ) Total Marks: 1 Technical architecture design supports the communicat...