part(a)
out of the positively tested workers:
The possibility of a worker being cocain user = 0.225
The possibility of a worker being marijuana user = 0.544
The possibility of a worker being other drug user = 0.231
The case is multinomial distribution with sample size of 10 and 3 outcomes with abovementioned probabilities. Hence, we use the mnpfd function of matlab to calcualte the requried probability as:
mnpdf([2 5 3] , [0.225,0.544,0.231])
Here mnpdf(X,P) represents the outcome of different trials in sample space and P is the corresponding probabilities. (As we want 2 people using cocaine, 5 with Marijuana and 3 others)
This gives the result as: 0.0749
part(b)
Similar to the above logic, we use:
mnpdf([0 10 0] , [0.225,0.544,0.231])
This gives the result as: 0.0023
part(c)
To tackle this, we need to sum the probabilities of the situation for all the combination of +ve tested people among marijuana or other drugs, while keeping the outcome for cocaine to be 0:
sum=0;
for i=0:10
sum=sum+mnpdf([i 0 10-i] , [0.225,0.544,0.231])
end
This gives the result as: 0.00038873
SOLVE ON MATLAB According to USA Today (March 18, 1997), of 4 million workers in the...
help answer completly please
The President of a large company with 10,000 employees is considering mandatory cocaine testing for every employee. The test that would be used is 90% accurate, meaning that it will detect 90% of the cocaine users who are tested and that 90% of the nonusers will test negative. This also means that the test gives 10% false positive. Suppose that 1% of the employees actually use cocaine. Find the probability that someone who tests positive for...
Any reflection or opinion on these two essays? Should Marijuana
be legal? 1 answer Within 200 words.
1.
A Brief History of the Drug War
Many currently illegal drugs, such as marijuana, opium, coca,
and psychedelics have been used for thousands of years for both
medical and spiritual purposes.
The Early Stages of Drug Prohibition
Why are some drugs legal and other drugs illegal today? It's not
based on any scientific assessment of the relative risks of these
drugs –...