{"action":"created","issue":{"url":"https://api.github.com/repos/jmaih/RISE_toolbox/issues/75","repository_url":"https://api.github.com/repos/jmaih/RISE_toolbox","labels_url":"https://api.github.com/repos/jmaih/RISE_toolbox/issues/75/labels{/name}","comments_url":"https://api.github.com/repos/jmaih/RISE_toolbox/issues/75/comments","events_url":"https://api.github.com/repos/jmaih/RISE_toolbox/issues/75/events","html_url":"https://github.com/jmaih/RISE_toolbox/issues/75","id":303791313,"number":75,"title":"Matlab 2017a","user":{"login":"AnasZa","id":4920490,"avatar_url":"https://avatars2.githubusercontent.com/u/4920490?v=4","gravatar_id":"","url":"https://api.github.com/users/AnasZa","html_url":"https://github.com/AnasZa","followers_url":"https://api.github.com/users/AnasZa/followers","following_url":"https://api.github.com/users/AnasZa/following{/other_user}","gists_url":"https://api.github.com/users/AnasZa/gists{/gist_id}","starred_url":"https://api.github.com/users/AnasZa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AnasZa/subscriptions","organizations_url":"https://api.github.com/users/AnasZa/orgs","repos_url":"https://api.github.com/users/AnasZa/repos","events_url":"https://api.github.com/users/AnasZa/events{/privacy}","received_events_url":"https://api.github.com/users/AnasZa/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-03-09T10:19:17Z","updated_at":"2018-03-09T15:57:24Z","closed_at":null,"author_association":"NONE","body":"Hi Junior,\r\n\r\nI switched to Matlab2017a and there is an error popping up when estimating a model in my code as well as in the examples (like for example the one of Smets and Wouters). Here is the error:  \r\n\r\n `Undefined function 'betacdf' for input arguments of type 'double'.\r\n\r\nError in distributions.beta>cumulative_density_function (line 198)\r\ncdf=betacdf((theta-c)./d,a,b);\r\n\r\nError in distributions.hyperparameter_residuals (line 26)\r\nresid=[cdfn(plb,a,b,varargin{:})-.5*alpha;\r\n\r\nError in distributions.find_hyperparameters/rich_man (line 113)\r\n        fval=objective(x,cdfn,plb,pub,prob,callingfunc,varargin{:});\r\n\r\nError in lsqnonlin (line 196)\r\n            initVals.F = feval(funfcn{3},xCurrent,varargin{:});\r\n\r\nError in distributions.find_hyperparameters (line 59)\r\n    [ab,fval,~,exitflag]=lsqnonlin(@rich_man,x0(:,iter),lb,ub,options,'lsqnonlin');\r\n\r\nError in distributions.beta (line 82)\r\n        [ab,fval,retcode]=distributions.find_hyperparameters(space,cdfn,lowerquantileORmean,upperquantileORstdev,prob,c,d);\r\n\r\nError in utils.prior.prior_setting_engine (line 51)\r\n[parray.a,parray.b,moments,ffinal]=distributions.(parray.prior_distrib)(lqtl_mean,uqtl_std,parray.prior_prob);\r\n\r\nError in generic/setup_priors/do_one_typical (line 251)\r\n        priors=utils.prior.prior_setting_engine(priors,block,est_id,prior_trunc);\r\n\r\nError in generic/setup_priors (line 157)\r\n        do_one_typical()\r\n\r\nError in format_parameters (line 53)\r\nobj=setup_priors(obj,ParameterizationArray.Priors,ParameterizationArray.error_control);\r\n\r\nError in dsge (line 395)\r\n            obj=format_parameters(obj,dictionary.Parameterization_block);\r\n\r\nError in rise (line 64)\r\n            obj=obj@dsge(varargin{:});\r\n\r\nError in howto (line 16)\r\nsw=rise('usmodel','data',data,...\r\n\r\nCaused by:\r\n    Failure in initial objective function evaluation. LSQNONLIN cannot continue.`\r\n\r\nCould you help me please?\r\n"},"comment":{"url":"https://api.github.com/repos/jmaih/RISE_toolbox/issues/comments/371853766","html_url":"https://github.com/jmaih/RISE_toolbox/issues/75#issuecomment-371853766","issue_url":"https://api.github.com/repos/jmaih/RISE_toolbox/issues/75","id":371853766,"user":{"login":"AnasZa","id":4920490,"avatar_url":"https://avatars2.githubusercontent.com/u/4920490?v=4","gravatar_id":"","url":"https://api.github.com/users/AnasZa","html_url":"https://github.com/AnasZa","followers_url":"https://api.github.com/users/AnasZa/followers","following_url":"https://api.github.com/users/AnasZa/following{/other_user}","gists_url":"https://api.github.com/users/AnasZa/gists{/gist_id}","starred_url":"https://api.github.com/users/AnasZa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AnasZa/subscriptions","organizations_url":"https://api.github.com/users/AnasZa/orgs","repos_url":"https://api.github.com/users/AnasZa/repos","events_url":"https://api.github.com/users/AnasZa/events{/privacy}","received_events_url":"https://api.github.com/users/AnasZa/received_events","type":"User","site_admin":false},"created_at":"2018-03-09T15:57:24Z","updated_at":"2018-03-09T15:57:24Z","author_association":"NONE","body":"Sure,\r\nAs I mentioned for as example when running ...RISE_toolbox-master\\examples\\VariousModels\\SmetsWouters, the rerror pops up:\r\n``"}}
{"actor":{"display_login":"AnasZa"}}