# Help with NETICA needed

• susan_poland

#### susan_poland

Assume that a narcotics test gives positive results in 99% for drug users. For people not
using narcotics the test gives negative results in 98% of cases. A company decided to test its employees knowing that 0.5% of them use drugs. Estimate the probability that a person with a positive test result is indeed a user. Estimate using the NETICA software.

Hi, I'm studying Civil Engineering and now I have some humanity courses. For subject Decision Making and Negotiation Theory I have to do above problem. Can anyone know Netica and can help me? Thx.

Dang! I don't even know what NETICA stands for, let alone know how to use it. Of course, I suppose you aren't allowed to just use Bayes rule...so easy...

Welcome to physics forums.

Well, the first task was to use Bayes formula and I did this like that:

P(U) = 0.5%
P(N) = 99.5%
P(CU|U) = 99.0%
P(CN|U) = 1.0%
P(CU|N) = 2.0%
P(CN|N) = 98.0%

P(U|CU) = [P(CU|U)*P(U)] / P(CU)
P(U|CU) = [P(CU|U)*P(U)] / [P(CU|U)*P(U) + P(CU|N)*P(N)]
P(U|CU) = [99% * 0.5%] / [99% * 0.5% +2.0% * 99.5%]
P(U|CU) = 19.92%

Is that correct?

Due to norsys.com website 'Netica, the world's most widely used Bayesian network development software, was designed to be simple, reliable, and high performing.' While for me isn't because I don't know how to use it.

Yes, your calculation is correct, although I would have expressed the algebra with decimals instead of percents. Remember, probabilities are numbers in the interval [0,1].