MyRegression

버전 2.0.0.0 (16.6 KB) 작성자: Giuseppe Cardillo
A simple function on LS linear regression with many informative outputs
다운로드 수: 7.4K
업데이트 날짜: 2018/4/5

This function computes a least-square linear regression suppling several output information.
Syntax: myregr(x,y)

Inputs:
X - Array of the independent variable
Y - Dependent variable. If Y is a matrix, the i-th Y row is a
repeated measure of i-th X point. The mean value will be used
verbose - Flag to display all information (default=1)
Outputs:
- Slope with standard error an 95% C.I.
- Intercept with standard error an 95% C.I.
- Pearson's Correlation coefficient with 95% C.I. and its
adjusted form (depending on the elements of X and Y arrays)
- Spearman's Correlation coefficient
- Regression Standard Error
- Total Variability
- Variability due to regression
- Residual Variability
- Student's t-Test on Slope (to check if slope=0)
- Student's t-Test on Intercept (to check if intercept=0)
- Modified Levene's test for homoschedasticity of residuals
- Power of the regression
- Deming's regeression
- a plot with:
o Data points
o Least squares regression line
o Red dotted lines: 95% Confidence interval of regression
o Green dotted lines: 95% Confidence interval of new y
evaluation using this regression.
- Residuals plot

SEE also myregrinv, myregrcomp

Created by Giuseppe Cardillo
giuseppe.cardillo-edta@poste.it

To cite this file, this would be an appropriate format: Cardillo G. (2007) MyRegression: a simple function on LS linear regression with many informative outputs. http://www.mathworks.com/matlabcentral/fileexchange/15473

인용 양식

Giuseppe Cardillo (2024). MyRegression (https://github.com/dnafinder/myregr), GitHub. 검색됨 .

MATLAB 릴리스 호환 정보
개발 환경: R2014b
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
도움

받음: powerStudent

줌: myregrinv

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

GitHub 디폴트 브랜치를 사용하는 버전은 다운로드할 수 없음

버전 게시됨 릴리스 정보
2.0.0.0

inputparser; table implementation; github link

1.8.0.0

Deming's regression added

1.7.0.0

fixed a bug in plot computation

1.6.0.0

The modified Levene's test for homoschedasticity of residuals and residuals plot were added

1.5.0.0

Now Y can be a matrix of repeated measures

1.4.0.0

change in description

1.3.0.0

To compute power, Myregr requires powerStudent by Trujillo-Ortiz, A. and R. Hernandez-Walls. If this function is not present on the computer, Sandler try to download it from FEX

1.2.0.0

Changes in description

1.1.0.0

Changes in help section

1.0.0.0

Added PowerStudent to compute the power of t-Student tests on regression parameters.

이 GitHub 애드온의 문제를 보거나 보고하려면 GitHub 리포지토리로 가십시오.
이 GitHub 애드온의 문제를 보거나 보고하려면 GitHub 리포지토리로 가십시오.