Example 2: Sign Test
In this exercise, you will specify the variables for a sign test, review the results of the summary spreadsheet, and create a box-whisker type graph. The example data file Synchron.sta is used. The Sign test is a nonparametric alternative to the t-test for dependent samples (see Basic Statistics and Tables). For a discussion of the logic and assumptions of this test, see Nonparametric Statistics Notes - Sign Test.
Ribbon bar. Select the Home tab. In the File group, click the Open arrow and select Open Examples to display the Open a Statistica Data File dialog box. Open the data file, which is located in the Datasets folder. Then, select the Statistics tab. In the Base group, click Nonparametrics to display the Nonparametric Statistics Startup Panel.
Classic menus. From the File menu, select Open Examples to display the Open a Statistica Data File dialog box. Open the data file, which is located in the Datasets folder. Then, from the Statistics menu, select Nonparametrics to display the Nonparametric Statistics Startup Panel.
On the Quick tab, select Comparing two dependent samples (variables), and click the OK button to display the Comparing two variables dialog box.
You can simultaneously perform this test on lists of variables (i.e., lists of pairs); however, there are only two variables of interest in this example. Click the Variables button to display the standard variable selection dialog box. In the First variable list, select variable In_Sync; from the Second variable list, select Out_Sync, and then click the OK button.
The p-value for the sign test is significant at the .05 level (refer to Elementary Concepts for a discussion of "Statistical significance"). Thus, you can conclude that even at this early age, infants can already discriminate between speech that is synchronized with the movement of lips and unsynchronized speech; the term "read my lips" seems to capture a lot of truth about how one learns to understand language.
In the variable selection dialog box, select both variables, and click the OK button. Then, in the Box-Whisker Type dialog box (shown below), select the type of statistics to be plotted. For this example, select the Median/Quart./Range option button.
Click the OK button to produce the graph.
The box plot will indicate, for each variable, the median, quartile range (25th and 75th percentile), and range (minimum and maximum).
This plot indicates that, apparently, the out-of-sync speech resulted in higher median attention as well as in greater variability for this variable.
See also, Nonparametric Statistics - Index.