def guess_beta_parameters(guess, strength=5):
    """Given a `guess` of the mean of a beta distribution, calculate beta
    distribution parameters such that the distribution is skewed by some
    `strength` toward the `guess`.

    :param guess: guess of the mean of the beta distribution
    :type guess: float
    :param strength: strength of the skew, defaults to `5`
    :type strength: int

    :return: beta distribution parameters (alpha, beta)
    :rtype: (float, float)
    """
    alpha = max(strength * guess, 0.1)
    beta = max(strength - alpha, 0.1)
    return alpha, beta