Giter VIP home page Giter VIP logo

balloon-task-in-qualtrics's Introduction

Balloon-task-in-Qualtrics

Here are the codes and images that you may need to deploy Balloon Analogue Risk Task into Qualtrics.

  1. HTML page
  2. Javascript code
  3. balloon_new.png

The steps you should follow to make the BART function well in Qualtrics:

  1. Put the HTML codes into Qualtrics. You can start a new question in your survey, then click the "HTML View" where you edit questions in Qualtrics. Just copy and paste the codes I have uploaded (HTML page).

  2. Put Javascript codes in Qualtrics. You can refer to the Qualtrics Support to know how to add javascript, here is the link: https://www.qualtrics.com/support/survey-platform/survey-module/question-options/add-javascript/. Just copy and paste all the codes I have created (Javascript code).

3.Download the balloon picture and upload the Balloon.png to your Qualtrics library, and change the related link address of the picture. After you upload the image successfully, you could find the concerned link address in your Qualtrics library. And find the code you need to revise: <img src=https://erasmusuniversity.eu.qualtrics.com/ControlPanel/Graphic.php?IM=IM_e40vZ7nffgjMnul id="ballon" alt="Ballon">, which you could find this in the HTML.

4.In the "survey flow", add "Set Embedded Data" to save the related data by clicking on the "add a new element here". The codes are as below:

   exploded = ${e://Field/number_pumps}
   number_pumps= ${e://Field/number_pumps}

Note that you need to create block of "set embedded data" AFTER the balloon block. Please refer to the picture named "embedded data".

5.Run the game and check the data.

Notice: please be aware of that this task in not completeley the same as the seminal work, which was published by Lejuez and Read et al. in 2002, because when the balloon will burst in this task is set randomly, but in the seminal paper, the time when balloon is exploded is probabilistic. So this version is not perfect yet. If you are intertesd, you can work on this version to make a probabilistic one.

Now the newest version of the BART which could be implemented in Qualtrics has a probablistic manner, thanks to Georg D. Granic's contribuion.

balloon-task-in-qualtrics's People

Contributors

joyfulwei avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.