Howdy, Stranger!

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

Supported by

Specifying H0 and H1 in Jasp

edited November 2015 in JASP & BayesFactor

Apologies in advance if this is an obvious question, I am just trying to get my head around Bayesian methods and JASP.

Using Bayesian methods in JASP we aim to compare how well our data fit some specified alternative hypothesis, relative to the null hypothesis of "no effect."

However, in JASP I am unclear as to how we set up these two competing hypotheses, or where these competing hypotheses may be visualized. Is it the case that the Prior ('Cauchy prior width') relates to the null of no effect, and the 'hypothesis tab' relates to the alternative...? Or is it simply that we infer the presence of an alternative hypothesis (i.e. effect) via the null ('no effect), although this nature of this alternative is unspecified?

Thanks

Comments

  • edited 4:12PM

    Hi Tamara,

    That's a good question. My understanding (possibly incorrect or incomplete) is the following:

    • The null hypothesis (H0) is simply that the effect size is 0.
    • The alternative hypothesis (H1) is derived from the variance in the data. Say that you measure response times between two conditions, and the RT effect has a standard deviation of about 100 ms. In that case, a mean RT effect of around 50 ms would weigh in favor H1, but a mean effect of around 1 ms would weigh in favor of H0.
    • The cauchy prior determines what effect sizes are considered realistic under H1. This is a distribution, not one specific value. Higher cauchy priors weigh in favor of large effects, so they are generally conservative, tending toward H0.
    • The default cauchy prior of 0.707 is chosen so that H1 includes realistic effect sizes, based on the rule of thumb that mean effect sizes tend to be about half of the standard deviation of the effect.

    Long story short: Using this Bayesian t test, you don't explicitly specify H1, because it is derived from the data based on rule-of-thumb logic. There are other Bayesian t tests in which you do explicitly state H1, but these are not (yet) implemented in JASP.

    I read this somewhere in a nice blog, but I cannot find it anymore. Can anyone confirm (or disconfirm) my understanding of this Bayesian t test?

    Cheers,
    Sebastiaan

    Buy Me A Coffee

  • EJEJ
    edited 4:12PM

    Hi Tamara,

    In most Bayes factor tests, all that matters is the prior on the parameter of interest. For the t-test, for instance, the parameter of interest is "effect size $\delta$". In the usual situation, there are two hypotheses: H0, which stipulates that effect size is zero; and H1, which relaxes that assumption and assigns $\delta$ a prior distribution.

    In JASP, you do not need to specify H0 -- this has been done for you automatically. There is not much to specify anyway: H0 simply says that $\delta = 0$. However, you do need to specify a prior for $\delta$ under H1. This happens under "Prior ('Cauchy Prior Width')". When you tinker with that setting and tick the plot option for "prior and posterior" you will see that this setting affects the width of the prior distribution (under H1).

    The "hypothesis" options allow you to add more information about the direction of the effect. Again, tick the plot options and check it out!

    Cheers,
    E.J.

  • EJEJ
    edited 4:12PM

    Hi Sebastiaan,

    Good points. However, I would not say that the prior is obtained/derived from the (observed!) data. As the name suggests, the prior is specified before the data are observed, and ideally it reflects our expectations about the size of the effect, should it be present. These expectations have been shaped in part through earlier data, of course, so in that sense I agree.

    Also, in my thinking the specification r~Cauchy(.707) explicitly defines H1. When you say "explicitly specifies", perhaps you are thinking of a point such as r = .40? This specification is almost always unrealistic, because there is always uncertainty about the true r under H1. But it may nevertheless be useful and you are right that JASP does not do this test (yet!).

    Cheers,
    E.J.

  • edited 4:12PM

    When you say "explicitly specifies", perhaps you are thinking of a point such as r = .40? This specification is almost always unrealistic, because there is always uncertainty about the true r under H1.

    Exactly. So to avoid confusion: Would you agree that it's fair to say that you can characterize H1 (in this test) as follows?

    • H1 is not specified as an actual value, or range of values. (This, to me, would be an explicit prediction—realistic or no. For example, if I would do a Posner cuing paradigm, I would expect a cuing effect of around 20 ms.)
    • Rather, H1 is specified as a range of effect sizes relative to the variance in the data (like Cohen's d). In that sense, the actual values that comprise H1 are derived from the data. But how they are derived is specified in advance based on prior experience and common sense.
    • H1 is not derived from the data in the sense of post-hoc cherry-picking.

    Buy Me A Coffee

  • edited 4:12PM

    Thanks so much for your replies. Incidentally, I found this paper, which also helped my understanding quite a bit. (I'll leave here for others).

    http://www.ncbi.nlm.nih.gov/pubmed/21302025

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 http://45.77.173.118/ 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