Path: news.mathworks.com!not-for-mail
From: "Ketan " <useless.id@gmail.com>
Newsgroups: comp.soft-sys.matlab
Subject: Re: ordered probit model
Date: Fri, 20 Jun 2008 21:20:18 +0000 (UTC)
Organization: ABB Corporate Research Ltd
Lines: 19
Message-ID: <g3h6ui$553$1@fred.mathworks.com>
References: <g38gkd$e7e$1@fred.mathworks.com> <g3brna$ha3$1@fred.mathworks.com>
Reply-To: "Ketan " <useless.id@gmail.com>
NNTP-Posting-Host: webapp-05-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1213996818 5283 172.30.248.35 (20 Jun 2008 21:20:18 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Fri, 20 Jun 2008 21:20:18 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 926436
Xref: news.mathworks.com comp.soft-sys.matlab:475079



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