RF/UT: fix testing of geststart
RF/UT: fix testing of geststart

The slightly different numerical values for testing of the geststart routine
have been changed to their current values. we assume that this changed, when the
gridsearch changed. We checked the current values and they have smaller deviance
and thus are better estimates for this dataset:

from pypsignifit import *
import swignifit.swignifit_raw as sfr
import swignifit.interface_methods as sfi
import swignifit.utility as sfu
x = [0., 2., 4., 6., 8., 10.]
x = [0., 2., 4., 6., 8., 10.]
k = [3, 10, 34, 45, 50, 50]
n = [50]*6
priors = [None, None, 'Uniform(0., 0.1)', 'Uniform(0., 0.1)']
data, pmf, nparam = sfu.make_dataset_and_pmf(zip(x, k, n), 1, 'logistic', 'abCore', priors)
start = sfr.getstart(pmf,data, 7, 3, 3)
start
p1 = (3.3333333333333339, 1.037037037037037, 0.001851851851851845, 0.016666666666666659)
p2 = (3.49558, 0.898865, 0.0055556, 0.0444444)
print 'deviance param new:', sfi.diagnostics(zip(x,k,n), p1, nafc=1)[2]
print 'deviance param old:', sfi.diagnostics(zip(x,k,n), p2, nafc=1)[2]

results are:

zsh» python foo.py
deviance param new: 2.53081108186
deviance param old: 3.18684715386

esc/Psignifit-3.x,esc/Psignifit-3.x,esc/Psignifit-3.x,esc/Psignifit-3.x,esc/Psignifit-3.x,esc/Psignifit-3.x