to find the pvalue of arima estimation

2 views (last 30 days)
Abdoulaye Camara
Abdoulaye Camara on 27 Apr 2020
Answered: Balaji on 31 Oct 2023
I want to know, how to get pvalue in the arima parameters estimation?

Answers (1)

Balaji
Balaji on 31 Oct 2023
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

Categories

Find more on Conditional Mean Models in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!