Quantcast
Channel: Data Science, Analytics and Big Data discussions - Latest topics
Viewing all articles
Browse latest Browse all 4448

Calculating conditional probabilities among all columns in a data frame

$
0
0

@Amit_Sood wrote:

Hello,

I have a data frame that has answers to 10 questions. Answers are binary data {0,1}.
Can someone please advice how to find conditional probabilities among all 10 columns
for ex: P(Q1|Q2 =1) and P(Q1|Q2 =1 & Q3=1) and P(Q1|Q2 =1 & Q3=1 & Q4=1)and so on for all possible combinations.

Attaching data as wellStudentAssesmentDataMatrices.csv (230 Bytes)

Please advice.

Thanks

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 4448

Trending Articles