%% Extract and arrange the data
Generate_XY % extract covariates
Generate_G % extract networks
Generate_INPUT % arrange the data

%% Estimation
clear
model = 'M1';
sar_sim

clear
model = 'M2';
sar_sim

clear
model = 'M3';
sar_sim

clear
model = 'M4';
sar_sim

clear
model = 'M5';
sar_sim