Howdy, Stranger!

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

Supported by

Incorrect intercept in Bayesian linear regression

Dear Jasp team

I came across a potential issue in JASP's Bayesian linear regression output. For various datasets I consistently found an unlikely and inconsistent intercept. The inconsistency can be easily verified as for any (multiple) linear regression model (y=c+mi.xi) with intercept c and slope coefficients mi (i=1, ...), the intercept can be easily derived from: c=<y>-mi.<xi>.

However, the intercept c that is returned by JASP turns out to be exactly equal to <y>. This cannot be correct, as it only holds for the rare case that mi.<xi>=0. So, I suspect a bug. Possibly a wrong variable value is sent to the user interface. The other coefficients seem quite OK. 


I've noticed some other posts about the intercept, but so far I couldn't find any answers, e.g. see

https://forum.cogsci.nl/index.php?p=/discussion/5684/comparing-bayesian-and-frequentist-linear-regression-intercepts-and-slopes

https://forum.cogsci.nl/discussion/4152/linear-vs-bayesian-regression-anomalies

best

Wim

Comments

  • Hi Wim,

    I've forwarded this to the team. As an aside, for issues like this (where you suspect there is a bug) you will be helped more efficiently if you post it on our GitHub page (for details see https://jasp-stats.org/2018/03/29/request-feature-report-bug-jasp/)

    Cheers,

    E.J.

  • Hi Wim,


    If I understand your question correctly, you're wondering why the intercept, β0, is equal to the mean of the predictors, mean(y). By default, the predictors are standardized in BAS (the R package underlying Bayesian linear regression). There are many reasons to do this, the two most important ones are that (1) the resulting Bayes factors are location-scale invariant, and (2) interaction effects are uncorrelated with main effects. Let me know if that answers your problem!


    Cheers,

    Don

  • Thanks Don, yes I'll buy that one. As a naive user I was not aware of the centering transformation and unjustly used the same interpretation of coefficients as is common in frequentist regression. Probably I overlooked some info about the transformation in the Bayesian mode. All clear now.

    best

    Wim

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