n> (any(size(wdata) ~= [n 1])); error(<span class="string">'weights must be n*1 column vector'</span>); <span class="keyword">end</span>;
0302     <span class="keyword">end</span>
0303     <span class="keyword">if</span> (strcmp(varargin{na},<span class="string">'cens'</span>))
0304         cdata = double(varargin{na+1});
0305         inc = 2;
0306         <span class="keyword">if</span> (any(size(cdata) ~= [n 1])); error(<span class="string">'cens must be n*1 column vector'</span>); <span class="keywo