Faq what are reduced T^2 and Q Statistics: Difference between revisions

From Eigenvector Research Documentation Wiki
Jump to navigation Jump to search
imported>Lyle
No edit summary
Line 16: Line 16:
  >> t2_limit = model.detail.tsqlim{1}
  >> t2_limit = model.detail.tsqlim{1}


'''Solo (and Solo variants)'''
You can use the Script Interpreter tool to access model properties.  The Script Interpreter may be found in the Workspace Browser under the "Tools" group:
[[File:ScriptInterpreter.png|full]]
As an example with a model in the workspace with the name of <code>myModel</code>, enter the following in the Script Interpret under the "Script" section:
<code>myModel.detail.reslim{1};</code>
<code>myModel.detail.tsqlim{1};</code>
[[File:ScriptInterpreterResults.png|full]]
The "Output" section will display two numerical values under the <code><result></code> tag, the first being the confidence limit for the Q residuals and the second the confidence limit Hotelling's T<sup>2</sup>.


'''Still having problems? Please contact our helpdesk at [mailto:helpdesk@eigenvector.com helpdesk@eigenvector.com]'''
'''Still having problems? Please contact our helpdesk at [mailto:helpdesk@eigenvector.com helpdesk@eigenvector.com]'''


[[Category:FAQ]]
[[Category:FAQ]]

Revision as of 15:04, 17 May 2021

Issue:

What are the "Reduced" T2 and Q Statistics?

Possible Solutions:

Hotelling's T2 (T-squared) and Q residuals (sum squared residuals) are often reported in units which are sensitive to the total number of variables in the data, and the number of components and particular preprocessing used for a model. As a result, comparison of values reported by different models, or setting a standard alarm level for all models requires normalizing the statistics.

A common way to normalize the statistics is to divide by a confidence limit calculated from each model's particular data and parameters (In PLS_Toolbox and Solo, the default confidence limit is at the 95% level.) The Reduced Q and Reduced T2 are simply the statistic divided by the corresponding confidence limit.

PLS_Toolbox

In PLS_Toolbox and Matlab, you can view the exact value used to normalize by viewing the following fields in a model:

>> q_limit = model.detail.reslim{1} 
>> t2_limit = model.detail.tsqlim{1}

Solo (and Solo variants)

You can use the Script Interpreter tool to access model properties. The Script Interpreter may be found in the Workspace Browser under the "Tools" group:

full

As an example with a model in the workspace with the name of myModel, enter the following in the Script Interpret under the "Script" section:

myModel.detail.reslim{1};

myModel.detail.tsqlim{1};

full

The "Output" section will display two numerical values under the <result> tag, the first being the confidence limit for the Q residuals and the second the confidence limit Hotelling's T2.

Still having problems? Please contact our helpdesk at helpdesk@eigenvector.com