0001 function mrg_gofstat2xls(gofstat)
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017
0018
0019
0020
0021
0022
0023
0024
0025
0026
0027
0028
0029
0030
0031
0032
0033
0034
0035
0036
0037
0038
0039
0040
0041
0042
0043
0044
0045
0046
0047 [FileName,PathName,FilterIndex] = uiputfile('*.xlsx','Choose filename for data','GoF_Stat.xlsx');
0048
0049 cd(PathName);
0050
0051
0052 text = {'Correlation coefficient (R)'};
0053 xlswrite(FileName,text,'Corr','A1');
0054 text = {'Lower 95% confidence limit on R'};
0055 xlswrite(FileName,text,'Corr','A2');
0056 text = {'Upper 95% confidence limit on R'};
0057 xlswrite(FileName,text,'Corr','A3');
0058 text = {'p-value on R'};
0059 xlswrite(FileName,text,'Corr','A4');
0060 xlswrite(FileName,gofstat.corr.','Corr','B1');
0061
0062
0063 text = {'NaN Mean of the pairwise differences'};
0064 xlswrite(FileName,text,'Corr','A5');
0065 text = {'NaN Mean of the absolute pairwise differences'};
0066 xlswrite(FileName,text,'Corr','A6');
0067 text = {'Standard Deviation of pairwise differences'};
0068 xlswrite(FileName,text,'Corr','A7');
0069 text = {'Bias-index - bias / mean'};
0070 xlswrite(FileName,text,'Corr','A8');
0071 xlswrite(FileName,gofstat.bias.','Corr','B5');
0072
0073
0074 text = {'root mean square'};
0075 xlswrite(FileName,text,'Corr','A9');
0076 text = {'scatter index (RMS/Obar)'};
0077 xlswrite(FileName,text,'Corr','A10');
0078 text = {'scatter index using abs of signal (RMS/abs(Obar))'};
0079 xlswrite(FileName,text,'Corr','A11');
0080 text = {'stdev of the differences (different to bias stdev)'};
0081 xlswrite(FileName,text,'Corr','A12');
0082 xlswrite(FileName,gofstat.RMS.','Corr','B9');
0083
0084
0085 xlswrite(FileName,gofstat.Pbar.','Corr','B13');
0086 text = {'Pbar : The nanmean of Pred'};
0087 xlswrite(FileName,text,'Corr','A13');
0088 xlswrite(FileName,gofstat.Obar.','Corr','B14');
0089 text = {'Obar : The nanmean of Obs'};
0090 xlswrite(FileName,text,'Corr','A14');
0091 xlswrite(FileName,gofstat.absPbar.','Corr','B15');
0092 text = {'absPbar : The nanmean of abs(Pred)'};
0093 xlswrite(FileName,text,'Corr','A15');
0094 xlswrite(FileName,gofstat.absObar.','Corr','B16');
0095 text = {'absObar : The nanmean of abs(Obs)'};
0096 xlswrite(FileName,text,'Corr','A16');
0097
0098
0099 xlswrite(FileName,gofstat.MEF.','Corr','B17');
0100 text = {'MEF : The modelling efficency as per Stow 2009'};
0101 xlswrite(FileName,text,'Corr','A17');
0102 xlswrite(FileName,gofstat.skill.','Corr','B18');
0103 text = {'skill: The modelling skill as per Dias 2009'};
0104 xlswrite(FileName,text,'Corr','A18');
0105 xlswrite(FileName,gofstat.RI.','Corr','B19');
0106 text = {'RI : The reliability index'};
0107 xlswrite(FileName,text,'Corr','A19');
0108
0109 end