Matlab equivalent for R's "qlogis"? -



Matlab equivalent for R's "qlogis"? -

i transcribing r code matlab.

l = qlogis(p)

i looked up, , it's "quantile of logistic distribution" corresponding probability. know how can in matlab? have been looking @ help icdf thought might similar, can't find logistic in it.

i have statistics toolbox.

r2012a

from documentation on local install of version, there no built-in back upwards logistic distribution statistics toolbox. however, not beingness hardcore statistician , having trust wikipedia, can create quick inline function quantile:

qlogis = @(p,mu,sigma) mu + sigma * log(p./(1-p));

r2013a+

from version onward, pass name of supported distribution icdf argument:

mu = 0; sigma = 1; q = icdf('logistic',mu,sigma);

current documentation.

r matlab

Comments

Popular posts from this blog

Delphi change the assembly code of a running process -

json - Hibernate and Jackson (java.lang.IllegalStateException: Cannot call sendError() after the response has been committed) -

C++ 11 "class" keyword -