You are now following this question
- You will see updates in your followed content feed.
- You may receive emails, depending on your communication preferences.
sticky information model, fmincon function
1 view (last 30 days)
Show older comments
Hey, I am using Reis (2009) model, and I just replicate his results using his data. Starting with the SIBE folder, to first get the mode of the posterior distribution with the SIGE_mode: I get the following errors (matlab 2015a):
Warning: R-square and the F statistic are not well-defined unless X has a column of ones.
Type "help regress" for more information.
> In regress (line 164)
In SIGE_mode (line 33)
Subscripted assignment dimension mismatch.
Error in SIGEv (line 32)
Omega(:,1:5)=PHI;
Error in SIGEloglik (line 44)
V=SIGEv(ma_m,ma_a,ma_g,ma_nu,ma_gam,Sigma);
Error in SIGEpost (line 25)
L = SIGEloglik(pars)'; % Minus Log-likelihood
Error in fmincon (line 534)
initVals.f = feval(funfcn{3},X,varargin{:});
Error in SIGE_mode (line 67)
[Mode fval a b c d hess] = ...
Caused by:
Failure in initial user-supplied objective function evaluation. FMINCON cannot continue.
How should I fix this?? thanks for your help Houda
4 Comments
Walter Roberson
on 20 Jan 2018
We need the code and some sample data. Are you using the code from https://dataverse.harvard.edu/dataset.xhtml?persistentId=hdl:1902.1/10500 ?
Walter Roberson
on 20 Jan 2018
I had to go to the dataverse site to find some of the files, but even that site did not have SIGE_mode . SIGE_mode is mentioned in one of the .doc files but it does not appear to be available.
Houda
on 20 Jan 2018
Edited: Houda
on 20 Jan 2018
the code SIGE_mode is included in the zipped file attached above, I attach it again (file name 2008-0077_data), the folder that contains this code is SIBE folder. I am looking also to the codes in dataverse, I didn't know about it before you told me. Thanks
Accepted Answer
Walter Roberson
on 20 Jan 2018
I see it now; I am not sure why I could not find it earlier.
The code in SIGEv has a bug unless N (the number of periods, configured in SIGE_mode) is less than or equal to T (the number of rows in the input data, read in SIGE_mode). You will need to reduce N (currently 100) to something <= 75
5 Comments
Walter Roberson
on 20 Jan 2018
The one you are using, which appears to be a later version than the one on dataverse.
It makes sense to me that the number of periods would be expected to be no more than the size of the data.
Houda
on 20 Jan 2018
Edited: Houda
on 20 Jan 2018
The restriction that you are talking about is line 27 in SIGE_mode ""global N; N=100; %periods in MA representations", because in the code SIGEv.m there is no restriction of N, isn't?, so I make N=75 it is running for the moment, results are here but also a nex error
post =
-1.6619e+03
post =
-1.7663e+03
post =
-1.7365e+03
post =
-1.5784e+03
post =
-1.7640e+03
post =
-1.7760e+03
post =
-1.7760e+03
post =
-1.7760e+03
post =
-1.7760e+03
post =
-1.7760e+03
post =
-1.7760e+03
post =
-1.7760e+03
post =
-1.7760e+03
post =
-1.7760e+03
post =
-1.7760e+03
post =
-1.7760e+03
post =
-1.7760e+03
post =
-1.7760e+03
post =
-1.7760e+03
post =
-1.7760e+03
post =
-1.7760e+03
post =
-1.7760e+03
post =
-1.7773e+03
post =
-1.7773e+03
post =
-1.7773e+03
post =
-1.7773e+03
post =
-1.7773e+03
post =
-1.7773e+03
post =
-1.7773e+03
post =
-1.7773e+03
post =
-1.7773e+03
post =
-1.7773e+03
post =
-1.7773e+03
post =
-1.7773e+03
post =
-1.7773e+03
post =
-1.7773e+03
post =
-1.7773e+03
post =
-1.7773e+03
post =
-1.7773e+03
post =
-1.7871e+03
post =
-1.7871e+03
post =
-1.7871e+03
post =
-1.7871e+03
post =
-1.7871e+03
post =
-1.7871e+03
post =
-1.7871e+03
post =
-1.7871e+03
post =
-1.7871e+03
post =
-1.7871e+03
post =
-1.7871e+03
post =
-1.7871e+03
post =
-1.7871e+03
post =
-1.7871e+03
post =
-1.7871e+03
post =
-1.7871e+03
post =
-1.7871e+03
post =
-1.7934e+03
post =
-1.7934e+03
post =
-1.7934e+03
post =
-1.7934e+03
post =
-1.7934e+03
post =
-1.7934e+03
post =
-1.7934e+03
post =
-1.7934e+03
post =
-1.7934e+03
post =
-1.7934e+03
post =
-1.7934e+03
post =
-1.7934e+03
post =
-1.7934e+03
post =
-1.7934e+03
post =
-1.7934e+03
post =
-1.7934e+03
post =
-1.7934e+03
post =
-1.7252e+03
post =
-1.7878e+03
post =
-1.7942e+03
post =
-1.7942e+03
post =
-1.7942e+03
post =
-1.7942e+03
post =
-1.7942e+03
post =
-1.7942e+03
post =
-1.7942e+03
post =
-1.7942e+03
post =
-1.7942e+03
post =
-1.7942e+03
post =
-1.7942e+03
post =
-1.7942e+03
post =
-1.7942e+03
post =
-1.7942e+03
post =
-1.7942e+03
post =
-1.7942e+03
post =
-1.7942e+03
post =
-1.7968e+03
post =
-1.7968e+03
post =
-1.7968e+03
post =
-1.7968e+03
post =
-1.7968e+03
post =
-1.7968e+03
post =
-1.7968e+03
post =
-1.7968e+03
post =
-1.7968e+03
post =
-1.7968e+03
post =
-1.7968e+03
post =
-1.7968e+03
post =
-1.7968e+03
post =
-1.7968e+03
post =
-1.7968e+03
post =
-1.7968e+03
post =
-1.7968e+03
post =
-1.7997e+03
post =
-1.7997e+03
post =
-1.7997e+03
post =
-1.7997e+03
post =
-1.7997e+03
post =
-1.7997e+03
post =
-1.7997e+03
post =
-1.7997e+03
post =
-1.7997e+03
post =
-1.7997e+03
post =
-1.7997e+03
post =
-1.7997e+03
post =
-1.7997e+03
post =
-1.7997e+03
post =
-1.7997e+03
post =
-1.7997e+03
post =
-1.7997e+03
post =
-1.7988e+03
post =
-1.8006e+03
post =
-1.8006e+03
post =
-1.8006e+03
post =
-1.8006e+03
post =
-1.8006e+03
post =
-1.8006e+03
post =
-1.8006e+03
post =
-1.8006e+03
post =
-1.8006e+03
post =
-1.8006e+03
post =
-1.8006e+03
post =
-1.8006e+03
post =
-1.8006e+03
post =
-1.8006e+03
post =
-1.8006e+03
post =
-1.8006e+03
post =
-1.8006e+03
post =
2.3595e+04
post =
-1.7544e+03
post =
-1.8008e+03
post =
-1.8008e+03
post =
-1.8008e+03
post =
-1.8008e+03
post =
-1.8008e+03
post =
-1.8008e+03
post =
-1.8008e+03
post =
-1.8008e+03
post =
-1.8008e+03
post =
-1.8008e+03
post =
-1.8008e+03
post =
-1.8008e+03
post =
-1.8008e+03
post =
-1.8008e+03
post =
-1.8008e+03
post =
-1.8008e+03
post =
-1.8008e+03
post =
-1.8028e+03
post =
-1.8028e+03
post =
-1.8028e+03
post =
-1.8028e+03
post =
-1.8028e+03
post =
-1.8028e+03
post =
-1.8028e+03
post =
-1.8028e+03
post =
-1.8028e+03
post =
-1.8028e+03
post =
-1.8028e+03
post =
-1.8028e+03
post =
-1.8028e+03
post =
-1.8028e+03
post =
-1.8028e+03
post =
-1.8028e+03
post =
-1.8028e+03
post =
-1.8034e+03
post =
-1.8034e+03
post =
-1.8034e+03
post =
-1.8034e+03
post =
-1.8034e+03
post =
-1.8034e+03
post =
-1.8034e+03
post =
-1.8034e+03
post =
-1.8034e+03
post =
-1.8034e+03
post =
-1.8034e+03
post =
-1.8034e+03
post =
-1.8034e+03
post =
-1.8034e+03
post =
-1.8034e+03
post =
-1.8034e+03
post =
-1.8034e+03
post =
-1.8041e+03
post =
-1.8041e+03
post =
-1.8041e+03
post =
-1.8041e+03
post =
-1.8041e+03
post =
-1.8041e+03
post =
-1.8041e+03
post =
-1.8041e+03
post =
-1.8041e+03
post =
-1.8041e+03
post =
-1.8041e+03
post =
-1.8041e+03
post =
-1.8041e+03
post =
-1.8041e+03
post =
-1.8041e+03
post =
-1.8041e+03
post =
-1.8041e+03
post =
-1.8048e+03
post =
-1.8048e+03
post =
-1.8048e+03
post =
-1.8048e+03
post =
-1.8048e+03
post =
-1.8048e+03
post =
-1.8048e+03
post =
-1.8048e+03
post =
-1.8048e+03
post =
-1.8048e+03
post =
-1.8048e+03
post =
-1.8048e+03
post =
-1.8048e+03
post =
-1.8048e+03
post =
-1.8048e+03
post =
-1.8048e+03
post =
-1.8048e+03
post =
-1.8063e+03
post =
-1.8063e+03
post =
-1.8063e+03
post =
-1.8063e+03
post =
-1.8063e+03
post =
-1.8063e+03
post =
-1.8063e+03
post =
-1.8063e+03
post =
-1.8063e+03
post =
-1.8063e+03
post =
-1.8063e+03
post =
-1.8063e+03
post =
-1.8063e+03
post =
-1.8063e+03
post =
-1.8063e+03
post =
-1.8063e+03
post =
-1.8063e+03
post =
-1.7913e+03
post =
-1.8067e+03
post =
-1.8067e+03
post =
-1.8067e+03
post =
-1.8067e+03
post =
-1.8067e+03
post =
-1.8067e+03
post =
-1.8067e+03
post =
-1.8067e+03
post =
-1.8067e+03
post =
-1.8067e+03
post =
-1.8067e+03
post =
-1.8067e+03
post =
-1.8067e+03
post =
-1.8067e+03
post =
-1.8067e+03
post =
-1.8067e+03
post =
-1.8067e+03
post =
-1.8082e+03
post =
-1.8082e+03
post =
-1.8082e+03
post =
-1.8082e+03
post =
-1.8082e+03
post =
-1.8082e+03
post =
-1.8082e+03
post =
-1.8082e+03
post =
-1.8082e+03
post =
-1.8082e+03
post =
-1.8082e+03
post =
-1.8082e+03
post =
-1.8082e+03
post =
-1.8082e+03
post =
-1.8082e+03
post =
-1.8082e+03
post =
-1.8082e+03
post =
-1.8108e+03
post =
-1.8108e+03
post =
-1.8108e+03
post =
-1.8108e+03
post =
-1.8108e+03
post =
-1.8108e+03
post =
-1.8108e+03
post =
-1.8108e+03
post =
-1.8108e+03
post =
-1.8108e+03
post =
-1.8108e+03
post =
-1.8108e+03
post =
-1.8108e+03
post =
-1.8108e+03
post =
-1.8108e+03
post =
-1.8108e+03
post =
-1.8108e+03
post =
6.7355e+05
post =
-1.7662e+03
post =
-1.7976e+03
post =
-1.7960e+03
post =
-1.8088e+03
post =
-1.8099e+03
post =
-1.8101e+03
post =
-1.8102e+03
post =
-1.8103e+03
post =
-1.8103e+03
post =
-1.8102e+03
post =
-1.8109e+03
post =
-1.8109e+03
post =
-1.8109e+03
post =
-1.8109e+03
post =
-1.8109e+03
post =
-1.8109e+03
post =
-1.8109e+03
post =
-1.8109e+03
post =
-1.8109e+03
post =
-1.8109e+03
post =
-1.8109e+03
post =
-1.8109e+03
post =
-1.8109e+03
post =
-1.8109e+03
post =
-1.8109e+03
post =
-1.8109e+03
post =
-1.8109e+03
post =
4.7463e+05
post =
-1.8109e+03
post =
-1.8109e+03
post =
-1.8109e+03
post =
-1.8109e+03
post =
-1.8109e+03
post =
-1.8109e+03
post =
-1.8109e+03
post =
-1.8109e+03
post =
-1.8109e+03
post =
-1.8109e+03
post =
-1.8109e+03
post =
-1.8109e+03
post =
-1.8109e+03
post =
-1.8109e+03
post =
-1.8109e+03
post =
-1.8109e+03
post =
-1.8109e+03
post =
4.6170e+05
post =
-1.7914e+03
post =
-1.8076e+03
post =
-1.8088e+03
post =
-1.8066e+03
post =
-1.8116e+03
post =
-1.8116e+03
post =
-1.8116e+03
post =
-1.8116e+03
post =
-1.8116e+03
post =
-1.8116e+03
post =
-1.8116e+03
post =
-1.8116e+03
post =
-1.8116e+03
post =
-1.8116e+03
post =
-1.8116e+03
post =
-1.8116e+03
post =
-1.8116e+03
post =
-1.8116e+03
post =
-1.8116e+03
post =
-1.8116e+03
post =
-1.8116e+03
post =
4.0864e+05
post =
-1.8116e+03
post =
-1.8116e+03
post =
-1.8116e+03
post =
-1.8116e+03
post =
-1.8116e+03
post =
-1.8116e+03
post =
-1.8116e+03
post =
-1.8116e+03
post =
-1.8116e+03
post =
-1.8116e+03
post =
-1.8116e+03
post =
-1.8116e+03
post =
-1.8116e+03
post =
-1.8116e+03
post =
-1.8116e+03
post =
-1.8116e+03
post =
-1.8116e+03
post =
4.0898e+05
post =
-1.7964e+03
post =
-1.8088e+03
post =
-1.8101e+03
post =
-1.8090e+03
post =
-1.8098e+03
post =
-1.8104e+03
post =
-1.8087e+03
post =
-1.7997e+03
post =
-1.8119e+03
post =
-1.8119e+03
post =
-1.8119e+03
post =
-1.8119e+03
post =
-1.8119e+03
post =
-1.8119e+03
post =
-1.8119e+03
post =
-1.8119e+03
post =
-1.8119e+03
post =
-1.8119e+03
post =
-1.8119e+03
post =
-1.8119e+03
post =
-1.8119e+03
post =
-1.8119e+03
post =
-1.8119e+03
post =
-1.8119e+03
post =
-1.8119e+03
post =
-1.7250e+03
post =
-1.8119e+03
post =
-1.8119e+03
post =
-1.8119e+03
post =
-1.8119e+03
post =
-1.8119e+03
post =
-1.8119e+03
post =
-1.8119e+03
post =
-1.8119e+03
post =
-1.8119e+03
post =
-1.8119e+03
post =
-1.8119e+03
post =
-1.8119e+03
post =
-1.8119e+03
post =
-1.8119e+03
post =
-1.8119e+03
post =
-1.8119e+03
post =
-1.8119e+03
post =
-1.8026e+03
post =
-1.8071e+03
post =
-1.8089e+03
post =
-1.8100e+03
post =
-1.8117e+03
post =
-1.8130e+03
post =
-1.8130e+03
post =
-1.8130e+03
post =
-1.8130e+03
post =
-1.8130e+03
post =
-1.8130e+03
post =
-1.8130e+03
post =
-1.8130e+03
post =
-1.8130e+03
post =
-1.8130e+03
post =
-1.8130e+03
post =
-1.8130e+03
post =
-1.8130e+03
post =
-1.8130e+03
post =
-1.8130e+03
post =
-1.8130e+03
post =
-1.8130e+03
post =
-1.7528e+03
post =
-1.8130e+03
post =
-1.8130e+03
post =
-1.8130e+03
post =
-1.8130e+03
post =
-1.8130e+03
post =
-1.8130e+03
post =
-1.8130e+03
post =
-1.8130e+03
post =
-1.8130e+03
post =
-1.8130e+03
post =
-1.8130e+03
post =
-1.8130e+03
post =
-1.8130e+03
post =
-1.8130e+03
post =
-1.8130e+03
post =
-1.8130e+03
post =
-1.8130e+03
post =
-1.7943e+03
post =
-1.8071e+03
post =
-1.8098e+03
post =
-1.8110e+03
post =
-1.8123e+03
post =
-1.8114e+03
post =
-1.8142e+03
post =
-1.8142e+03
post =
-1.8142e+03
post =
-1.8141e+03
post =
-1.8141e+03
post =
-1.8142e+03
post =
-1.8142e+03
post =
-1.8141e+03
post =
-1.8142e+03
post =
-1.8141e+03
post =
-1.8142e+03
post =
-1.8141e+03
post =
-1.8142e+03
post =
-1.8142e+03
post =
-1.8142e+03
post =
-1.8141e+03
post =
-1.8142e+03
post =
2.8758e+06
post =
-1.8142e+03
post =
-1.8142e+03
post =
-1.8142e+03
post =
-1.8142e+03
post =
-1.8142e+03
post =
-1.8142e+03
post =
-1.8142e+03
post =
-1.8142e+03
post =
-1.8142e+03
post =
-1.8142e+03
post =
-1.8142e+03
post =
-1.8142e+03
post =
-1.8142e+03
post =
-1.8142e+03
post =
-1.8142e+03
post =
-1.8142e+03
post =
-1.8142e+03
post =
3.9808e+05
post =
-1.7992e+03
post =
-1.8094e+03
post =
-1.8107e+03
post =
-1.7801e+03
post =
-1.8147e+03
post =
-1.8147e+03
post =
-1.8147e+03
post =
-1.8147e+03
post =
-1.8147e+03
post =
-1.8147e+03
post =
-1.8147e+03
post =
-1.8147e+03
post =
-1.8147e+03
post =
-1.8147e+03
post =
-1.8147e+03
post =
-1.8147e+03
post =
-1.8147e+03
post =
-1.8147e+03
post =
-1.8147e+03
post =
-1.8147e+03
post =
-1.8147e+03
post =
2.7838e+05
post =
-1.8147e+03
post =
-1.8147e+03
post =
-1.8147e+03
post =
-1.8147e+03
post =
-1.8147e+03
post =
-1.8147e+03
post =
-1.8147e+03
post =
-1.8147e+03
post =
-1.8147e+03
post =
-1.8147e+03
post =
-1.8147e+03
post =
-1.8147e+03
post =
-1.8147e+03
post =
-1.8147e+03
post =
-1.8147e+03
post =
-1.8147e+03
post =
-1.8147e+03
post =
3.0802e+05
post =
-1.8068e+03
post =
-1.8117e+03
post =
-1.8115e+03
post =
-1.8127e+03
post =
-1.8133e+03
post =
-1.8142e+03
post =
-1.7915e+03
post =
-1.8147e+03
post =
-1.8147e+03
post =
-1.8147e+03
post =
-1.8147e+03
post =
-1.8147e+03
post =
-1.8147e+03
post =
-1.8147e+03
post =
-1.8147e+03
post =
-1.8147e+03
post =
-1.8147e+03
post =
-1.8147e+03
post =
-1.8147e+03
post =
-1.8147e+03
post =
-1.8147e+03
post =
-1.8147e+03
post =
-1.8147e+03
post =
-1.8147e+03
post =
1.6353e+06
post =
-1.8147e+03
post =
-1.8147e+03
post =
-1.8147e+03
post =
-1.8147e+03
post =
-1.8147e+03
post =
-1.8147e+03
post =
-1.8147e+03
post =
-1.8147e+03
post =
-1.8147e+03
post =
-1.8147e+03
post =
-1.8147e+03
post =
-1.8147e+03
post =
-1.8147e+03
post =
-1.8147e+03
post =
-1.8147e+03
post =
-1.8147e+03
post =
-1.8147e+03
post =
1.7336e+06
post =
-1.7379e+03
post =
-1.8000e+03
post =
-1.8082e+03
post =
-1.8148e+03
post =
-1.8148e+03
post =
-1.8148e+03
post =
-1.8148e+03
post =
-1.8148e+03
post =
-1.8148e+03
post =
-1.8148e+03
post =
-1.8148e+03
post =
-1.8148e+03
post =
-1.8148e+03
post =
-1.8148e+03
post =
-1.8148e+03
post =
-1.8148e+03
post =
-1.8148e+03
post =
-1.8148e+03
post =
-1.8148e+03
post =
-1.8148e+03
post =
-1.7857e+03
post =
-1.8148e+03
post =
-1.8148e+03
post =
-1.8148e+03
post =
-1.8148e+03
post =
-1.8148e+03
post =
-1.8148e+03
post =
-1.8148e+03
post =
-1.8148e+03
post =
-1.8148e+03
post =
-1.8148e+03
post =
-1.8148e+03
post =
-1.8148e+03
post =
-1.8148e+03
post =
-1.8148e+03
post =
-1.8148e+03
post =
-1.8148e+03
post =
-1.8148e+03
post =
4.4073e+04
post =
-1.7867e+03
post =
-1.8011e+03
post =
-1.8072e+03
post =
-1.8160e+03
post =
-1.8160e+03
post =
-1.8160e+03
post =
-1.8160e+03
post =
-1.8160e+03
post =
-1.8160e+03
post =
-1.8160e+03
post =
-1.8160e+03
post =
-1.8160e+03
post =
-1.8160e+03
post =
-1.8160e+03
post =
-1.8160e+03
post =
-1.8160e+03
post =
-1.8160e+03
post =
-1.8160e+03
post =
-1.8160e+03
post =
-1.8160e+03
post =
1.0834e+06
post =
-1.8160e+03
post =
-1.8160e+03
post =
-1.8160e+03
post =
-1.8160e+03
post =
-1.8160e+03
post =
-1.8160e+03
post =
-1.8160e+03
post =
-1.8160e+03
post =
-1.8160e+03
post =
-1.8160e+03
post =
-1.8160e+03
post =
-1.8160e+03
post =
-1.8160e+03
post =
-1.8160e+03
post =
-1.8160e+03
post =
-1.8160e+03
post =
-1.8160e+03
post =
1.6851e+04
post =
-1.7389e+03
post =
-1.7972e+03
post =
-1.8073e+03
post =
-1.8154e+03
post =
-1.8143e+03
post =
-1.8161e+03
post =
-1.8161e+03
post =
-1.8161e+03
post =
-1.8161e+03
post =
-1.8161e+03
post =
-1.8161e+03
post =
-1.8161e+03
post =
-1.8161e+03
post =
-1.8161e+03
post =
-1.8161e+03
post =
-1.8161e+03
post =
-1.8161e+03
post =
-1.8161e+03
post =
-1.8161e+03
post =
-1.8161e+03
post =
-1.8161e+03
post =
-1.8161e+03
post =
-998.1494
post =
-1.8161e+03
post =
-1.8161e+03
post =
-1.8161e+03
post =
-1.8161e+03
post =
-1.8161e+03
post =
-1.8161e+03
post =
-1.8161e+03
post =
-1.8161e+03
post =
-1.8161e+03
post =
-1.8161e+03
post =
-1.8161e+03
post =
-1.8161e+03
post =
-1.8161e+03
post =
-1.8161e+03
post =
-1.8161e+03
post =
-1.8161e+03
post =
-1.8161e+03
post =
-1.7876e+03
post =
-1.8036e+03
post =
-1.8085e+03
post =
-1.8105e+03
post =
-1.8175e+03
post =
-1.8175e+03
post =
-1.8175e+03
post =
-1.8175e+03
post =
-1.8175e+03
post =
-1.8175e+03
post =
-1.8175e+03
post =
-1.8175e+03
post =
-1.8175e+03
post =
-1.8175e+03
post =
-1.8175e+03
post =
-1.8176e+03
post =
-1.8175e+03
post =
-1.8175e+03
post =
-1.8175e+03
post =
-1.8175e+03
post =
-1.8175e+03
post =
-1.7519e+03
post =
-1.8174e+03
post =
-1.8175e+03
post =
-1.8175e+03
post =
-694.6890
post =
-1.8147e+03
post =
-1.8160e+03
post =
-1.8165e+03
post =
-1.8176e+03
post =
-1.8176e+03
post =
-1.8176e+03
post =
-1.8176e+03
post =
-1.8176e+03
post =
-1.8176e+03
post =
-1.8176e+03
post =
-1.8176e+03
post =
-1.8176e+03
post =
-1.8176e+03
post =
-1.8176e+03
post =
-1.8176e+03
post =
-1.8176e+03
post =
-1.8176e+03
post =
-1.8176e+03
post =
-1.8176e+03
post =
-1.8176e+03
post =
1.1755e+03
post =
-1.8176e+03
post =
-1.8176e+03
post =
-1.8176e+03
post =
-1.8176e+03
post =
-1.8176e+03
post =
-1.8176e+03
post =
-1.8176e+03
post =
-1.8176e+03
post =
-1.8176e+03
post =
-1.8176e+03
post =
-1.8176e+03
post =
-1.8176e+03
post =
-1.8176e+03
post =
-1.8176e+03
post =
-1.8176e+03
post =
-1.8176e+03
post =
-1.8176e+03
post =
-1.5011e+03
post =
1.0436e+04
post =
4.7937e+03
post =
2.5574e+03
post =
-1.7366e+03
post =
-1.8056e+03
post =
-1.6907e+03
post =
-1.8173e+03
post =
-1.8179e+03
post =
-1.8179e+03
post =
-1.8179e+03
post =
-1.8179e+03
post =
-1.8179e+03
post =
-1.8179e+03
post =
-1.8179e+03
post =
-1.8178e+03
post =
-1.8179e+03
post =
-1.8179e+03
post =
-1.8179e+03
post =
-1.8178e+03
post =
-1.8179e+03
post =
-1.8179e+03
post =
-1.8179e+03
post =
-1.8178e+03
post =
-1.8179e+03
post =
Inf
post =
-1.8179e+03
post =
-1.8179e+03
post =
-1.8179e+03
post =
-1.8179e+03
post =
-1.8179e+03
post =
-1.8179e+03
post =
-1.8179e+03
post =
-1.8178e+03
post =
-1.8179e+03
post =
-1.8179e+03
post =
-1.8179e+03
post =
-1.8178e+03
post =
-1.8179e+03
post =
-1.8179e+03
post =
-1.8179e+03
post =
-1.8178e+03
post =
-1.8179e+03
post =
Inf
post =
-1.5378e+03
post =
-1.7858e+03
post =
-1.8017e+03
post =
-1.8163e+03
post =
-1.8172e+03
post =
-1.8184e+03
post =
-1.8184e+03
post =
-1.8183e+03
post =
-1.8182e+03
post =
-1.8182e+03
post =
-1.8184e+03
post =
-1.8184e+03
post =
-1.8170e+03
post =
-1.8184e+03
post =
-1.8180e+03
post =
-1.8184e+03
post =
-1.8182e+03
post =
-1.8184e+03
post =
-1.8185e+03
post =
-1.8192e+03
post =
-1.8178e+03
post =
-1.8184e+03
post =
4.0518e+04
post =
-1.8184e+03
post =
-1.8184e+03
post =
-1.8184e+03
post =
-1.8183e+03
post =
-1.8182e+03
post =
-1.8182e+03
post =
-1.8184e+03
post =
-1.8184e+03
post =
-1.8172e+03
post =
-1.8184e+03
post =
-1.8181e+03
post =
-1.8184e+03
post =
-1.8183e+03
post =
-1.8184e+03
post =
-1.8185e+03
post =
-1.8191e+03
post =
-1.8179e+03
post =
-1.8184e+03
post =
5.4254e+06
post =
-1.5793e+03
post =
-1.7504e+03
post =
-1.7879e+03
post =
-1.8129e+03
post =
-1.8126e+03
post =
-1.7970e+03
post =
-1.8169e+03
post =
-1.8192e+03
post =
-1.8192e+03
post =
-1.8192e+03
post =
-1.8191e+03
post =
-1.8192e+03
post =
-1.8192e+03
post =
-1.8192e+03
post =
-1.8188e+03
post =
-1.8192e+03
post =
-1.8191e+03
post =
-1.8192e+03
post =
-1.8196e+03
post =
-1.8192e+03
post =
-1.8192e+03
post =
-1.8191e+03
post =
-1.8191e+03
post =
-1.8192e+03
post =
Inf
post =
-1.8192e+03
post =
-1.8192e+03
post =
-1.8192e+03
post =
-1.8192e+03
post =
-1.8191e+03
post =
-1.8192e+03
post =
-1.8192e+03
post =
-1.8192e+03
post =
-1.8188e+03
post =
-1.8192e+03
post =
-1.8191e+03
post =
-1.8192e+03
post =
-1.8196e+03
post =
-1.8192e+03
post =
-1.8192e+03
post =
-1.8191e+03
post =
-1.8191e+03
post =
-1.8192e+03
post =
Inf
post =
-1.7450e+03
post =
-1.8009e+03
post =
-1.8078e+03
post =
-1.8133e+03
post =
-1.8100e+03
post =
-1.5861e+03
post =
-1.8198e+03
post =
-1.8198e+03
post =
-1.8198e+03
post =
-1.8198e+03
post =
-1.8198e+03
post =
-1.8198e+03
post =
-1.8198e+03
post =
-1.8189e+03
post =
-1.8198e+03
post =
-1.8198e+03
post =
-1.8198e+03
post =
-1.8202e+03
post =
-1.8198e+03
post =
-1.8198e+03
post =
-1.8185e+03
post =
-1.8197e+03
post =
-1.8198e+03
post =
8.4674e+06
post =
-1.8200e+03
post =
-1.8200e+03
post =
-1.8200e+03
post =
-1.8200e+03
post =
-1.8200e+03
post =
-1.8200e+03
post =
-1.8200e+03
post =
-1.8188e+03
post =
-1.8200e+03
post =
-1.8200e+03
post =
-1.8200e+03
post =
-1.8194e+03
post =
-1.8200e+03
post =
-1.8199e+03
post =
-1.8177e+03
post =
-1.8198e+03
post =
-1.8199e+03
post =
4.2968e+06
post =
-1.6588e+03
post =
-1.7875e+03
post =
-1.8040e+03
post =
-1.7983e+03
post =
-1.7902e+03
post =
-1.7499e+03
post =
-1.7600e+03
post =
-1.8192e+03
post =
-1.8199e+03
post =
-1.8199e+03
post =
-1.8199e+03
post =
-1.8200e+03
post =
-1.8200e+03
post =
-1.8200e+03
post =
-1.8200e+03
post =
-1.8200e+03
post =
-1.8200e+03
post =
-1.8200e+03
post =
-1.8200e+03
post =
-1.8187e+03
post =
-1.8200e+03
post =
-1.8199e+03
post =
-1.8200e+03
post =
-1.8198e+03
post =
-1.8200e+03
post =
-1.8199e+03
post =
-1.8179e+03
post =
-1.8198e+03
post =
-1.8200e+03
post =
-196.2722
post =
-1.8200e+03
post =
-1.8200e+03
Local minimum possible. Constraints satisfied.
fmincon stopped because the size of the current step is less than the default value of the step size tolerance and constraints are satisfied to within the default value of the constraint tolerance.
Warning: Matrix is close to singular or badly scaled. Results may be inaccurate. RCOND = 2.854886e-22. > In SIGE_mode (line 70) Elapsed time is 34.493677 seconds. ########################################################## Parameters: nu gamma phiy phipi rho_g sigma_g rho_nu sigma_nu rho_gam sigma_gam delta omega lambda psi Columns 1 through 9
14.5209 17.5175 0.0015 1.0573 0.3479 0.0036 0.9840 0.0065 0.6736
Columns 10 through 16
2.1634 0.3635 25.6642 0.1385 0.2715 0.1606 0.2642
Standard errors: 1.0e+02 *
Columns 1 through 5
0.0000 - 0.4014i 0.0008 + 0.0000i 0.0000 - 0.0000i 0.0000 - 0.0028i 0.0000 - 0.0142i
Columns 6 through 10
0.0000 - 0.0000i 0.0000 - 0.0009i 0.0000 - 0.0004i 0.0000 - 0.0041i 0.0000 - 0.1642i
Columns 11 through 15
0.0000 - 0.0019i 0.0000 - 1.4482i 0.0000 - 0.0058i 0.0000 - 0.0031i 0.0000 - 0.0007i
Column 16
0.0000 - 0.0045i
Posterior: -1.8200e+03
Variance-covariance matrix: 1.0e+04 *
Columns 1 through 9
-0.1611 0.0007 0.0000 0.0011 -0.0057 0.0000 0.0004 -0.0002 -0.0016
0.0007 0.0000 -0.0000 -0.0000 0.0000 -0.0000 -0.0000 0.0000 0.0000
0.0000 -0.0000 -0.0000 -0.0000 0.0000 -0.0000 -0.0000 0.0000 0.0000
0.0011 -0.0000 -0.0000 -0.0000 0.0000 -0.0000 -0.0000 0.0000 0.0000
-0.0057 0.0000 0.0000 0.0000 -0.0002 0.0000 0.0000 -0.0000 -0.0001
0.0000 -0.0000 -0.0000 -0.0000 0.0000 -0.0000 -0.0000 0.0000 0.0000
0.0004 -0.0000 -0.0000 -0.0000 0.0000 -0.0000 -0.0000 0.0000 0.0000
-0.0002 0.0000 0.0000 0.0000 -0.0000 0.0000 0.0000 -0.0000 -0.0000
-0.0016 0.0000 0.0000 0.0000 -0.0001 0.0000 0.0000 -0.0000 -0.0000
0.0659 -0.0003 -0.0000 -0.0005 0.0023 -0.0000 -0.0001 0.0001 0.0007
-0.0008 0.0000 0.0000 0.0000 -0.0000 0.0000 0.0000 -0.0000 -0.0000
-0.5815 0.0023 0.0001 0.0040 -0.0207 0.0000 0.0013 -0.0006 -0.0059
0.0023 -0.0000 -0.0000 -0.0000 0.0001 -0.0000 -0.0000 0.0000 0.0000
-0.0013 0.0000 0.0000 0.0000 -0.0000 0.0000 0.0000 -0.0000 -0.0000
-0.0003 0.0000 0.0000 0.0000 -0.0000 0.0000 0.0000 -0.0000 -0.0000
0.0018 -0.0000 -0.0000 -0.0000 0.0001 -0.0000 -0.0000 0.0000 0.0000
Columns 10 through 16
0.0659 -0.0008 -0.5815 0.0023 -0.0013 -0.0003 0.0018
-0.0003 0.0000 0.0023 -0.0000 0.0000 0.0000 -0.0000
-0.0000 0.0000 0.0001 -0.0000 0.0000 0.0000 -0.0000
-0.0005 0.0000 0.0040 -0.0000 0.0000 0.0000 -0.0000
0.0023 -0.0000 -0.0207 0.0001 -0.0000 -0.0000 0.0001
-0.0000 0.0000 0.0000 -0.0000 0.0000 0.0000 -0.0000
-0.0001 0.0000 0.0013 -0.0000 0.0000 0.0000 -0.0000
0.0001 -0.0000 -0.0006 0.0000 -0.0000 -0.0000 0.0000
0.0007 -0.0000 -0.0059 0.0000 -0.0000 -0.0000 0.0000
-0.0270 0.0003 0.2379 -0.0010 0.0005 0.0001 -0.0007
0.0003 -0.0000 -0.0028 0.0000 -0.0000 -0.0000 0.0000
0.2379 -0.0028 -2.0973 0.0084 -0.0045 -0.0012 0.0065
-0.0010 0.0000 0.0084 -0.0000 0.0000 0.0000 -0.0000
0.0005 -0.0000 -0.0045 0.0000 -0.0000 -0.0000 0.0000
0.0001 -0.0000 -0.0012 0.0000 -0.0000 -0.0000 0.0000
-0.0007 0.0000 0.0065 -0.0000 0.0000 0.0000 -0.0000
########################################################## Error using mvnrnd (line 110) SIGMA must be a symmetric positive semi-definite matrix.
Error in SIGE_mode (line 85) VARCOV=ImposeSymmetry(VARCOV); mvnrnd(x0,VARCOV); %imposing symmetry
>>
Walter Roberson
on 20 Jan 2018
The code in SIGEv.m fails if N > T. I traced the source of N and T back to SIGE_mode where N is assigned in the line you indicate and T is assigned a few lines earlier as the number of rows of data read in.
More Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!An Error Occurred
Unable to complete the action because of changes made to the page. Reload the page to see its updated state.
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom(English)
Asia Pacific
- Australia (English)
- India (English)
- New Zealand (English)
- 中国
- 日本Japanese (日本語)
- 한국Korean (한국어)