Regression analysis apparatus and method
AssigneeCanon Kabushiki Kaisha
InventorTeruyoshi Washizawa
Life of this patent
Estimating the term…
Abstract
A variance-covariance matrix of a matrix having a combination of multivariate data and objective variables is obtained, and multiple eigenvalues and their corresponding eigenvectors are calculated by eigenvalue decomposition of the variance-covariance matrix. Accumulated contributions are calculated from the multiple eigenvalues in descending order of absolute value of the eigenvalues. Regression coefficients are calculated from eigenvalues and eigenvectors that correspond to accumulated contributions that exceed a predetermined value.
Claims8
A regression analysis method for obtaining an objective variable from multivariate data by performing, with a computer program stored in a computer readable medium, for controlling a computer, multiple linear regression analysis to obtain regression coefficient, comprising:
- a first input step of inputting a combination of the objective variable and the multivariate data;
- an obtaining step of obtaining a variance-covariance matrix having the combination of the multivariate data and the objective variable;
- a vector calculation step of calculating a plurality of eigenvalues and corresponding eigenvectors by eigenvalue decomposition of the variance-covariance matrix;
- an accumulated contributions calculation step of calculating accumulated contributions from the plurality of eigenvalues in descending order of absolute value of the plurality of eigenvalues;
- a regression coefficients calculation step of calculating regression coefficients from the eigenvalues and eigenvectors corresponding to the accumulated contributions that exceed a predetermined value;
- a second input step of inputting multivariate data that is not used in said regression coefficients calculation step;
- a calculation step of calculating, by the computer, the objective variable with respect to the multivariate data input in said second input step by using the regression coefficients calculated in said regression coefficients calculation step;
- and
- an output step of outputting the objective variable calculated in said calculation step.
A computer program stored in a computer readable medium, for controlling a computer to determine a regression coefficient by multiple linear regression analysis for obtaining an objective variable from multivariate data, the program comprising code for implementing the following steps:
- a first input step of inputting a combination of the objective variable and the multivariate data;
- an obtaining step of obtaining a variance-covariance matrix having a combination of the multivariate data and the objective variable;
- a vector calculation step of calculating a plurality of eigenvalues and corresponding eigenvectors by eigenvalue decomposition of the variance-covariance matrix;
- an accumulated contributions calculation step of calculating accumulated contributions from the plurality of eigenvalues in descending order of absolute value of the plurality of eigenvalues;
- a regression coefficients calculation step of calculating regression coefficients from the eigenvalues and eigenvectors corresponding to the accumulated contributions that exceed a predetermined value;
- a second input step of inputting multivariate data that is not used in said regression coefficients calculation step;
- a calculation step of calculating the objective variable with respect to the multivariate data input in said second input step by using the regression coefficients calculated in said regression coefficients calculation step;
- and
- an output step of outputting the objective variable calculated in said calculation step.
A regression analysis method for obtaining a height of a person as an objective variable from multivariate data including weights of a plurality of persons by performing, with a computer program stored in a computer readable medium, for controlling a computer, multiple linear regression analysis to obtain a regression coefficient, comprising:
- a first input step of inputting a combination of the objective variable and the multivariate data;
- an obtaining step of obtaining a variance-covariance matrix having the combination of the multivariate data and the objective variable;
- a vector calculation step of calculating a plurality of eigenvalues and corresponding eigenvectors by eigenvalue decomposition of the variance-covariance matrix;
- an accumulated contributions calculation step of calculating accumulated contributions from the plurality of eigenvalues in descending order of absolute value of the plurality of eigenvalues;
- a regression coefficients calculation step of calculating regression coefficients from the eigenvalues and eigenvectors corresponding to the accumulated contributions that exceed a predetermined value;
- a second input step of inputting a weight of a person;
- a calculation step of calculating, by the computer, a height of the person whose weight was inputted in the second input step by using the regression coefficients calculated in said regression coefficients calculation step;
- and
- an output step of outputting the height calculated in said calculation step.
Dependencies are inferred from the claim text.