PEATDB/Ekin/ModelDesign.py
def findBestModel(self, models, callback=None):
        """Determine best fit model using SS F-test"""
        dset = self.datasets[self.dsindex]
        ek = self.E.getDataset(dset)
        fitdata,p = Fitting.findBestModel(ek, models=models, silent=True)
        best = fitdata['model']
        text = 'Best model is %s with p value=%2.2e' %(best,p)
        tkMessageBox.showinfo('Best fit model result',text)
        return
Determine best fit model using SS F-test
Determine best fit model using SS F-test
Determine best fit model using SS F - test
def findBestModel(self, models, callback=None):
        dset = self.datasets[self.dsindex]
        ek = self.E.getDataset(dset)
        fitdata,p = Fitting.findBestModel(ek, models=models, silent=True)
        best = fitdata['model']
        text = 'Best model is %s with p value=%2.2e' %(best,p)
        tkMessageBox.showinfo('Best fit model result',text)
        return
def findBestModel ( self , models , callback = None ) : dset = self . datasets [ self . dsindex ] ek = self . E . getDataset ( dset ) fitdata , p = Fitting . findBestModel ( ek , models = models , silent = True ) best = fitdata [ 'model' ] text = 'Best model is %s with p value=%2.2e' % ( best , p ) tkMessageBox . showinfo ( 'Best fit model result' , text ) return
Determine best fit model using SS F-test
Determine best fit model using SS F - test
"""Determine best fit model using SS F-test"""
self
models
callback