Bayesian AIB Testing
Date Tuesday February5,2019
Bayesian AIB Testing
A Classic AIB TestingcakaBuckettesting
setup
two experimentaltreatments AaB
collection of randomlysampled
na are exposed to treatmentA
individuals
NB are exposed to treatmentB
Original example Drug eticacy
Inspiredbyclinicatl rials
Treatment A is saya blood pressure medicine and treatment B
is a placebo
QUESTION Is the bloodpresuremedicineworking
Measurement
Bloodpressure
On day 31
of
everyindividualXj
Let da Truemean bloodpressure of group A
MB
B
Test the efficacy of the drugby investigating the
hypothesis test
Ho GA Mp It didn't work
Recast just a bit 8 MB CA
If the drugis useful then we expect 870
Frequentistapproach
Take FA tha Fea
FB LB JEB Xj
Run a t test
1 Irs In
ntaj.EC j IA 2tnbjeEnoCXj xI 2
Pooledstandard
deviation ofthegroup
In the frequentist perspective MAand MB are fixed unknown constants so we estimate them
and look at the sampling distributions of the estimates
Bayesian approach
MA and MB are events that have a corresponding
probability distribution i e Ma and HB are random
Prior beliefs On MA andMB are specifiedby IP MA PCMB
Data Xj j eA B w distribution 5 Xj Ira Mp Posterior IPCMA1Xj je A IP MB1Xj je B
TO answer our Question of efficacy we need to
investigate the posterior distributionof
f MB MA key idea If the distribution of 8 is
stochastically greater than 0 drugA is useful
everypossiblevalue isalwayspositive
Fiftieth.tn
I.p.gigniooyno.niHe IEEEEsy oftheir tories w AlBt iommi
In the frequentistapproach we have a p value to
characterize significant difference
Bayesian though haveprobabilities on 8 muchstronger
In our example we'dlike toknow IPC87011 MAMrs
NOTE 8 is calledtheaverage treatmenteffectCATE e
Example
actuallybuy
Userexperience
7 a Product
click thru rate conversion rate
Amazon
version A vs version13 think Netflix
Version
Shown to Na people ha people purchase a product
Pa what conversion rate
Version
Shown to NB people
n people purchase a product
if PB
conversion rate
B
Experimental setup
A uniquevisitor comes to Amazon
With probability 42 this visitor is shown version A and w prob 42 Shown version B Amazonkeeps running this procedure until a desirednumber of
visitshaveoccurred
QUESTION WhichVersionOf the website led to a
higher conversion rate
TO answer this we look at posterior distributions for
PA PB and 8 PA PB
Data we observe conversionrates foreach of our
versions Callthem Pia and FB
We also know NA 1500 NB 750
Fa 0.05 FB 0.04
Model NA N Bin lNA 1500 PA
NB Bin NB 750 PB
pa ppg true conversionrates
prior PA U O l
PB UCO 1
Noother into except we
Know they lie between o l
Posteriors
PatFa NA
PB1FB NB
Getposterior Ot 8and
answerquestion
To answerour question we calculate
IPC8701PI PIPAPB Na NB
IP 810
0.017
0.983
weightofthehistogram totheright of 0
Goodevidence that A is betterfor conversionthanB
A little more aboutposterior inference
There are many ways to use the posterior distribution
once you have it
1 probabilities oftheparameter of interest
Ex For AIB test PC870IX
4nHighest
density
2 Credible intervals theBayesiananalog to
confidence intervals
A Cl a 1004 credibleinterval a b St 1170E Ea b IX t d
3 Maximum a'posteriori MAP estimate
The value of 0 thathasthehighest posteriorprobability i e themodeOfOIX
Some commentsabout goodness of fit
Recall that our overallaim is to develop a model for
how the data we observe was generated This is the same as anyother statistical or MLmodel
so the same metrics can beused to evaluate our modelsperformance
As an example we can spit data into training vs test
Build Bayesian model on training an simulate Possible
values for the test set Finally compare simulated
values with observed values using yourfavorite metric
similarly to evaluate performance withinthetraining
sample we can simulate in training data and compare
w what we observed using similarity metrics ex MSE
Kolmogorov Smirnoff etc
................
................
In order to avoid copyright disputes, this page is only a partial summary.
To fulfill the demand for quickly locating and searching documents.
It is intelligent file search solution for home and business.
Related download
- montelukast tablets by camber pharmaceuticals recall due
- fda recalls heart medication valsartan citing cancer concerns
- alliance institute for integrative medicine
- neupro is a prescription medicine used to treat parkinson
- progress on prostate cancer research march 2019
- bayesian aib testing
- new patient intake form instructions
- british medical journal
- ldiruplq 5 ldiruplq 5 amazon simple storage service
- wrap update june 2019
Related searches
- is hair analysis testing accurate
- saliva drug testing detection times
- blood alcohol level testing methods
- hair analysis testing near me
- new york state testing teaching certification
- blood testing labs near me
- hair analysis testing companies
- drug testing for methamphetamine
- urine drug testing for methamphetamine
- toxicity testing pdf
- methamphetamine drug testing kits
- pectin drug testing pass