View source: R/simple_function_stud.R
SP_mlogit_basic | R Documentation |
It provides a multinomial logit summary of a dataset based on a SP questionnaire
SP_mlogit_basic(dataset,attribute_type)
attribute_type |
A character vector indicating if each attribute must be considered quantitative ("C") or qualitative ("NC") |
dataset |
The SP dataset obtained from a SP Survey containing attributes,alternatives and responses columns.Otherwise you can insert the dataset file path |
It provides multinomial logit model estimation based on a SP dataset.The dataset must contain attributes, alternatives and responses columns. Furthermore, the attributes columns must be the first in order of appearance (reading from left to right), alternatives column must call "alt" while responses column "resp".
multinomial_logit_estimation |
The multinomial logit model summary |
Gabriele Iannaccone
Federov, V.V. (1972). Theory of optimal experiments. Academic Press, New York.
Wheeler, R.E. (2004). AlgDesign. The R project for statistical computing. (http://www.r-project.org).
Croissant, Y. (2012). Estimation of multinomial logit models in R: The mlogit Packages. R package version 0.2-2. URL: http://cran. r-project. org/web/packages/mlogit/vignettes/mlogit. pdf.
optFederov, optBlock, dcm.design.cand, mlogit
#multinomial logit coefficients estimation
z<-SP_mlogit_basic(dataset=retailers_freight,attribute_type = c("NC","C","C"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.