Extension

Description

example

E = Extension(Parent) create a class array with the EUROMOD default extensions. The extensions can be at the model level if Parent is the Model class or at the country level if Parent is the Country class.

The class elements can be accessed by indexing the class array with an integer, or a string value of any class property (e.g. name, ID, or shortName).

Examples

collapse all

Extension loads all the extensions configured in a Country by default.

mod = euromod("C:\EUROMOD_RELEASES_I6.0+");
E=Extension(mod.countries("AT"));
E  
13×1 Extension array:

        1: SORESI   | SORESI web-based model
        2: LMA      | Labour market adjustments
        3: BTA      | Benefit Take-up Adjustments
        4: TCA      | Tax Compliance Adjustments
        5: FYA      | Full Year Adjustments
        6: UAA      | Uprating by Average Adjustment
        7: EPS      | Extended Policy Simulation
        8: PBE      | Parental leave benefits
        9: MWA      | Minimum Wage Adjustments
       10: HHoT_un  | HHoT unemployment extension
       11: WEB      | EUROMOD JRC-Interface
       12: HHoT_ext | HHoT - Extended Simulation
       13: HHoT_ncp | HHoT - Non Compulsory Payments
    

Display a specific extension in the Country.

E("MWA")  
1×1 Extension with properties:

          ID: "557c232a-9ce6-4808-b52f-ca5e02fe8cf4"
        name: "Minimum Wage Adjustments"
      parent: [1×1 Model]
   shortName: "MWA"
    

Extension loads all the extensions configured in the Model by default.

mod = euromod("C:\EUROMOD_RELEASES_I6.0+");
E=Extension(mod);
E  
11×1 Extension array:

        1: BTA      | Benefit Take-up Adjustments
        2: TCA      | Tax Compliance Adjustments
        3: FYA      | Full Year Adjustments
        4: UAA      | Uprating by Average Adjustment
        5: EPS      | Extended Policy Simulation
        6: PBE      | Parental leave benefits
        7: MWA      | Minimum Wage Adjustments
        8: HHoT_un  | HHoT unemployment extension
        9: WEB      | EUROMOD JRC-Interface
       10: HHoT_ext | HHoT - Extended Simulation
       11: HHoT_ncp | HHoT - Non Compulsory Payments
    

Input Arguments

collapse all

Can be the Model class returned by euromod or a specific Country class.

Data Types: class

Properties

collapse all

Returns the identifier number of the extension.

Example: E(end).ID

Returns the long name of the extension.

Example: E(end).name

Returns the Model base class of EUROMOD.

Example: E(end).parent

Returns the short name of the extension.

Example: E(end).shortName

Output Arguments

collapse all

A class array with the EUROMOD default extensions at the Model or Country level.

References

[1] Documentation EUROMOD - Tax-benefit microsimulation model for the European Union.

Extended Capabilities

Introduced in R2023a