#' Perform a z test to compare parameters from two models which were estimated with apollo
#'
#'Use this test if you estimate the exact same model with different data sets. For example, if you have a split sample and want to compare the two samples for differences in preferences. The test is especially useful for models in WTP Space where the Poe Test ist not adequate.
#' @param model1 Model from which to take the first parameter
#' @param model2 Model from which to take the second parameter
#' @param hyp Your hypotheses to test. Default is 0 which means you test for equality of parameters. Currently there are no other options. If you change the value, it will still test for equality (0)
\title{Perform a z test to compare parameters from two models which were estimated with apollo}
\usage{
apollo_ztest(model1, model2, hyp = 0)
}
\arguments{
\item{model1}{Model from which to take the first parameter}
\item{model2}{Model from which to take the second parameter}
\item{hyp}{Your hypotheses to test. Default is 0 which means you test for equality of parameters. Currently there are no other options. If you change the value, it will still test for equality (0)}
}
\value{
a dataframe with the test statistics
}
\description{
Use this test if you estimate the exact same model with different data sets. For example, if you have a split sample and want to compare the two samples for differences in preferences. The test is especially useful for models in WTP Space where the Poe Test ist not adequate.