# fn() variance
Computes the variance for a set of patterns w.r.t a set of text strings and a MarkovModel.

Defined in | <seqan/statistics.h>
Signature | `TFloat variance(W, X, M);`

## Parameters

`W` | The StringSet of word strings.
`X` | The StringSet of text strings.
`M` | The MarkovModel to use.

## Return Values

`TFloat` | The variance for W w.r.t. X and M, TFloat is the TFloat from the type of M.

## Data Races

Thread safety unknown!

#### Dox Sources

    /*!
     * @fn variance
     *
     * @headerfile <seqan/statistics.h>
     *
     * @brief Computes the variance for a set of patterns w.r.t a set of text
     *        strings and a MarkovModel.
     *
     * @signature TFloat variance(W, X, M);
     *
     * @param[in] W The StringSet of word strings.
     * @param[in] X The StringSet of text strings.
     * @param[in] M The MarkovModel to use.
     *
     * @return TFloat The variance for W w.r.t. X and M, TFloat is the TFloat from
     *                the type of M.
     */