Performing the comparisons

With the previous three steps completed, you're ready to begin comparisons. The commands below can be repeated as often as desired throughout a session.

This command produces a plot with spline estimations and 95% confidence intervals. It shows the difference between the vowels of “bad” and “ban” to be statistically significant at portions of some formants.


Here's a command to compare “bab” and “bam”


To round it out, a comparison of “ban” and “bam”


Variations are produced by adding optional parameters to the command. The command below produces the bad/ban plot, but in colors that print better in black and white:


Another option parameter produces a plot of the interaction effect, with a Bayesian confidence interval:


These optional parameters can be combined. For instance, what follows produces the plot of the interaction effect, but in the different colors.


The optional parameters can be given in any order. The following command is equivalent to the previous one.


Since we know the parameters can be combined like this, subsequent illustrations will show one optional parameter at a time. They can still be combined, however.

This command changes the range of the y-axis so that it starts at zero and goes up to 5000.


Or so that it starts at 100 and goes up to 4500:


You can choose to create an EMF image file instead of showing the plot on the screen:


Or, similarly, produce a PDF file:


If you don't want to compare a certain formant, you can specify that. The following plots F1 and F2, but not F3:


The following plots F1 and F3, but not F2:


# the following plots F1, but not F2 or F3


...and so forth...

Note that if you input file does not contain a formant column, you must use one of the above options. For instance, if your file does not have a column for F3, then you must use the optional parameter "f3=FALSE". Otherwise you will get an error.

To output the plots in CSV format, set the CSV parameter to TRUE. This will create a separate .csv file for each formant, for each word.


All contents copyright © 2017 Adam Baker, except where otherwise noted.