From: sujata panday on

It appears that matlab mnrfit function automatically omits
the constant term when ordinal data is chosen.

"sujata panday" <sujatagp(a)gmail.com> wrote in message
<g38gkd$e7e$1(a)fred.mathworks.com>...
> Hi,
>
> I want to estimate an ordered probit model in matlab. I
> have three categories so the dependent variable is not
> simply binary. I think the function mnrfit is the right
one
> for it. But I do not want it to include an intercept term
> which it automatically does. The glmfit function allows
one
> to disable the constant term. Is it possible to do
> something like this too for the mnrfit function?
>
> Or are there other functions within Matlab that i can use
> to estimate an ordered probit model.
>
> Regards
> Sujata

From: Ketan on
I was trying to use mnrfit for my problem but I am getting
the following error:

====ERROR====
??? Error using ===> mnrfit
Inputs to mnrfit must be floats, namely single or double.

Error in ==> mnrfit at 125
dataClass = superiorfloat(x,y);
====ERROR====

My variable x is double. I tried casting it as single using
x=single(x); command, Still I am getting this error.

Any help will be much appreciated.

Regards,
Ketan