⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 bpagan_d.m

📁 计量工具箱
💻 M
字号:
% PURPOSE: An example of  bpagan(),%% Breush-Pagan heteroscedasticity test%---------------------------------------------------% USAGE: bpagan_d%---------------------------------------------------n = 100; k=5;x = randn(n,k);x(:,1) = ones(n,1);b = ones(k,1);y = x*b + randn(n,1);% print output to command windowbpagan(y,x);tt=1:n; ttp = tt';x = randn(n,k);x(:,1) = ones(n,1);e = randn(n,1).*ttp;y2 = x*b + e;% return output to results structureresult = bpagan(y2,x);result

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -