Howdy, Stranger!

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

Supported by

Two questions about cauchy prior

edited April 2018 in JASP & BayesFactor

Hi all! This is a bit out of place, but I am hoping that I can find an answer here because there is likely a great deal of overlap.

I am using the advice from Rouder and Morey (2012) regarding a default prior for regression (i.e., a Cauchy distribution with a scale of 1). I'm applying this in the computation of Bayes Factors in R using the "brms" package.

I have two specific questions.

  1. The paper recommends making the prior location and scale invariant by standardizing predictors and outcome variables. I take this to mean standardizing the predictors and outcomes such that they have a mean of 0 and a standard deviation of 1. However, I'm unclear what to do in the case of a categorical predictor with two levels. It's important to note that the input variable in "brms" is treated as a numeric variable, not a factor, even in the case of a categorical variable. Thus, the actual values chosen to represent group 1 and group 2 are important. Elsewhere (i.e., Gelman et al., 2008) I have seen the recommendation to scale categorical predictors in the same way as continuous predictors (in that case, to have a mean of 0 and sd of 0.5). Would I apply the same logic here and scale my categorical predictor to have a mean of 0 and sd of 1?
  2. The paper is talking about linear regression. Is there a comparable default prior for logistic regression?

Thanks very much! Like I said, I know this is a bit off topic as I'm not talking about JASP or BayesFactor. However, I hope that the overlap in subject matter (i.e., priors recommended by Rouder and Morey) makes it okay to post this here.

Comments

  • Dear dsidhu,

    1. I recall that Richard explicitly discusses the case of categorical predictors mixed with continuous predictors...ah yes, here: http://bayesfactorpcl.r-forge.r-project.org/#glm You could consult the documentation for further details, or send Richard an Email. But I do think this ought to be treated as a factor, not a number.
    2. There have been some suggestions for logistic regression. We are currently looking into this more deeply. If you Google this you'll see some suggestions.

    Cheers,
    E.J.

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