直方图excel求平均值值怎么求啊

根据频率分布直方图求平均数,方差,中位数如何用频率分布直方图求方差,中位数,平均数,众数
平均数则是每组频率的中间值乘频数再相加平均数=4(3*0.02+7*0.08+11*0.09+17*0.03)=8.48方差=1/5[(3-8.48)^2+(7-8.48)^2+(11-8.48)^2+(15-8.48)^2+(19-8.48)^2]=38.3504中位数就是频率分布直方图面积的一半所对应的值即左右面积和为0.5就行了.设中位数为9+x则4*(0.02+0.08+x)=0.5 x=0.025 所以中位数为9.025众数就是频率最高的中间值就是11您的满意是我继续的动力!
为您推荐:
其他类似问题
扫描下载二维码查看: 7496|回复: 4|关注: 0
急求计算一阶直方图的均值、方差、偏度和峭度代码
<h1 style="color:# 麦片财富积分
新手, 积分 5, 距离下一级还需 45 积分
帮帮忙在线等
<h1 style="color:#4 麦片财富积分
关注者: 2
h是一阶直方图数据
均值mean(h)
方差std(h)
<h1 style="color:# 麦片财富积分
不能用函数直接求& &&&要自己弄代码.......
<h1 style="color:#9 麦片财富积分
关注者: 26
回复 2# libralibra 的帖子
中位数:median(x)
标准差:std(x)& && && &&&
方差:var(x)
偏度:skewness(x)& && &&&
峰度:kurtosis(x)& & %这个应该是峭度
给别人的比别人期待的多一点
<h1 style="color:#9 麦片财富积分
关注者: 26
回复 3# xuweichang 的帖子
function k = kurtosis(x,flag,dim)
%KURTOSIS Kurtosis.
%& &K = KURTOSIS(X) returns the sample kurtosis of the values in X.&&For a
%& &vector input, K is the fourth central moment of X, divided by fourth
%& &power of its standard deviation.&&For a matrix input, K is a row vector
%& &containing the sample kurtosis of each column of X.&&For N-D arrays,
%& &KURTOSIS operates along the first non-singleton dimension.
%
%& &KURTOSIS(X,0) adjusts the kurtosis for bias.&&KURTOSIS(X,1) is the same
%& &as KURTOSIS(X), and does not adjust for bias.
%
%& &KURTOSIS(X,FLAG,DIM) takes the kurtosis along dimension DIM of X.
%
%& &KURTOSIS treats NaNs as missing values, and removes them.
%
%& &See also MEAN, MOMENT, STD, VAR, SKEWNESS.
%& &Copyright
The MathWorks, Inc.
%& &$Revision: 1.11.4.3 $&&$Date:
04:38:32 $
if nargin & 2 || isempty(flag)
& & flag = 1;
end
if nargin & 3 || isempty(dim)
& & % The output size for [] is a special case, handle it here.
& & if isequal(x,[]), k = NaN;
& & % Figure out which dimension nanmean will work along.
& & dim = find(size(x) ~= 1, 1);
& & if isempty(dim), dim = 1; end
end
% Need to tile the output of nanmean to center X.
tile = ones(1,max(ndims(x),dim));
tile(dim) = size(x,dim);
% Center X, compute its fourth and second moments, and compute the
% uncorrected kurtosis.
x0 = x - repmat(nanmean(x,dim), tile);
s2 = nanmean(x0.^2,dim); % this is the biased variance estimator
m4 = nanmean(x0.^4,dim);
k = m4 ./ s2.^2;
% Bias correct the kurtosis.
if flag == 0
& & n = sum(~isnan(x),dim);
& & n(n&4) = NaN; % bias correction is not defined for n & 4.
& & k = ((n+1).*k - 3.*(n-1)) .* (n-1)./((n-2).*(n-3)) + 3;
end
给别人的比别人期待的多一点
站长推荐 /2
活动地点已更新
Powered by【图文】直方图的作成方法_百度文库
两大类热门资源免费畅读
续费一年阅读会员,立省24元!
评价文档:
直方图的作成方法
上传于||文档简介
&&质&#8203;量&#8203;内&#8203;容
大小:1.01MB
登录百度文库,专享文档复制特权,财富值每天免费拿!
你可能喜欢查看: 3457|回复: 3
Excel里做的直方图怎么添加LSL & USL 和平均值线
阅读权限10
在线时间 小时
请教Excel高手。。
我在excel里做了一个直方图。但不知道怎么把公差上限,下限,平均值也添加在里面。。请教论坛的高手们解答。。谢谢!!
阅读权限10
在线时间 小时
不好意思。。忘记添加附件。谢谢
22:42 上传
点击文件名下载附件
9.47 KB, 下载次数: 49
阅读权限10
在线时间 小时
期待高手出现。。顶起来。。。{:soso_e113:}
阅读权限100
在线时间 小时
玩命加载中,请稍候
玩命加载中,请稍候
Powered by
本论坛言论纯属发表者个人意见,任何违反国家相关法律的言论,本站将协助国家相关部门追究发言者责任! & & 本站特聘法律顾问:徐怀玉律师 李志群律师}

我要回帖

更多关于 excel求平均值 的文章

更多推荐

版权声明:文章内容来源于网络,版权归原作者所有,如有侵权请点击这里与我们联系,我们将及时删除。

点击添加站长微信