# Creating pdfs froms Sample Data and Bayes Theorem for Continuous Probability

I am not much of a math guy, but know some basics of pdfs, pmfs, Bayes theorems, probability distribution and stuffs. I am actually trying to build a Bayesian Network that models the personality of humans. For that I need independent probabilitiy distributions of different factors (such as age), and their effects, such as happiness.

You have a lot of learning to do. To begin, you can estimate $P(A|B)$ as the fraction of elements where B is true that also have A true. For example, $P(age=41|happiness=high)$ is approximately the ratio of the count of all members with age 41 and happiness level of high over the count of all those with happiness level high.