error in testing likelihood function
Posted: 31 May 2021, 16:45
Hi all,
I'm trying to run a conditional logit model on my own panel dataset. Attached is the error that I run in after validation. The code is adapted from example 15, the changes are minor, including the dataset and the variable names etc.
Your help is appreciated. Thank you.
model = apollo_estimate(apollo_beta, apollo_fixed, apollo_probabilities, apollo_inputs)
Testing likelihood function...
The following object is masked from package:base:
version
Error in apollo_preprocess(inputs = mnl_settings, modelType, functionality, :
Each element of "V" for model component "model" needs to be a scalar or a vector/matrix/cube with one row per observation in the "database"
> apollo_modelOutput(model)
Error in apollo_modelOutput(model) : object 'model' not found
> apollo_saveOutput(model)
Error in apollo_saveOutput(model) : object 'model' not found
I'm trying to run a conditional logit model on my own panel dataset. Attached is the error that I run in after validation. The code is adapted from example 15, the changes are minor, including the dataset and the variable names etc.
Your help is appreciated. Thank you.
model = apollo_estimate(apollo_beta, apollo_fixed, apollo_probabilities, apollo_inputs)
Testing likelihood function...
The following object is masked from package:base:
version
Error in apollo_preprocess(inputs = mnl_settings, modelType, functionality, :
Each element of "V" for model component "model" needs to be a scalar or a vector/matrix/cube with one row per observation in the "database"
> apollo_modelOutput(model)
Error in apollo_modelOutput(model) : object 'model' not found
> apollo_saveOutput(model)
Error in apollo_saveOutput(model) : object 'model' not found