Simulation results of a EUROMOD tax-benefit system.
Run the simulation of a EUROMOD tax-benefit system with default optional settings:
mod = euromod("C:\EUROMOD_RELEASES_I6.0+"); data = readtable("SE_2021_b1.txt"); S=run(mod,"SE","SE_2021",data,"SE_2021_b1"); S
1×1 Simulationwith properties: outputs: {[19308×282 table]} settings: [1×1 struct] output_filenames: "se_2021_std" errors: [2×1 string] output 1 : [19308x282 table] idhh idperson idmother idfather idpartner idorighh idorigperson dag dgn dec 200 20001 0 0 0 200 20001 74 1 0 300 30001 0 0 0 300 30001 77 0 0 300 30002 30001 0 0 300 30002 53 1 0 400 40001 0 0 40002 400 40001 68 0 0 400 40002 0 0 40001 400 40002 65 1 0 500 50001 0 0 50002 500 50001 78 1 0 ...
Object S is a Simulation class storing the simulation output returned by function run.
Compute the mean of disposable income:
mean(S.outputs{1}{:,'ils_dispy'})
5.5285e+03
obj —
C# objectC# class
A C# object returned from the EUROMOD simulation.
Data Types:
C# class
settings —
Configuration settingsstruct
A struct with the simulation configuration settings.
Data Types:
struct
outputs —
Simulation outputcell
Returns a cell array with the table-type simulation results.
Example:
S.outputs{1}
settings —
Configuration settingsstruct
Returns the configuration settings used in the simulation such as addons, constantsToOverwrite, extensions, ect.
Example:
S.settings
output_filenames —
Simulation namesstring
Returns the file-names of simulation outputs.
Example:
S.output_filenames
errors —
Errors and warningsstring
Returns the errors and warnings from the simulation run.
Example:
S.errors
S — Simulation classA class with results from the simulation of a EUROMOD tax-benefit system.
[1] Documentation EUROMOD - Tax-benefit microsimulation model for the European Union.
You have a modified version of this example. Do you want to open this example with your edits?