GithubHelp home page GithubHelp logo

mcst_code's Introduction

MCST_code


the modify card sorting refer to this article

Table of Contents

Install

please see Psytoolbox-3

  • windows

    • Download the Psychtoolbox installer to your desktop.
    • install the 64-Bit GStreamer-1.18.0
    • install the Microsoft Runtime Libraries for MSVC 2015-2019
    • Open Matlab as administrative user (for Windows 7 and later, right-click the Matlab shortcut and “Run As Administrator”) and type the following in the command window, assuming you want Psychtoolbox to be installed inside the C:\toolbox folder:
     >> cd('into the folder where you downloaded DownloadPsychtoolbox.m to').
     >> DownloadPsychtoolbox('C:\toolbox')
    
    • You can also use Octave 6.2.0 for free
    • install octave-PTB3 similar like install PTB at Matlab
  • Linux *Matlab

     Terminal
     >> sudo dpkg-reconfigure matlab-support
    

    *Octave & Matlab

    1. If you are using Matlab R2014b or later, go to step 3. For older Matlab versions go to step ii. If you are using GNU/Octave on a Debian or Ubuntu based system, execute this command in a terminal: sudo apt build-dep octave-psychtoolbox-3 and then go to step ii.
    2. If you are using Octave on a different Linux distribution (unsupported by us, although it will probably work on many!) then you will need to track down and install various runtime dependencies manually.
    3. Install the subversion package from your Linux distribution’s archive (e.g. apt-get install subversion, or yum install subversion, et al.). If you are using Octave, go to step iv For Matlab, continue to step iii.
    4. On a Debian or Ubuntu based system, quit Matlab, and install the matlab-support package by typing sudo apt install matlab-support into a terminal window. When it asks you for the location of your Matlab installation, tell it. When it asks you if it should rename some Matlab libraries to fix Matlab compatibility issues, answer YES, otherwise hardware accelerated graphics will likely not work later on!
    5. If the matlab-support package was already installed before you installed Matlab, or after each update of Matlab, run sudo dpkg-reconfigure matlab-support to rerun this fixup script, as described in the previous sentence, othewise hardware accelerated graphics will likely stop to work!
    6. Start your Octave or Matlab, cd into the folder that you saved the DownloadPsychtoolbox.m script in, and run (replace /home//toolbox/ by a folder of your choice!):
     >> DownloadPsychtoolbox('/home/foo/toolbox')
    

Parameter

  • output_folder the output folder name (default CS)
  • key_<num> the four answer keys (default Z X C V)
  • continueCondition how many question continue right will go to next rule (default 6)
  • numTrials the most trials in the test (default 48)

image

image all other components will be used question select cards as question cards and name <color><shape><number>.png 24 select cards have only one atribute as same as the Answer cards cardArray a matrix for record all select cards atributes 111.png 222.png 333.png 444.png the Answer cards

Execute the test

  1. Run MCST if you use Octave please use MCST_octave
  2. Press any key to begin
  3. Question cards at lower left and four Answer cards at the upper right
  4. choose one Anwser cards if this card not have any Question card atributes, zero as the rule number means the rule not descide
  5. the Question cards from the select cards have random order and all select card can arise twice
  6. all test have 2 round and the first rule is descided by the subject and than random rule order for left two rule
  7. if the rule order is 1→2→3 in the first round the second round will be 1→2→3
  8. if the subject meet the continue condition on the roll it will go to next rule
  9. If 2 round test is finished, it is finish and the screen pops out "press any key to end"

Output file


  • this test will output a CSV file in <output_folder>_<number>

  • CSV file name is exp_<date>.

  • CSV header

Rule Atribute_1 Atribute_2 Atribute_3 Resp RT Correct
0 to 3 Color Shap Number 1 to 4 Second 0 or 1
  • Atribute & Rule order
Atribute & Rule order 1 2 3 4
1.Color Red Green Blue Yellow
2.Shape Circle 🔘 triangle 🔺 Cross Stars
3.Number 1 2 3 4
* 0 not decide rule 😊 Smile mens answer is right. 🙁 Sad means answer is wrong.

Troubleshooting

  • At Linux system the hint sentence of MCST start and finised may disappear. If the window is all black just press any buttons that will continue execute the test.

TODO


literature review about the statistical relationship between MIC and modify card sorting test

Update History


V1

  • update 2021/08/30
  • original

V2

  • update 2021/08/30
  • print trial in command window
  • change header from Ans to Atribute

V3

  • update 2021/09/24
  • update octave version

Reference


mcst_code's People

Contributors

golsonlin avatar

Watchers

 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.