Results 1 to 3 of 3

Thread: Macro For Re-Coding Variables after a Specified Cut-off

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1

    Macro For Re-Coding Variables after a Specified Cut-off

    Hi All,

    I currently have a fairly large data set of dichotomized data points denoting a right (1's) and wrong response (0's)

    I currently have a custom function that will start summing correct responses, but stop summing after a respondent has received four (or more) 0's in a row

    What I am looking to do next is write a macro that will re-code all of the responses after the participant has reached the four-0's-in-a-row cut-off to 0's (even if they got some questions correct after they answered four or more in a row incorrectly).

    I've attached a workbook which will hopefully clarify the issue, but any help/advice would be greatly appreciated!

    Darko
    Attached Files Attached Files

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •