| 1 | <html><head><meta name="robots" content="index,follow"><meta http-equiv="Content-Type" content="text/html; charset=utf-8"> |
| 2 | <title>PitchTier: Get standard deviation (curve)...</title> |
| 3 | <style> |
| 4 | td { padding-left: 5pt; padding-right: 5pt; } |
| 5 | th { padding-left: 5pt; padding-right: 5pt; } |
| 6 | code { white-space: pre-wrap; } |
| 7 | dd { white-space: pre-wrap; } |
| 8 | </style> |
| 9 | </head><body bgcolor="#FFFFFF"> |
| 10 | |
| 11 | <table border=0 cellpadding=0 cellspacing=0><tr><td bgcolor="#CCCC00"><table border=4 cellpadding=9><tr><td align=middle bgcolor="#000000"><font face="Palatino,Times" size=6 color="#999900"><b> |
| 12 | PitchTier: Get standard deviation (curve)... |
| 13 | </b></font></table></table> |
| 14 | <p>A <a href="Query_submenu.html">query</a> to the selected <a href="PitchTier.html">PitchTier</a> object.</p> |
| 15 | <h2>Return value</h2> |
| 16 | <p>the standard deviation in the curve within a specified time window.</p> |
| 17 | <h2>Settings</h2> |
| 18 | <dl> |
| 19 | <dt><b>From time (s)</b> |
| 20 | <dt><b>To time (s)</b> |
| 21 | <dd>the selected time domain. Values outside this domain are ignored. If <b>To time</b> is not greater than <b>From time</b>, the entire time domain of the tier is considered.</dd> |
| 22 | </dl> |
| 23 | <h2>Algorithm</h2> |
| 24 | <p>The curve consists of a sequence of line segments. The contribution of the line segment from (<i>t</i><sub>1</sub>, <i>f</i><sub>1</sub>) to (<i>t</i><sub>2</sub>, <i>f</i><sub>2</sub>) to the variance-multiplied-by-time is</p> |
| 25 | <table width="100%" style="white-space:pre-wrap"><tr><td align=middle>[ 1/4 (<i>f</i><sub>1</sub> + <i>f</i><sub>2</sub>)<sup>2</sup> + 1/12 (<i>f</i><sub>1</sub> – <i>f</i><sub>2</sub>)<sup>2</sup> ] (<i>t</i><sub>2</sub> – <i>t</i><sub>1</sub>)</table> |
| 26 | <p>The standard deviation is the square root of: the sum of these values divided by <i>toTime</i> – <i>fromTime</i>.</p> |
| 27 | <p>To get the standard deviation in the points only, i.e. not weighted by the durations of the line pieces, Use <a href="PitchTier__Get_standard_deviation__points____.html">PitchTier: Get standard deviation (points)...</a> instead.</p> |
| 28 | <hr> |
| 29 | <address> |
| 30 | <p>© ppgb 20010821</p> |
| 31 | </address> |
| 32 | </body> |
| 33 | </html> |