现在要求置信区间,需要用fisher information matrix,其中,如果有三个变量,其表达形式如图所示,其中分子的那个符号是极大似然函数。
现在如何求得这个矩阵
本来写了一个m文件,用的是符号函数,但是现在看来对符号函数理解有误
但是现在令f输出,输出f = 0?而不是一个表达式
%This scripits try to find out the FIM-fisher information matrix
syms a b c d e
global S1o_f2 S2o_f2 S3o_f2 S4o_f2 S5o_f2 S6o_f2; %这些数据通过另一个文件读入
n1 = length(S1o_f2);
n2 = length(S2o_f2);
n3 = length(S3o_f2);
n4 = length(S4o_f2);
n5 = length(S5o_f2);
n6 = length(S6o_f2);
f1 =0;f2 =0;f3 =0;f4 =0;f5 =0;f6 =0;
T1 = 353.15;RH1 = 80; I1 = 60;
T2 = 343.15;RH2 = 95; I2 = 40;
T3 = 328.15;RH3 = 80; I3 = 40;
T4 = 353.15;RH4 = 80; I4 = 20;
T5 = 343.15;RH5 = 95; I5 = 60;
T6 = 328