Skip to content
Snippets Groups Projects
Commit 3b06f1bd authored by Jungehülsing's avatar Jungehülsing
Browse files

minor changes in the documentation of poetest

parent cddc72f4
Branches main
No related tags found
1 merge request!2Add Poetest and its documentation
This commit is part of merge request !2. Comments created here will be created in the context of that merge request.
...@@ -14,7 +14,8 @@ ...@@ -14,7 +14,8 @@
#' @export #' @export
#' #'
#' @examples \dontrun{ #' @examples \dontrun{
#' poeresults<-poetest(n=5000, model1 = clmodels[[model_1]],model2 = clmodels[[model_2]], att=attr, price = "bcost") #' poeresults<-poetest(n=5000, model1 = clmodels[[model_1]],model2 = clmodels[[model_2]],
#' att=attr, price = "bcost")
#' } #' }
......
man/poetest.Rd 0 → 100644
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/poetest.R
\name{poetest}
\alias{poetest}
\title{Perform the Poe (2005) test on different discrete choice models}
\usage{
poetest(n, model1, model2, att, price)
}
\arguments{
\item{n}{number of draws}
\item{model1}{Model from which to take the first WTP values}
\item{model2}{Model from which to take the second WTP values}
\item{att}{Vector of attributes whose WTP values you want to compare}
\item{price}{name of the price coefficient}
}
\value{
a p value associated with "WTP1>WTP2"
}
\description{
Perform the Poe (2005) test on different discrete choice models
}
\examples{
\dontrun{
poeresults<-poetest(n=5000, model1 = clmodels[[model_1]],model2 = clmodels[[model_2]],
att=attr, price = "bcost")
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment