Ttest2e and Release Notes Model Exporter Version 3 2: Difference between pages

From Eigenvector Research Documentation Wiki
(Difference between pages)
Jump to navigation Jump to search
imported>Jeremy
(Importing text file)
 
imported>Jeremy
(Created page with "Version 3.2 of Model_Exporter was released in June, 2015. For general product information, see Model_Exporter_User_Guide. ==NEW FEATURES / FIXES== * Add support for non-...")
 
Line 1: Line 1:
Version 3.2 of Model_Exporter was released in June, 2015. For general product information, see [[Model_Exporter_User_Guide]].


===Purpose===
==NEW FEATURES / FIXES==


Two sample t-test (assuming equal variance).
* Add support for non-negative least squares CLS models IF outputting to m-file format (requires function be enabled as sub-functions are added to accomplish the NNLS calculation)
* Add support for approximate nearest neighbor distance via distancemetric option. This is an approximation of the NN distance, but is NOT exact.
* Add support for application of most preprocessing methods to MATRICES
** Allows use of PLS, PCR, PCA, CLS, and PLSDA on x-block of MATRICES (not just vectors) with basically all supported preprocessing methods
* Add basic support for arithmetic on X-block (only - undo on y-block not supported)
* Change "prob" to "probs" in SVMDA so it matches PLSDA outputs
* Fix bug where placeholder variables were not removed from data if SavGol preprocessing was the one and only preprocessing method
* Fix bug which would lead to indexing error in SavGol preprocessing if variables at the END of the spectrum are excluded


===Synopsis===
===Model Interpreter===


:result = ttest2e(x,y,''test'')
* Allow input of matrix instead of just vectors (some methods support applying to matrix)
 
* Force numeric conversion to be done expecting period as decimal separator (resolves problems interpreting models on systems set to other numeric formats like in France)
===Description===
* Move math steps into new MEMath object (simplifies code - exposes mathematical operations to caller)
 
Calculates a two sample t-test for samples (x) and (y) assuming equal variance.
 
====INPUTS====
 
* '''x''' = matrix (column vector) in which the sample data is stored.
 
* '''y''' = matrix (column vector) in which the sample data is stored.
 
* '''ttest''' = [-1,{0},1] indicates what ttest is for:
 
*  '''-1''' - lower tail  H0: mean(x) <= mean(y)
 
*   '''0''' - wo-tail    H0: mean(x) \~= mean(y) {default}
 
*    '''1''' - upper tail  H0: mean(x) >= mean(y)
 
====OUTPUTS====
 
The output (result) a structure with the following fields:
 
* '''t''' = test statistic.
 
* '''p''' = probability value
 
* '''mean1''' = mean of x
 
* '''mean2''' = mean of y
 
* '''var1''' = variance of x
 
* '''var2''' = variance of y
 
* '''n1''' =  length of x
 
* '''n2''' =  length of y
 
* '''pse''' = pooled standard error
 
* '''df''' = degress of freedom
 
* '''hyp''' =  hypothesis being tested
 
===Examples===
 
result = ttest2e(x,y);
 
result = ttest2e(x,y,test);
 
===See Also===
 
[[ttest1]], [[ttest2u]], [[ttest2p]]

Revision as of 15:49, 15 June 2015

Version 3.2 of Model_Exporter was released in June, 2015. For general product information, see Model_Exporter_User_Guide.

NEW FEATURES / FIXES

  • Add support for non-negative least squares CLS models IF outputting to m-file format (requires function be enabled as sub-functions are added to accomplish the NNLS calculation)
  • Add support for approximate nearest neighbor distance via distancemetric option. This is an approximation of the NN distance, but is NOT exact.
  • Add support for application of most preprocessing methods to MATRICES
    • Allows use of PLS, PCR, PCA, CLS, and PLSDA on x-block of MATRICES (not just vectors) with basically all supported preprocessing methods
  • Add basic support for arithmetic on X-block (only - undo on y-block not supported)
  • Change "prob" to "probs" in SVMDA so it matches PLSDA outputs
  • Fix bug where placeholder variables were not removed from data if SavGol preprocessing was the one and only preprocessing method
  • Fix bug which would lead to indexing error in SavGol preprocessing if variables at the END of the spectrum are excluded


Model Interpreter

  • Allow input of matrix instead of just vectors (some methods support applying to matrix)
  • Force numeric conversion to be done expecting period as decimal separator (resolves problems interpreting models on systems set to other numeric formats like in France)
  • Move math steps into new MEMath object (simplifies code - exposes mathematical operations to caller)