Description Usage Arguments Value Examples
View source: R/make_table_final_state.R
This function takes the list of state values and the output of the fixed point computation and generates a B times 4 dataframe with the Bank_name, a_1_tau, e_1_tau, and lambda_1_tau
1 | make_table_final_state(dat, fp, lb)
|
dat |
a list of state matrices. The output of |
fp |
a dataframe. The output of |
lb |
a real number specifiying the leverage threshold. Same threshold as in
|
a B times 4 dataframe with the variables Bank_name, a_1_tau, e_1_tau, and lambda_1_tau if the fixed point is unique a B times 7 dataframe with the variables Bank_name, a_1_tau_lower, a_1_tau_upper, e_1_tau_lower, e_1_tau_lower and lambda_1_tau_lower, lambda_1_tau_upper
1 2 3 4 5 6 7 8 9 10 | stress_data <- make_stress_data(eba_exposures_2016, eba_impairments_2016, 1, 2015)
state_variables <- make_state_variables(stress_data)
fixed_points <- fixed_point_computation_function(
mat = state_variables, lb = 33,
data_idx = sovereign_bond_indices,
data_adv = average_daily_volume_sovereign,
base_year = 2015,
constant = 1.5
)
make_table_final_state(state_variables, fixed_points, 33)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.