#! /bin/csh -f
limit stacksize 2000

foreach j (a b)
	~/bin/vcv -t clt.new.Edi.$j -A <Edi.feats.$j
end

echo ===FULL COVAR MAXLIK 30================================================== >>&TTT.list
rm -f classtemp
foreach j (a b)
    if ($j == a) then
	set y = b
    else
	set y = a
    endif
	rearexpt -c clt.new.Edi.$y <Edi.feats.$j >>classtemp
end
errorrate <classtemp>>&TTT.list

echo ===ZERO COVAR MAXLIK 30================================================== >>&TTT.list
rm -f classtemp
foreach j (a b)
    if ($j == a) then
	set y = b
    else
	set y = a
    endif
	rearexpt clt.new.Edi.$y <Edi.feats.$j >>classtemp
end
errorrate <classtemp>>&TTT.list


foreach j (a b)
	~/bin/vcv -t clt.new.Edi.$j -C 16  1  3  5  6  9 10 11 12 13 17 19 20 21 22 23 25 <Edi.feats.$j
end

echo ===FULL COVAR MAXLIK 16================================================== >>&TTT.list
rm -f classtemp
foreach j (a b)
    if ($j == a) then
	set y = b
    else
	set y = a
    endif
	rearexpt -c clt.new.Edi.$y <Edi.feats.$j >>classtemp
end
errorrate <classtemp>>&TTT.list

echo ===ZERO COVAR MAXLIK 16================================================== >>&TTT.list
rm -f classtemp
foreach j (a b)
    if ($j == a) then
	set y = b
    else
	set y = a
    endif
	rearexpt clt.new.Edi.$y <Edi.feats.$j >>classtemp
end
errorrate <classtemp>>&TTT.list



