to find the pvalue of arima estimation
조회 수: 1 (최근 30일)
이전 댓글 표시
I want to know, how to get pvalue in the arima parameters estimation?
댓글 수: 0
답변 (1개)
Balaji
2023년 10월 31일
To obtain p-values for the parameter estimates in ARIMA model estimation, you can use the 'infer' function. Here's an example:
Mdl1 = estimate(Mdl, y);
[~, ~, ~, Cov] = infer(Mdl1, y);
SE = sqrt(diag(Cov));
tStat = Mdl1.Coefficients.Estimate ./ SE;
% Compute the p-values using the cumulative distribution function (CDF) of the t-distribution
df = length(y) - numel(Mdl1.Coefficients.Estimate);
pValues = 2 * (1 - tcdf(abs(tStat), df));
Thanks,
Balaji
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Conditional Mean Models에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!