Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Supported by

Informed Prior Bayesian Paired Samples t-test

Using a simple effect revealed in Experiment 1, I want to know the strength of evidence for this effect being replicated in Experiment 2 (two separate experiments where Exp2 is a direct replication of Exp1). To do so, would it be justified to use the Bayesian Paired Samples t-test with an informed Prior based on the effect size (Cohens d) and std from Experiment 1?

More specifically: The Cohen's d of the effect of interest from Exp 1 is 0.4 with std=0.07. Can I use these values to inform the prior (selecting Informed prior, normal) for the Bayesian Paired Samples t-test in Exp2?

When I try this, I obtain the following output for Experiment 2:

Figure: Bayesian Paired Samples T-Test. Input in JASP: ConditionA(S_LR_R) vs. ConditionB(S_RL_R); Hypothesis (Measure 1>Measure 2; my expected direction of the effect), Bayes Factor: BF10, Informed Prior (effect size 0.4, std 0.07, which is the effect obtained in Exp1).

My conclusion here would be I have anecdotal/moderate evidence for data|H+ (i.e., anecdotal/moderate evidence for a replication of my previous effect revealed in Exp1).
Many thanks for your help. I am very new to Bayesian analysis and reading through other posts about the prior, I am still confused. But I would like understand and use it appropriately, so your feedback is much appreciated.


  • Dear MMA,

    What you are looking for is a "replication Bayes factor" (Verhagen & Wagenmakers, 2014) -- in other words, the change in evidence brought about by the data from the replication, having updated the prior distribution based on the results from the original experiment.
    1. Yes, I agree you need to use the informed prior distribution
    2. Instead of using the sample-based information, I would use the posterior after the original experiment. So analyze the data from the original experiment with the default prior, and consider the posterior. Then, for the analysis of the replication, specify a normal prior that closely resembles that posterior.


  • Dear EJ,
    Many thanks for your quick reply and the paper is very useful. I now understand the concept of using the posterior after the original experiment as the prior for the replication experiment.

    A question that remains unclear to me, is where can I find the exact values (or vector) that underlies the posterior distribution of the original data (Experiment 1), so I can extract the mean and std of that posterior distribution to specify the normal informed prior for the analysis of the replication?

    See below, showing the original experiment with the default prior:

    Where can I extract (in JASP?) the values (mean, std) of this posterior distribution (shown above) to specify the informed prior for the analysis of the replication?

    Thank you again for your input.

  • Hi MMA,

    Well, the posterior distribution is not exactly a Gaussian (it is close, but for low-N it will have thicker tails). But from the median (=the mean if the distribution is Gaussian) and the 95% CI you can compute the SD.


  • Hi MMA,
    Please see the R-code below, it computes the standard deviation of the posterior, based on the difference between the posterior median and the upper or lower value of your credible interval:

      abs(posteriorMedian - lowerCI) / qnorm( (1+percentCI)/2 ) 

    For your case, this becomes

      abs(0.626 - 0.098) / qnorm( (1+0.95)/2 ) = 0.2693927

    Note that this is an approximation, but for the purpose of specifying an informed normal prior this will do just fine!
    Kind regards,

  • This post has been very helpful for me. So if I understand this correctly...i can take the posterior distribution from a previous study similar to the one I am currently doing and use that as my new prior.

    i.e. use the median from their posterior distribution as the "mean" and the approximated SD from formula as the "SD" in the informed prior tab [normal selection]?

Sign In or Register to comment.

agen judi bola , sportbook, casino, togel, number game, singapore, tangkas, basket, slot, poker, dominoqq, agen bola. Semua permainan bisa dimainkan hanya dengan 1 ID. minimal deposit 50.000 ,- bonus cashback hingga 10% , diskon togel hingga 66% bisa bermain di android dan IOS kapanpun dan dimana pun. poker , bandarq , aduq, domino qq , dominobet. Semua permainan bisa dimainkan hanya dengan 1 ID. minimal deposit 10.000 ,- bonus turnover 0.5% dan bonus referral 20%. Bonus - bonus yang dihadirkan bisa terbilang cukup tinggi dan memuaskan, anda hanya perlu memasang pada situs yang memberikan bursa pasaran terbaik yaitu Bola168. Situs penyedia segala jenis permainan poker online kini semakin banyak ditemukan di Internet, salah satunya TahunQQ merupakan situs Agen Judi Domino66 Dan BandarQ Terpercaya yang mampu memberikan banyak provit bagi bettornya. Permainan Yang Di Sediakan Dewi365 Juga sangat banyak Dan menarik dan Peluang untuk memenangkan Taruhan Judi online ini juga sangat mudah . Mainkan Segera Taruhan Sportbook anda bersama Agen Judi Bola Bersama Dewi365 Kemenangan Anda Berapa pun akan Terbayarkan. Tersedia 9 macam permainan seru yang bisa kamu mainkan hanya di dalam 1 ID saja. Permainan seru yang tersedia seperti Poker, Domino QQ Dan juga BandarQ Online. Semuanya tersedia lengkap hanya di ABGQQ. Situs ABGQQ sangat mudah dimenangkan, kamu juga akan mendapatkan mega bonus dan setiap pemain berhak mendapatkan cashback mingguan. ABGQQ juga telah diakui sebagai Bandar Domino Online yang menjamin sistem FAIR PLAY disetiap permainan yang bisa dimainkan dengan deposit minimal hanya Rp.25.000. DEWI365 adalah Bandar Judi Bola Terpercaya & resmi dan terpercaya di indonesia. Situs judi bola ini menyediakan fasilitas bagi anda untuk dapat bermain memainkan permainan judi bola. Didalam situs ini memiliki berbagai permainan taruhan bola terlengkap seperti Sbobet, yang membuat DEWI365 menjadi situs judi bola terbaik dan terpercaya di Indonesia. Tentunya sebagai situs yang bertugas sebagai Bandar Poker Online pastinya akan berusaha untuk menjaga semua informasi dan keamanan yang terdapat di POKERQQ13. Kotakqq adalah situs Judi Poker Online Terpercayayang menyediakan 9 jenis permainan sakong online, dominoqq, domino99, bandarq, bandar ceme, aduq, poker online, bandar poker, balak66, perang baccarat, dan capsa susun. Dengan minimal deposit withdraw 15.000 Anda sudah bisa memainkan semua permaina pkv games di situs kami. Jackpot besar,Win rate tinggi, Fair play, PKV Games