Estimate p-values of fitted parameters using armax from sysid toolbox

조회 수: 2 (최근 30일)
Enrico Gambini
Enrico Gambini 2022년 2월 28일
답변: Ive J 2022년 3월 1일
Hello!
I'm looking to find a way to find the p-value of the estimated parameters of an armax model fitted using the "armax" command of the System Identification Toolbox.
Any ideas?
Thank you

채택된 답변

Ive J
Ive J 2022년 3월 1일
armax returns parameters and their uncertainties; then you can calculate the p-values.
load iddata9 z9
na = 4;
nc = 1;
sys = armax(z9,[na nc]);
[es, sd] = getpvec(sys);
p = (1 - normcdf(abs(es)./sd)).*2 % or 1 - chi2cdf((es./sd).^2, 1)
p = 5×1
0 0.4105 0.7223 0 0
Note that the assumption here is that estimates are from an MLE (i.e. assymptoticaly normal). See also here.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Linear Model Identification에 대해 자세히 알아보기

제품


릴리스

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by