自適應抽樣算法及其R包開發(fā)
本文關鍵詞:自適應抽樣算法及其R包開發(fā) 出處:《華東師范大學》2017年碩士論文 論文類型:學位論文
更多相關文章: 自適應拒絕法 改進自適應拒絕法 凹凸分解自適應拒絕法 自適應切片法 自適應拒絕 Metropolis 法 AdapSamp 包
【摘要】:隨機數(shù)抽樣對于統(tǒng)計學科意義重大。目前為止,常規(guī)分布的隨機數(shù)生成可由計算機軟件如R直接操作完成,但對于非常規(guī)分布而言尚缺少統(tǒng)計軟件的支持。另一方面,自適應性算法具有其根據(jù)條件改善算法自身從而提高精度的優(yōu)良性質,因此可被用于隨機數(shù)抽樣算法之中。本文首先介紹了若干自適應改進下的隨機數(shù)生成算法:對于概率密度函數(shù)具有對數(shù)凹函數(shù)性質的目標分布,可依據(jù)自適應拒絕算法在支撐點處建立切線方程構造目標概率密度函數(shù)的分段指數(shù)型包絡函數(shù)加以抽樣。對于其他分布,可根據(jù)改進自適應拒絕算法,在對數(shù)凹區(qū)間上建立切線方程,并在對數(shù)凸區(qū)間上建立割線方程構造包絡函數(shù)并抽樣;亦可使用凹凸分解自適應拒絕算法將有限定義域上的目標分布分解成凹凸兩部分并分別構造包絡函數(shù);還可根據(jù)自適應切片算法建立水平切片進行切片抽樣。最后,自適應拒絕Metropolis抽樣算法還可實現(xiàn)多元分布抽樣。針對上述算法,我們設計并開發(fā)一款名為AdapSamp的R功能包來實現(xiàn)自適應隨機數(shù)抽樣。其中,rARS,rMARS,rCCARS,rASS與rARMS函數(shù)可分別實現(xiàn)上述功能。經(jīng)過案例分析,我們得出該功能包所生成的隨機數(shù)皆來自給定分布的結論。此外,rARMS與rASS函數(shù)由于循環(huán)和判斷次數(shù)少于其他函數(shù),因此速度快且具有廣泛的實用性。相比而言,rMARS函數(shù)則耗時過長導致效率較低。我們開發(fā)的新的R包整合了許多優(yōu)秀的自適應抽樣算法,能夠解決幾乎所有的分布的抽樣,是現(xiàn)有R功能包中常規(guī)分布抽樣函數(shù)的有效補充。因其普遍的適用性與使用的便利性,此R包一定會受到廣大統(tǒng)計專業(yè)人員的歡迎。
[Abstract]:Random number sampling is of great significance to statistical science. So far, the generation of random numbers of conventional distribution can be directly operated by computer software such as R. On the other hand, the adaptive algorithm has the excellent property of improving the algorithm itself according to the condition and improving the precision. Therefore, it can be used in random number sampling algorithms. Firstly, this paper introduces some adaptive improved random number generation algorithms: the distribution of objects with logarithmic concave function for probability density function. According to the adaptive rejection algorithm, the tangent equation can be established at the support point to construct the piecewise exponential envelope function of the probability density function of the target to be sampled. For the other distributions, the improved adaptive rejection algorithm can be used. The tangent equation is established on the logarithmic concave interval and the tangent equation is established on the logarithmic convex interval to construct the envelope function and sampling. An adaptive rejection algorithm based on convex and concave decomposition can be used to decompose the distribution of objects in a finite domain into concave and convex parts and construct envelope functions respectively. Finally, the adaptive rejection Metropolis sampling algorithm can be used to realize multivariate distribution sampling. We design and develop a R function package called AdapSamp to realize adaptive random number sampling. The rASS function and the rARMS function can realize the above functions respectively. Through the case study, we draw the conclusion that the random numbers generated by the function package are all from the given distribution. RARMS and rASS functions are faster and more practical than other functions because the number of cycles and judgments is less than other functions. RMARS function is time-consuming and inefficient. Our new R package integrates many excellent adaptive sampling algorithms and can solve almost all of the distribution of sampling. It is an effective supplement to the conventional distribution sampling function in the existing R function package. Due to its universal applicability and convenience, the R package will be welcomed by the majority of statistical professionals.
【學位授予單位】:華東師范大學
【學位級別】:碩士
【學位授予年份】:2017
【分類號】:O212.2
【相似文獻】
相關期刊論文 前10條
1 關涌濤;吳亮;;基于PEG算法的Tornado碼構造[J];科技通報;2012年04期
2 王曉東;解非線性0-1規(guī)劃的一個算法及其在結構優(yōu)化中的應用[J];數(shù)值計算與計算機應用;1988年01期
3 張曉;;基于密度聚類算法的異常檢測[J];伊犁師范學院學報(自然科學版);2010年04期
4 陳沐天;找周期子字的算法[J];應用數(shù)學學報;1991年01期
5 丁才昌;方勃;魯小平;;分布估計算法及其性能研究[J];武漢大學學報(理學版);2005年S2期
6 石明蘭;楊暉;葉東毅;;面向目標的關聯(lián)規(guī)則挖掘的一個FP增長算法[J];集美大學學報(自然科學版);2006年02期
7 張維群;;基于海量數(shù)據(jù)關聯(lián)效應測度算法的設計[J];統(tǒng)計與信息論壇;2012年07期
8 羅蕾,徐洪利;構造Dn-最優(yōu)確切設計的優(yōu)化方法──離散算法[J];遼寧大學學報(自然科學版);1999年02期
9 賀永恒;王斌;;基于蟻群算法的候選標簽子集構造方法研究[J];中國科技信息;2014年06期
10 武小悅,沙基昌;構造網(wǎng)絡不交化最小路集的一種新算法[J];系統(tǒng)工程理論與實踐;2000年01期
相關會議論文 前2條
1 潘志明;鄭駿;錢衛(wèi)寧;周傲英;;構造XML相似相關結構庫的一種有效方法[A];第二十屆全國數(shù)據(jù)庫學術會議論文集(技術報告篇)[C];2003年
2 林景亮;董槐林;姜青山;吳書;;一種基于新增閾值的頻繁模式挖掘算法[A];第二十三屆中國數(shù)據(jù)庫學術會議論文集(研究報告篇)[C];2006年
相關博士學位論文 前10條
1 張磊;基于概念格的角色工程相關算法研究[D];哈爾濱工業(yè)大學;2015年
2 孟靜;新型Krylov子空間算法及其應用研究[D];電子科技大學;2015年
3 胡芳;復雜網(wǎng)絡節(jié)點中心性多元評估與社團探測新算法研究[D];華中師范大學;2015年
4 肖建元;保幾何結構算法在等離子體物理中的應用[D];中國科學技術大學;2017年
5 劉遠剛;基于能量最小化原理的地圖要素移位算法研究與改進[D];武漢大學;2015年
6 唐益明;(1,2,2)型異蘊涵泛三I算法及其應用研究[D];合肥工業(yè)大學;2011年
7 牛云云;求解計算困難問題的膜計算模型與算法研究[D];華中科技大學;2012年
8 李睿智;基于局部搜索策略的若干組合優(yōu)化問題求解算法研究[D];東北師范大學;2017年
9 李冬冬;基因組序列標注的算法與理論研究[D];國防科學技術大學;2004年
10 周琨;航空公司航班運行調度模型與算法研究[D];南京航空航天大學;2012年
相關碩士學位論文 前10條
1 閆銘;基于度量學習的不完整數(shù)據(jù)聚類方法研究[D];哈爾濱工業(yè)大學;2015年
2 張小瓊;基于改進螢火蟲群優(yōu)化算法的BP神經(jīng)網(wǎng)絡研究[D];廣西大學;2015年
3 李俊杰;基于蟻群算法的聚類區(qū)分器設計研究[D];電子科技大學;2014年
4 艾慧;天波雷達電離層污染校正與測高算法研究[D];電子科技大學;2015年
5 陳紅強;大規(guī)模并行排序學習算法研究[D];西安電子科技大學;2014年
6 郭艷茹;k-中心平面聚類模型與算法研究[D];浙江工業(yè)大學;2015年
7 彭輝輝;基于壓縮感知的心電信號壓縮算法研究[D];東南大學;2015年
8 葛娜;高效用項集動態(tài)挖掘算法的研究[D];中北大學;2016年
9 葉馨;閉項集挖掘算法在醫(yī)保目錄制定問題上的研究與應用[D];中國科學技術大學;2016年
10 張靚云;面向微博的事件摘要生成算法研究與實現(xiàn)[D];西南交通大學;2016年
,本文編號:1439631
本文鏈接:http://www.sikaile.net/shoufeilunwen/benkebiyelunwen/1439631.html