📄 sirmap_d.m
字号:
% PURPOSE: An example using sirmap
% to examine the sliced inverse regression models
% by selecting sub-samples using a map
%---------------------------------------------------
% USAGE: sirmap_d
%---------------------------------------------------
clear all;
load ecu.data;
load ecu_xy.data;
area = ecu_xy(:,1);
latt = ecu_xy(:,2);
long = ecu_xy(:,3);
W = make_neighborsw(latt,long,5);
ecu95 = ecu(:,17);
ecu80 = ecu(:,2);
grwthx = ecu(:,end);
n = length(grwthx);
xmat = [log(ecu80) W*log(ecu80)];
nclasses = 3;
sirmap(long,latt,xmat,grwthx,nclasses,[],[],[],1);
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -