def collection(name, *varlist, **kwargs):
    """
    Defines a set of variables that are treated as a single effect with multiple DOF

    Parameters
    ----------
    name : string
        Specifies the name of the effect
    *varlist : one or more strings
        Defines a set of variables that are treated as a single effect
        with multiple degrees of freedom. The columns in the design
        matrix that are contributed by a collection effect are the design
        columns of its constituent variables in the order in which they
        appear in the definition of the collection effect.
        Default: []
    details : boolean, optional
        requests a table that shows additional details related to this
        effect.
        Default: False

    Returns
    -------
    dict

    """
    return dict(name=name, varlist=list(varlist), **kwargs)
