Dimension Reduction - Diagnostic - Quality Table

From Q
Jump to navigation Jump to search


Computes measures of the quality of a correspondence analysis of a table.

Example

The table below shows that the first 2 dimensions of a correspondence analysis represent most brands very well, with the exception of Diet Coke.

Technical details

The percentages across the top of the table show the proportion of variance explained by each dimension.

The row labels show the quality score for each row and column category. That is, the proportion of variance explained by the first two dimensions for each row and column category.

The cells of the table show breakdown of the quality score by dimension. The first two columns sum to the quality score.

Code

var __webpack_modules__ = ({});
// The module cache
var __webpack_module_cache__ = {};

// The require function
function __webpack_require__(moduleId) {

// Check if module is in cache
var cachedModule = __webpack_module_cache__[moduleId];
if (cachedModule !== undefined) {
return cachedModule.exports;
}
// Create a new module (and put it into the cache)
var module = (__webpack_module_cache__[moduleId] = {
exports: {}
});
// Execute the module function
__webpack_modules__[moduleId](module, module.exports, __webpack_require__);

// Return the exports of the module
return module.exports;

}

// webpack/runtime/rspack_version
(() => {
__webpack_require__.rv = () => ("1.7.2")
})();
// webpack/runtime/rspack_unique_id
(() => {
__webpack_require__.ruid = "bundler=rspack@1.7.2";
})();
includeWeb("QScript R Output Functions");

const menu_location = "Dimension Reduction > Diagnostic > Quality Table";
createDiagnosticROutputFromSelection(menu_location);