condmean.m
来自「计量工具箱」· M 代码 · 共 16 行
M
16 行
function mycond = condmean(y, ytri, bi, bs)
% PURPOSE: This function computes the means of y in the classes determined by
% the bounds bi and bs
%--------------------------------------------------------------
% USAGE: mycond = condmean(y, ytri, bi, bs)
% where: y = nx1 vector of the unsorted initial values
% ytri = nx1 vector of the indices of the ranked initial values
% bi = indices of the inferior edges of the classes
% bs = indices of the superior edges of the classes
%--------------------------------------------------------------
% OUTPUTS: mycond = conditional mean
%--------------------------------------------------------------
% used in sirmap.m
%------------------------------------------------------------------------
% Yves Aragon, June 2003
% Universit
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?