Cytospecreadr and Faq more info on R Squared statistic: Difference between pages

From Eigenvector Research Documentation Wiki
(Difference between pages)
Jump to navigation Jump to search
imported>Benjamin
(Created page with "===Purpose=== Reads CytoSpec .cyt files. :Note: This importer is available in PLS_Toolbox/Solo Versions 8.6 and newer. ===Synopsis=== :out = cytospecreadr(file); ====Input...")
 
imported>Lyle
No edit summary
 
Line 1: Line 1:
===Purpose===
===Issue:===


Reads CytoSpec .cyt files.
Can you give me more information on the R-Squared statistic?
:Note: This importer is available in PLS_Toolbox/Solo Versions 8.6 and newer.


===Synopsis===
===Possible Solutions:===


:out = cytospecreadr(file);
R-Squared (R<sup>2</sup>) is an assessment of how well the model does the prediction (it is similar to RMSEC except that it doesn't show if there is a bias).


====Inputs====
You can access the R<sup>2</sup> by right-clicking on a scores plot of predicted vs. measured. It is one of the items which show up in the information box ("Show on figure" puts it on the figure).
* '''file''' = One of the following identifications of files to read:
:* A single string identifying the file to read
:: ('example')
:* A single element cell array containing a strings name of a file to read
:: ({‘example’})
:* An empty array indicating that the user should be prompted to locate the file(s) to read
:: ([])


====Outputs====
Note: in other software, R<sup>2</sup> is for the MODELED data only. In PLS_Toolbox we calculate it for the DISPLAYED data. That means that if you show excluded data, or if you show predicted/test data with calibration data ("Show Cal with Test") the R<sup>2</sup> will be for what is shown and will be different from the calibration data. Turn off the "Show Cal with Test" checkbox on the Plot Controls window to view the R<sup>2</sup> for only the test data.  
* '''out''' = A DataSet object containing the imported data.  


===See Also===
R<sup>2</sup> is calculated as the square of the correlation coefficient between the X and Y axes plotted in the figure. If the only data shown is the estimation of the calibration Y data vs. the actual calibration Y data, this is nearly the same as the standard R<sup>2</sup> for a model as defined by, e.g. Martens and Naes.


[[Data Importing Formats]], [[hjyreadr]], [[aqualogreadr]], [[jascoeemreadr]], [[jcampreadr]],
 
[[spcreadr]], [[writespc]], [[xclreadr]]
'''Still having problems? Please contact our helpdesk at [mailto:helpdesk@eigenvector.com helpdesk@eigenvector.com]'''
 
[[Category:FAQ]]

Latest revision as of 13:23, 2 January 2019

Issue:

Can you give me more information on the R-Squared statistic?

Possible Solutions:

R-Squared (R2) is an assessment of how well the model does the prediction (it is similar to RMSEC except that it doesn't show if there is a bias).

You can access the R2 by right-clicking on a scores plot of predicted vs. measured. It is one of the items which show up in the information box ("Show on figure" puts it on the figure).

Note: in other software, R2 is for the MODELED data only. In PLS_Toolbox we calculate it for the DISPLAYED data. That means that if you show excluded data, or if you show predicted/test data with calibration data ("Show Cal with Test") the R2 will be for what is shown and will be different from the calibration data. Turn off the "Show Cal with Test" checkbox on the Plot Controls window to view the R2 for only the test data.

R2 is calculated as the square of the correlation coefficient between the X and Y axes plotted in the figure. If the only data shown is the estimation of the calibration Y data vs. the actual calibration Y data, this is nearly the same as the standard R2 for a model as defined by, e.g. Martens and Naes.


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