matlab编写全置信度函数,matlab概率函数(最新整理)

《matlab概率函数(最新整理)》由会员分享,可在线阅读,更多相关《matlab概率函数(最新整理)(3页珍藏版)》请在人人文库网上搜索。

1、1. pdf 概率密度函数y=pdf(name,x,A)返回由 name 指定的单参数分布的概率密度,x 为样本数据,A 为所属分布的参数y=pdf(name,x,A,B)y=pdf(name,x,A,B,C) 返回由 name 指定的双参数或三参数分布的概率密度name 用来指定分布类型二项式分布Binomial bino卡方分布Chisquare chi2指数分布Exponential expF 分布Ff几何分布Geometric geo正态分布Normal norm泊松分布Poisson poissT 分布Tt均匀分布Uniform unif离散均匀分布Discrete Uniform 。

2、unid例:x=-8:0.1:8;y=pdf(norm,x,0,1);y1=pdf(norm,x,1,2);plot(x,y,x,y1,:)注意:y=pdf(norm,x,0,1)等价于 y=normpdf(x,0,1)类似的 y=pdf(bino,x,N,p)等价于 y=bionpdf(,x,N,p) 2、cdf 系列函数:累积分布函数F(x) = P(X=x) y=cdf(norm,x,0,1)等价于 y=normcdf(x,0,1)inv 系列函数:逆累积分布函数 (相应分布下的分位数)y=icdf(norm,p,0,1)等价于 y=normicdf(p,0,1)rnd 系列函数:随机数。

3、发生函数(不唯一)stat 系列函数:均值与方差函数3. normfit 正态分布中的参数估计muhat,sigmahat,muci,sigmaci=normfit(x,alpha) 点估计,区间估计对样本数据 x 进行参数估计,并计算置信度为 1-alpha的置信区间alpha 可以省略,缺省值为 0.05,即置信度为 95%4. hist 绘制给定数据的直方图hist(x,m),默认时 m=10(m 为组数) 5.table=tabulate(x)绘制频数表,返回值 table 中,第一列为 x 的值,第二列为该值出现的次数,最后一列包含每个值的百分比。6.ttest(x,m,alpha)。

4、假设检验函数。此函数对样本数据 x 进行显著性水平为 alpha 的 t 假设检验,以检验正态分布样本 x(标准差未知)的均值是否为 m。(单个总体的 t 检验)两个总体检验:ttest2(x,y,alpha)7、随机数(伪随机数)A=trnd(k,m,n)生成 m*n 的 t 分布的随机数B=raylrnd(b,m,n) 生成 Rayleigh 分布的伪随机数8、函数 random( )功能:y=random(name,A1,A2,A3,m,n)说明:输入的向量或矩阵 A1,A2 和 A3 必须形式相同。标量输入将被扩展成和其它输入具有相同维数的常数矩阵。9、随机变量数字特征M,V=bino。

5、stat(N,P) M,V=expstat(MU) M,V=normstat(MU,SIGMA)C=cov(X)返回 X 的协方差或协方差矩阵C=cov(X,Y)返回 X 与 Y 的协方差矩阵R=corrcoef(X) 返回源于矩阵的相关系数矩阵M=moment(X,order) 返回 X 的 order 阶中心矩 已知一组随机变量样本数据构成的向量: x=x1,x2,,xn求该向量各个元素的均值、方差和标准差:M=mean(x),s2=var(x),s=std(x);r 阶原点矩与中心矩:Ar=sum(x.r)/length(x);Br=moment(x,r)“”“”At the end, 。

6、Xiao Bian gives you a passage. Minand once said, people who learn to learn are very happy people. In every wonderful life, learning is an eternal theme. As a professional clerical and teaching position, I understand the importance of continuous learning, life is diligent, nothing can be gained, only。

7、 continuous learning can achieve better self. Only by constantly learning and mastering the latest relevant knowledge, can employees from all walks of life keep up with the pace of enterprise development and innovate to meet the needs of the market. This document is also edited by my studio professionals, there may be errors in the document, if there are errors, please correct, thank you。

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值