def METHOD_NAME(streamForAnalysis, **skipKeywords):
    '''
    Gives the Melodic Interval Variability (MIV) for a Stream,
    as defined by Aniruddh D. Patel in "Music, Language, and the Brain"
    p. 223, as 100 x the coefficient of variation (standard deviation/mean)
    of the interval size (measured in semitones) between consecutive elements.
    The multiplication by 100x exists to put it in the same range as nPVI.
    Keywords are passed on to
    Stream.findConsecutiveNotes() via Stream.melodicIntervals for
    determining how to find consecutive intervals.
    >>> s2 = converter.parse('tinynotation: 4/4 C4 D E F# G#')[note.Note].stream()
    >>> analysis.patel.melodicIntervalVariability(s2)
    0.0
    >>> s3 = converter.parse('tinynotation: 4/4 C4 D E F G C')[note.Note].stream()
    >>> analysis.patel.melodicIntervalVariability(s3)
    85.266688...
    >>> s4 = corpus.parse('bwv66.6').parts[0][note.GeneralNote].stream()
    >>> analysis.patel.melodicIntervalVariability(s4)
    65.287...
    Too short streams raise a ValueError:
    >>> s5 = converter.parse('tinynotation: 4/4 C2 D2')[note.Note].stream()
    >>> analysis.patel.melodicIntervalVariability(s5)
    Traceback (most recent call last):
    ValueError: need at least three notes to have a std-deviation of intervals (and thus a MIV)
    * Changed in v9: ValueError rather than a Music21Exception raised.
    '''
    s = streamForAnalysis  # shorter
    intervalStream = s.melodicIntervals(**skipKeywords)
    totalElements = len(intervalStream)
    if totalElements < 2:  # this is correct.
        raise ValueError('need at least three notes to have '
                             + 'a std-deviation of intervals (and thus a MIV)')
    # summation = 0
    semitoneList = [myInt.chromatic.undirected for myInt in intervalStream]
    mean = 0
    std = 0
    for a in semitoneList:
        mean = mean + a
    mean = mean / totalElements
    for a in semitoneList:
        std = std + (a - mean) ** 2
    std = math.sqrt(std / (totalElements - 1))
    return 100 * (std / mean)