Howdy, Stranger!

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

Supported by

Binomial test fail - beginner's question

edited October 2018 in JASP & BayesFactor

In JASP my data has two columns 'id' and 'gender' which has a list of items 'male' or 'female'
I select Binomial Test, drag gender into the right-hand box and get the error message:

! Error in if(any(df[[name]]) == '.')) next:
missing value where TRUE/FALSE needed

What have I done wrong? Thanks for any help.

Comments

  • Can you send the JASP file, perhaps only with the gender column?

  • edited October 2018

    Thanks for your reply - file enclosed. The same error occurs even with just one column.

  • I am not sure what goes wrong...
    I have tried this with 0.9.0.1 and the latest 0.9.1.0, and it works like a charm, for both the Bayesian as well as the classical analysis.

  • I'm using 0.8.5.1 - it was the only version I could find that was 32bit for Ubuntu 16.04 Xenial.
    Maybe it's a bug?
    I'd love to use v0.9.x but see no way of doing so. Maybe I can compile from source??
    Thanks again

  • edited October 2018

    Mind you I'd be surprised if this most basic feature was broken!! By the way the Bayesian version works OK.

  • I'll attend some other team members to this post
    E.J.

  • Hi normanp,

    Could you please try our flatpak build?

    https://jasp-stats.org/linux-installation-guide/

    Let me know how that works out for you.

    Cheers,
    Alexander

  • OK - will do. Should I remove 0.8.5.1 first?

  • I don't think that that's necessary, though, I do think that that's good practice in general.

  • edited October 2018

    flatpack installs OK, but it cannot install jasp:

    flatpak install http://static.jasp-stats.org/flatpak/JASP.flatpakref
    The application org.jasp.JASP depends on runtimes from:
    https://dl.flathub.org/repo/
    Configure this as new remote 'flathub' [y/n]: y
    error: No such ref 'app/org.jasp.JASP/i386/master' in remote org.jasp.JASP-origin

    I assume the 'flatub' bit was ok because when I repeat the command:
    flatpak install http://static.jasp-stats.org/flatpak/JASP.flatpakref
    error: No such ref 'app/org.jasp.JASP/i386/master' in remote org.jasp.JASP-origin

  • Hi normanp,

    It seems that you're running an 32bits version. We don't have a flatpak version for that. Instead, could you build JASP from source? The instructions are given here

    https://github.com/jasp-stats/jasp-desktop/blob/development/Docs/development/jasp-building-guide.md

    Cheers,
    Alexander

  • edited October 2018

    Maybe there's no 32bit version?
    (by the way I did restart after flatpack install & use sudo with the above command)

  • Looking at https://flathub.org/apps/category/All
    jasp is not there at all - no wonder it couldn't install!

  • There's no 32bits version of our flatpak build at the moment.

  • Sorry - got out of step with your comments.
    That build guide specifies Ubuntu 17+, so I assume it won't work. I really can't face compiling from source with possible dependency problems.

    All this just to get the simplest beginner's text book example working in 0.8.5.1?
    I really cannot believe that this was not noticed in that version!

  • I'll see if we can get a 32bits flatpak version. I'll ask my wizard to free up some time.

  • That would be great! After all Ubu 16.04 LTS is supported til 2021

    By the way when started from the command line jasp 0.8.5.1 produces quite a series of error messages. It then appears to run fine for example doing Bayesian Binomial etc etc (in fact everything I have tried, but not standard Binomial) - enclosed.

  • By messing about I think I have it working (Ubuntu 16.04 32bit, v 0.8.5.1):

    Open any file (eg a csv, one column headed gender, with a list of either male or female)
    Before doing anything else, click on the header of the column to open the Value-Label box.
    Change the label of the FIRST item listed to a number (anything eg 0, 1, -5, 2.4, 999)
    Now run the Binomial Test - it now seems OK
    Alright - in the results table the numeric label is used in the Level column - rather unfriendly.

    I suppose this must be a bug?

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