norm(w)在matlab,急,matlab做空间计量,出现了未定义normw,求教

能不能帮我看看  我的结果是未定义函数或变量 'normw'。怎么做才好?

load pc.mat;

load w1.mat;

% Dataset downloaded from www.wiley.co.uk/baltagi/

% Spatial weights matrix constructed by Elhorst

%

% written by: J.Paul Elhorst summer 2008

% University of Groningen

% Department of Economics

% 9700AV Groningen

% the Netherlands

% j.p.elhorst@rug.nl

%

% REFERENCES:

% Elhorst JP (2009) Spatial Panel Data Models. In Fischer MM, Getis A (Eds.)

% Handbook of Applied Spatial Analysis, Ch. C.2. Springer: Berlin Heidelberg New York.

%

% dimensions of the problem

T=14; % number of time periods

N=11; % number of regions

% row-normalize W

W=normw(w1); % function of LeSage

y=consume(:,1); % column number in the data matrix that corresponds to the dependent variable

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值