Categoricals: Provide separate functions for effects and dummy coding. 20121107030502/pspp 20121108030503/pspp
authorJohn Darrington <john@darrington.wattle.id.au>
Tue, 6 Nov 2012 19:50:33 +0000 (20:50 +0100)
committerJohn Darrington <john@darrington.wattle.id.au>
Tue, 6 Nov 2012 19:50:33 +0000 (20:50 +0100)
commit12140b59f70771295af36404296219cba9f3f6bc
tree503715e5b1fd4f0495b74daaee0e72dd40b86060
parent372c46a3648de939ec3224cc94ad944aa39623ae
Categoricals: Provide separate functions for effects and dummy coding.

Until now, the function categoricals_get_code_for_case returned the
"effects" coding (ie, a bipolar code).  Some uses require "dummy" coding
(a binary coding).  This change provides seperate functions to return
whatever is desired.

Conflicts:

src/language/stats/logistic.c
src/math/categoricals.c
src/math/categoricals.h
src/math/covariance.c