Learn R Programming

rmdcev (version 1.2.0)

CreateParmInfo: CreateParmInfo

Description

Create parameter names and number of parameters

Usage

CreateParmInfo(stan_data, alt_names, algorithm, random_parameters)

Arguments

stan_data

data for model

alt_names

name of alternatives.

algorithm

Either "Bayes" for Bayes or "MLE" for maximum likelihood estimation.

random_parameters

The form of the covariance matrix for Bayes. Can be 'fixed' for no random parameters, 'uncorr' for uncorrelated random parameters, or 'corr' for correlated random parameters.

Value

A list of parameter names and numbers