apollo_basTest: Ben-Akiva & Swait test

Description Usage Arguments Value

View source: R/apollo_basTest.R

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

1
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 documentation built on July 31, 2021, 5:08 p.m.