• Aucun résultat trouvé

ProgEditAjouternxtOKSave Done

N/A
N/A
Protected

Academic year: 2022

Partager "ProgEditAjouternxtOKSave Done"

Copied!
1
0
0

Texte intégral

(1)

probcon22(pa,a,pba,b,pbna):= {

local pna,pnba,pnbna,paib,painb,pnaib,pnainb,pb,pnb,pab,panb, pnab, pnanb, A, NA, BA, NBA, BNA, NBNA, PA, PNA, PBA, PNBA, PBNA, PNBNA, LA, LNA, LBA, LNBA, LBNA, LNBNA, LAIB, LAINB, LNAIB, LNAINB;

pna:=1-pa;

pnba:=1-pba;

pnbna:=1-pbna;

paib:=pa*pba;

painb:=pa*pnba;

pnaib:=pna*pbna;

pnainb:=pna*pnbna;

pb:=paib+pnaib;

pnb:=1-pb;

pab:=paib/pb;

panb:=painb/pnb;

pnab:=pnaib/pb;

pnanb:=pnainb/pnb;

print("La probabilitØ de " +b+" vaut "+pb);

print(" La probabilitØ de " +a+" sachant "+b+" vaut "+pab);

print(" La probabilitØ de " +a+" sachant non-"+b+" vaut "+panb);

print(" La probabilitØ de non-" +a+" sachant "+b+" vaut "+pnab);

print(" La probabilitØ de non-" +a+" sachant non-"+b+" vaut "+pnanb);

A:=point(1,1);NA:=point(1,-1);BA:=point(2,1.5);NBA:=point(2,0.5);BNA:=po PA:=segment(point(0,0),A);

PNA:=segment(point(0,0),NA);

PBA:=segment(A,BA);

PNBA:=segment(A,NBA);

PBNA:=segment(NA,BNA);

PNBNA:=segment(NA,NBNA);

LA:=legende(0.5*A, "p("+a+")="+pa);LNA:=legende(0.5*NA, "p(non-"+a+")="+pn LBA:=legende(0.5*(BA+A), "p("+b+"/"+a+")="+pba);

LNBA:=legende(0.5*(NBA+A), "p(non-"+b+"/"+a+")="+pnba);

LBNA:=legende(0.5*(BNA+NA), "p("+b+"/non-"+a+")="+pbna);

LNBNA:=legende(0.5*(NBNA+NA), "p(non-"+b+"/non-"+a+")="+pnbna);

LAIB:=legende(BA, "p("+a+" ET "+b+")="+paib);LAINB:=legende(NBA, "p("+a+"

LNAIB:=legende(BNA, "p(non-"+a+" ET "+b+")="+pnaib);

LNAINB:=legende(NBNA, "p(non-"+a+" ET non-"+b+")="+pnainb);

PA,PNA,PBA,PNBA,PBNA,PNBNA,LA,LNA,LBA,LNBNA,LBNA,LNBA,LAIB,LAINB,LNAIB,L }:;

Prog Edit Ajouter nxt OK Save

Done

Menu probcon22(3/5,"V",3/4,"D",2/3)

"La probabilitØ de D vaut 43/60"

" La probabilitØ de V sachant D vaut 27/43"

" La probabilitØ de V sachant non-D vaut 9/17"

" La probabilitØ de non-V sachant D vaut 16/43"

" La probabilitØ de non-V sachant non-D vaut 8/17"

p(V)=3/5

p(non-V)=2/5

p(D/V)=3/4

p(non-D/non-V)=1/3 p(D/non-V)=2/3 p(non-D/V)=1/4

p(V ET D)=9/20

p(V ET non-D)=3/20

p(non-V ET D)=4/15

p(non-V ET non-D)=2/15 1

2

Références

Documents relatifs

[r]

Mechanisms include disclosure of financial dealings to allow public accountability; the employment of the tax system to broaden the base of party funds; state subsidy of

The Forum was organized by Memorial University of Newfoundland, specifically by the Leslie Harris Centre of Regional Policy and Development (based on the St.

Although the teeth have been referred to Chalicomys jaegeri Kaup, 1832 (e.g., Hugueney 1999 , Fahlbusch 2003 ), it seems more likely that they belong to Steneofiber depereti

We first show that, in order to guarantee near-optimal (logarithmic) regret, the learning rate has to increase at least at a rate log ∆ t even when the mean rewards are perfectly

Groundwater has become an important source ofwelfare in North Africa. However, more than half of aquifers, which cater to a minority of far- mers, are declining. North Africa '

In case of conservative force (field) potential energy is equal to negative of work done in shifting the body from reference position to given position.. This is why in shifting

Addition/Soustraction Avec Les Chiffres Romains (A) Réponses.. Répondez à chaque question en