Q Function

버전 1.0.0.0 (1.02 KB) 작성자: Timothy Felty
The Q Function implemented as integegraion of density function.
다운로드 수: 7.2K
업데이트 날짜: 2005/6/28

라이선스 보기

This function computes the Q function by integrating the Normal distribution.

It takes one paramter and calculates the right tail probablity.
Ex. x=q(0)
x would have the value of .5

For an arbitrary Gaussian distribution with mean, mu, and variance, sigma^2, then the function is passed this form.
((y-mu)/sigma)

Ex. Say you have a distribution of G(3,4). mu = 3, and sigma = 2. You want to calculate the right tail probability that it will be greater than 3.5. The function call would look like
answer=q((3.5-3)/2);

This is not the most efficient way of calculating this. I wrote this because I didn't have the proper toolbox. If you have the toolbox its just QFunc.

인용 양식

Timothy Felty (2026). Q Function (https://kr.mathworks.com/matlabcentral/fileexchange/7920-q-function), MATLAB Central File Exchange. 검색 날짜: .

MATLAB 릴리스 호환 정보
개발 환경: R13
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
카테고리
Help CenterMATLAB Answers에서 Statistics and Machine Learning Toolbox에 대해 자세히 알아보기
버전 게시됨 릴리스 정보
1.0.0.0