def make_param_dict(param_val_dict):
    """Makes dictionary for VI RandomVariable and parameters.

    :param param_val_dict: (dict of list) A dictionary with key being
        parameter names, and values being a list of
        [RandomVariable, mean_vi_param, scale_vi_param]

    :return:
        model_param: (dict of RandomVariable)
            Keys are variable names, Values are RandomVariable output
            from VI families.
        vi_param: (dict) Keys are variable names, Values are
            dict of loc and scale VI parameters.
    """
    model_param = dict()
    vi_param = dict()

    for key, value in param_val_dict.items():
        model_param[key] = value[0]
        vi_param[key] = {"loc": value[1], "scale": value[2]}

    return model_param, vi_param