to find the pvalue of arima estimation
2 views (last 30 days)
Show older comments
I want to know, how to get pvalue in the arima parameters estimation?
0 Comments
Answers (1)
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
0 Comments
See Also
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!