Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??
Hey all--

When I go back to school in the fall, I will be starting my own research in a psycholinguistics lab. I designed the experiment at the end of last semester, and am looking forward to actually carrying it out.

The main thing that subjects will have to do is a lexical decision task, where they are presented with a string of letters, and have to indicate by pressing certain keys whether or not the characters on the screen form a real word. By displaying different types of distractor words for varying amounts of time before the target word we can find out what characteristics of words have facilitative effects on lexical decision (speed up the decision), and which have inhibitory effects (slow down the decision).

I am hoping that I can write the code to conduct the experiment in pure perl. I will need the following functionality:

  • display an entirely blank screen
  • show words at random points on the screen
  • control how long the words stay on the screen
  • take user input as to whether the letters form a word or not
  • measure the time between displaying the target word and the user input
  • keep track of the users input in a database as the experiment progresses

    I'm wondering what sorts of modules you all know about that could potentially be put together to construct the type of experiment I'm talking about. Measuring time is especially important, and needs to be accurate at least down to miliseconds. Is a pure perl solution feasible and practical?

    Thanks in advance for any input,
    --au


    In reply to Experiment Design by aufrank

    Title:
    Use:  <p> text here (a paragraph) </p>
    and:  <code> code here </code>
    to format your post; it's "PerlMonks-approved HTML":



    • Are you posting in the right place? Check out Where do I post X? to know for sure.
    • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
      <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
    • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
    • Want more info? How to link or How to display code and escape characters are good places to start.
  • Log In?
    Username:
    Password:

    What's my password?
    Create A New User
    Domain Nodelet?
    Chatterbox?
    and the web crawler heard nothing...

    How do I use this?Last hourOther CB clients
    Other Users?
    Others having an uproarious good time at the Monastery: (4)
    As of 2024-04-25 13:03 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?

      No recent polls found