apollo_saveOutput {apollo}R Documentation

Saves estimation results to files.

Description

Writes files in the working/output directory with the estimation results.

Usage

apollo_saveOutput(model, saveOutput_settings = NA)

Arguments

model

Model object. Estimated model object as returned by function apollo_estimate.

saveOutput_settings

List. Contains settings for this function. User input is required for all settings except those with a default or marked as optional.

  • printChange: Boolean. TRUE for printing difference between starting values and estimates. TRUE by default.

  • printClassical: Boolean. TRUE for printing classical standard errors. TRUE by default.

  • printCorr: Boolean. TRUE for printing parameters correlation matrix. If printClassical=TRUE, both classical and robust matrices are printed. For Bayesian estimation, this setting is used for the covariane of random parameters. TRUE by default.

  • printCovar: Boolean. TRUE for printing parameters covariance matrix. If printClassical=TRUE, both classical and robust matrices are printed. For Bayesian estimation, this setting is used for the correlation of random parameters. TRUE by default.

  • printDataReport: Boolean. TRUE for printing summary of choices in database and other diagnostics. FALSE by default.

  • printFixed: Logical. TRUE for printing fixed parameters among estimated parameter. TRUE by default.

  • printFunctions: Boolean. TRUE for printing apollo_control, apollo_randCoeff (when available), apollo_lcPars (when available) and apollo_probabilities. TRUE by default.

  • printHBconvergence: Boolean. TRUE for printing Geweke convergence tests. TRUE by default.

  • printHBiterations: Boolean. TRUE for printing an iterations report for HB estimation. TRUE by default.

  • printModelStructure: Boolean. TRUE for printing model structure. TRUE by default.

  • printOutliers: Boolean or Scalar. TRUE for printing 20 individuals with worst average fit across observations. FALSE by default. If Scalar is given, this replaces the default of 20.

  • printPVal: Boolean or Scalar. TRUE or 1 for printing p-values for one-sided test, 2 for printing p-values for two-sided test, FALSE for not printing p-values. FALSE by default.

  • printT1: Boolean. If TRUE, t-test for H0: apollo_beta=1 are printed. FALSE by default.

  • saveEst: Boolean. TRUE for saving estimated parameters and standard errors to a CSV file. TRUE by default.

  • saveCorr: Boolean. TRUE for saving estimated correlation matrix to a CSV file. FALSE by default.

  • saveCov: Boolean. TRUE for saving estimated covariance matrix to a CSV file. FALSE by default.

  • saveHBiterations: Boolean. TRUE for including HB iterations in the saved model object. FALSE by default.

  • saveModelObject: Boolean. TRUE to save the R model object to a file (use apollo_loadModel to load it to memory). TRUE by default.

  • saveOld: Boolean. If TRUE, existing files are kept with an added OLD suffix. If not, they are overwritten. TRUE by default.

  • writeF12: Boolean. TRUE for writing results into an F12 file (ALOGIT format). FALSE by default.

Details

Estimation results are saved different files in the working/output directory:

Value

nothing


[Package apollo version 0.3.3 Index]