input_model_normal: input_model_normal

Description Usage Arguments Value See Also

View source: R/input_model_normal.R

Description

Normal - sample variance model. Fits num_models normal models with variance being sample variance to a numerical vector (attribute).

Usage

1
input_model_normal(data, num_models, prior)

Arguments

data

Numerical vector of data points.

num_models

Number of distributions to fit.

prior

List containing the parameters of the Normal prior distribution of the mean. List has to contain entries "mu" and "var" being the mean and variance parameters. For example: list(mu = 10, var = 2).

Value

List of num_models S3 classes of type 'normal'. The class 'normal' has the following methods defined: mean, sample and var.

See Also

Other input models: input_model_bernoulli, input_model_mvnormal_iw, input_model_normal_ig, input_model_poisson


fortunar/matchForecast documentation built on May 27, 2019, 3:30 p.m.