比如
%Function STAR_Panel(data,N,m,rmax,condini_user)
% Where:
% data : is a matrix which contains the panel data (Yit Qit Xit) with
% Yit : the dependant variable, size : vector (N*T,1)
% Qit : the transition variable, size : vector (N*T,1)
% Xit : the regressor, size : matrix (N*T,K)
% N : number of individuals
% m : number of location parameters
% rmax : maximum number of transition functions authorised (r<=rmax)
% condini_user : initial conditions given by the user
%RETURNS:
data=xlsread('D:\数据.xls'); % 读取数据
Y=data(:,1);
Q=data(:,2);
X=data(:,3:end);
N=31;
T=length(Y)/N;
NT=N*T;
K=size(X,2);
像这些命令函数,如何看出数据是按先T后N排列,还是先N后T排列呢。是不是一般都是按先T后N啊?


雷达卡




京公网安备 11010802022788号







