function yhat=cond_fit(beta,x)
%CPCOR_FIT - function to calculate new cpcor

% $Revision: 1.0 $
% $Date: 2008/10/29 9:48:49 $
b1=beta(1);
b2=beta(2);
b3=beta(3);
b4=beta(4);
c=x(:,1);
p=x(:,2);
sta=x(:,3);
yhat=(b1*c)+b2*sta+b3+b4*p;