Run test

Steps

for example of data set:

In 30 toss of a coin, the following sequence of heads(H) and tails(T) was observed.

H T T H T H H H T H H T T H T H T H H T H T T H T H H T H T

Test at 0.05 level of significance whether the sequence is random or not.

  • Goto variable view and add the variables

    Variable view
    • in the label section:

      label
  • Goto the data view and add the data

    data view
  • Goto data view and add the given data.

  • Click on Analyze tab > NonParametric Tests > Legacy Dialogs > Runs.

    Step
  • Add the required variable in Test Variable List and click Options.

    Dialog
  • Tick the Descriptives and Quartiles and click Continue.

    Dialog
  • Required Output:

    Output

Last updated