QScript LinearRegressionCrosstab

From Q
Jump to navigation Jump to search

LinearRegressionCrosstab

Runs multiple linear regressions with the same input dependent question, independent questions and weight, but with different filters. Each filter is the result of combining the input filters and a crosstab filter. The crosstab filters correspond to categories of the crosstab question if it is a Pick One question, or variables if it is a Pick Any question, or periods if it is a Date question. See QScript LinearRegression for more information on linear regression objects.

betas

Gets a matrix of the Betas for each cell in the crosstab.

betasCorrectedPValues

Gets a matrix of the Betas corrected p-values for each cell in the crosstab.

betasNormalized

Gets a matrix of the normalized Betas for each cell in the crosstab.

betasPValues

Gets a matrix of the Betas p-values for each cell in the crosstab.

betasStandardErrors

Gets a matrix of the Betas standard errors for each cell in the crosstab.

betasTStatistics

Gets a matrix of the Betas t-statistics for each cell in the crosstab.

betasZStatistics

Gets a matrix of the Betas z-statistics for each cell in the crosstab.

contributions

Gets a matrix of the independent variable contributions for each cell in the crosstab. See Importance and Contribution.

contributionsRaw

Gets a matrix of the unnormalized contributions for each cell in the crosstab.

contributionsRawCorrectedPValues

Gets a matrix of the unnormalized contributions corrected p-values for each cell in the crosstab.

contributionsRawPValues

Gets a matrix of the unnormalized contributions p-values for each cell in the crosstab.

contributionsRawSigned

Gets a matrix of the signed unnormalized contributions for each cell in the crosstab.

contributionsRawStandardErrors

Gets a matrix of the unnormalized contributions standard errors for each cell in the crosstab.

contributionsRawTStatistics

Gets a matrix of the unnormalized contributions t-statistics for each cell in the crosstab.

contributionsRawZStatistics

Gets a matrix of the unnormalized contributions z-statistics for each cell in the crosstab.

elasticity

Gets a matrix of the elasticities for each cell in the crosstab.

elasticityCorrectedPValues

Gets a matrix of the elasticities corrected p-values for each cell in the crosstab.

elasticityPValues

Gets a matrix of the elasticities p-values for each cell in the crosstab.

elasticityRSquared

Gets the R-squared of the elasticity regressions for each column in the crosstab.

elasticityStandardErrors

Gets a matrix of the elasticities standard errors for each cell in the crosstab.

elasticityTStatistics

Gets a matrix of the elasticities t-statistics for each cell in the crosstab.

elasticityZStatistics

Gets a matrix of the elasticities z-statistics for each cell in the crosstab.

failed

A read-only property containing an array of true or false. True if the corresponding data in the input questions in the linear regression is not appropriate.

failureMessages

A read-only property that contains an array of strings explaining why the corresponding data in the input questions is not appropriate. There will be a non-null string if failed is true for the corresponding data in the input questions.

importances

Gets a matrix of the independent variable importances for each cell in the crosstab. See Importance and Contribution.

independentVarCoefs

Gets a matrix of the independent variable linear regression coefficients for each cell in the crosstab.

independentVarCoefsCorrectedPValues

Gets a matrix of the independent variable linear regression coefficients corrected p-values for each cell in the crosstab.

independentVarCoefsPValues

Gets a matrix of the independent variable linear regression coefficients p-values for each cell in the crosstab.

independentVarCoefsStandardErrors

Gets a matrix of the independent variable linear regression coefficients standard errors for each cell in the crosstab.

independentVarCoefsTStatistics

Gets a matrix of the independent variable linear regression coefficients t-statistics for each cell in the crosstab.

independentVarCoefsZStatistics

Gets a matrix of the independent variable linear regression coefficients z-statistics for each cell in the crosstab.

kruskalImportance

Gets a matrix of the Kruskal Importances for each cell in the crosstab.

kruskalImportanceCorrectedPValues

Gets a matrix of the Kruskal Importances corrected p-values for each cell in the crosstab.

kruskalImportanceNormalized

Gets a matrix of the normalized Kruskal Importances for each cell in the crosstab.

kruskalImportancePValues

Gets a matrix of the Kruskal Importances p-values for each cell in the crosstab.

kruskalImportanceSigned

Gets a matrix of the signed Kruskal Importances for each cell in the crosstab.

kruskalImportanceStandardErrors

Gets a matrix of the Kruskal Importances standard errors for each cell in the crosstab.

kruskalImportanceTStatistics

Gets a matrix of the Kruskal Importances t-statistics for each cell in the crosstab.

kruskalImportanceZStatistics

Gets a matrix of the Kruskal Importances z-statistics for each cell in the crosstab.

labels

A readonly property that returns an array of labels corresponding to the filters used to create the regressions array.
Example:
log(lin_reg_crosstab.labels);

relativeImportance

Gets a matrix of the Relative Importances for each cell in the crosstab.

relativeImportanceCorrectedPValues

Gets a matrix of the Relative Importances corrected p-values for each cell in the crosstab.

relativeImportanceNormalized

Gets a matrix of the normalized Relative Importances for each cell in the crosstab.

relativeImportancePValues

Gets a matrix of the Relative Importances p-values for each cell in the crosstab.

relativeImportanceSigned

Gets a matrix of the signed Relative Importances for each cell in the crosstab.

relativeImportanceStandardErrors

Gets a matrix of the Relative Importances standard errors for each cell in the crosstab.

relativeImportanceTStatistics

Gets a matrix of the Relative Importances t-statistics for each cell in the crosstab.

relativeImportanceZStatistics

Gets a matrix of the Relative Importances z-statistics for each cell in the crosstab.

rSquared

Gets the R-squared of the regressions for each column in the crosstab.

shapleyImportance

Gets a matrix of the Shapley Importances for each cell in the crosstab.

shapleyImportanceCorrectedPValues

Gets a matrix of the Shapley Importances corrected p-values for each cell in the crosstab.

shapleyImportanceNormalized

Gets a matrix of the normalized Shapley Importances for each cell in the crosstab.

shapleyImportancePValues

Gets a matrix of the Shapley Importances p-values for each cell in the crosstab.

shapleyImportanceSigned

Gets a matrix of the signed Shapley Importances for each cell in the crosstab.

shapleyImportanceStandardErrors

Gets a matrix of the Shapley Importances standard errors for each cell in the crosstab.

shapleyImportanceTStatistics

Gets a matrix of the Shapley Importances t-statistics for each cell in the crosstab.

shapleyImportanceZStatistics

Gets a matrix of the Shapley Importances z-statistics for each cell in the crosstab.

type

Returns 'LinearRegressionCrosstab'.

See also

Further reading: Key Driver Analysis Software