Estimate p-values of fitted parameters using armax from sysid toolbox
5 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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
0 commentaires
Réponse acceptée
Ive J
le 1 Mar 2022
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)
Note that the assumption here is that estimates are from an MLE (i.e. assymptoticaly normal). See also here.
0 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Transfer Function Models dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!