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

Conditional probability in R

$
0
0

@pkumchauhan wrote:

I have a data set having 150 observations and 45 categories. How to find out the conditional probability of a category AB given AC is there for each id.1, 2,3, etc., are unique ids.

My dataset looks like

1.AB AD AC FG AB DC GM AC

2.AB AC DG GM

3.AB DG GM AC

I am trying to find out in R and excel but it did not help. Could you please help.

PS: the categories are not necessarily consecutive. I am considering each category as unique for every id.

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 4448

Trending Articles