Create an output coefficient matrix from the input flow matrix or a symmetric input-output table.

## Usage

output_coefficient_matrix_create(data_table, total = "tfu", digits = NULL)

## Arguments

data_table

A symmetric input-output table, a use table, a margins or tax table retrieved by the iotable_get. In case you use type="tfu" you need to input a full iotable, create by the iotable_get, because the final demand column is in the second quadrant of the IOT.

total

The output='total' (or CPA_TOTAL, depending on the names in your table, default) returns the output coefficients for products (intermediates) while the final_demand returns output coefficients for final demand. See Eurostat Manual of Supply, Use and Input-Output Tables p495 and p507.

digits

An integer showing the precision of the technology matrix in digits. Default is NULL when no rounding is applied.

## Value

An output coefficient matrix of data.frame class. The column names are ordered, and the row names are in the first, auxiliary metadata column.

## Details

The output coefficients may be interpreted as the market shares of products in total output. If there are zero values in present, they will be changed to 0.000001 and you will get a warning. Some analytical equations cannot be solved with zero elements. You either have faulty input data, or you have to use some sort of data modification to carry on your analysis.

## Examples

data_table <- iotable_get()

output_coefficient_matrix_create (data_table = data_table,
total = 'tfu',
digits = 4)
#>              iotables_row agriculture_group industry_group construction
#> 1       agriculture_group            0.0258         0.5803       0.0000
#> 2          industry_group            0.0073         0.2822       0.0594
#> 3            construction            0.0017         0.0299       0.0158
#> 4             trade_group            0.0066         0.1346       0.0263
#> 5 business_services_group            0.0053         0.1388       0.0448
#> 6    other_services_group            0.0030         0.0294       0.0034