TSTAT3

버전 1.0.0.0 (2.93 KB) 작성자: Star Strider
TSTAT3 computes: one- or two-sided t-probability, or the one-sided t-statistic (‘tinv’ equivalent).
다운로드 수: 216
업데이트 날짜: 2016/4/11

라이선스 보기

TSTAT3 computes the one- or two-tailed t-probabilities for ‘v’ degrees-of-freedom, and a t-statistic ‘tp’, with the third argument being 'one' or 'two' respectively. It computes the inverse t-distribution (one-tailed t-statistic) for ‘v’ degrees-of-freedom and probability ‘tp’ with the third argument being 'inv'. It takes only precalculated t-statistics to calculate its probabilities, and does not take raw data as input. It is not vectorised, and throws an error for vectorised arguments, so separate calls must be made for each set of inputs.
It uses the core MATLAB incomplete beta function ‘betainc’ to calculate the t-distribution probabilities, and the core MATLAB ‘fzero’ function to calculate the inverse. It is extensively internally documented. It produces results that are within about 1E-12 of the comparable Statistics Toolbox Functions. It is written with MATLAB version R2015b, but should work with all versions that have the two functions it uses. It does not require the Statistics and Machine Learning Toolbox.
USES: TSTAT3 produces probabilites useful for determining the statistical significance of data characterised by known degrees-of-freedom and calculated t-statistics, and it produces t-statistics for known degrees-of-freedom and the requested probabilities, useful for determining confidence intervals. It requires a basic knowledge of statistics to the extent of understanding how to calculate degrees-of-freedom and t-statistics and how to apply confidence intervals, and to determine that the t-distribution is appropriate for the data being analysed.

HELP: TSTAT3 has help documentation available by right-clicking on its name in the MATLAB Editor, typing ‘help tstat3’ or by reading its code with the ‘type’ command.

인용 양식

Star Strider (2024). TSTAT3 (https://www.mathworks.com/matlabcentral/fileexchange/56500-tstat3), MATLAB Central File Exchange. 검색 날짜: .

MATLAB 릴리스 호환 정보
개발 환경: R2015b
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
카테고리
Help CenterMATLAB Answers에서 Special Functions에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!
버전 게시됨 릴리스 정보
1.0.0.0