Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

apollo_basTest

Ben-Akiva & Swait test


Description

Calculates the p-value for the Ben-Akiva & Swait test for non-nested models. The two models need to both be discrete choice, and estimated on the same data.

Usage

apollo_basTest(model1, model2)

Arguments

model1

Either a character variable with the name of a previously estimated model, or an estimated model in memory, as returned by apollo_estimate.

model2

Either a character variable with the name of a previously estimated model, or an estimated model in memory, as returned by apollo_estimate.

Value

Ben-Akiva & Swait test p-value (invisibly)


apollo

Tools for Choice Model Estimation and Application

v0.2.4
GPL-2
Authors
Stephane Hess [aut], David Palma [aut, cre]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.