SP_mlogit_basic: Multinomial logit analysis of a Stated Preference(SP) survey

View source: R/simple_function_stud.R

SP_mlogit_basicR Documentation

Multinomial logit analysis of a Stated Preference(SP) survey

Description

It provides a multinomial logit summary of a dataset based on a SP questionnaire

Usage

SP_mlogit_basic(dataset,attribute_type)

Arguments

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

Details

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".

Value

multinomial_logit_estimation

The multinomial logit model summary

Author(s)

Gabriele Iannaccone

References

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.

See Also

optFederov, optBlock, dcm.design.cand, mlogit

Examples

 #multinomial logit coefficients estimation
z<-SP_mlogit_basic(dataset=retailers_freight,attribute_type = c("NC","C","C"))

Iannacks/SP.Survey documentation built on May 18, 2023, 11:23 a.m.