自適應(yīng)抽樣算法及其R包開發(fā)
本文關(guān)鍵詞:自適應(yīng)抽樣算法及其R包開發(fā) 出處:《華東師范大學(xué)》2017年碩士論文 論文類型:學(xué)位論文
更多相關(guān)文章: 自適應(yīng)拒絕法 改進(jìn)自適應(yīng)拒絕法 凹凸分解自適應(yīng)拒絕法 自適應(yīng)切片法 自適應(yīng)拒絕 Metropolis 法 AdapSamp 包
【摘要】:隨機(jī)數(shù)抽樣對(duì)于統(tǒng)計(jì)學(xué)科意義重大。目前為止,常規(guī)分布的隨機(jī)數(shù)生成可由計(jì)算機(jī)軟件如R直接操作完成,但對(duì)于非常規(guī)分布而言尚缺少統(tǒng)計(jì)軟件的支持。另一方面,自適應(yīng)性算法具有其根據(jù)條件改善算法自身從而提高精度的優(yōu)良性質(zhì),因此可被用于隨機(jī)數(shù)抽樣算法之中。本文首先介紹了若干自適應(yīng)改進(jìn)下的隨機(jī)數(shù)生成算法:對(duì)于概率密度函數(shù)具有對(duì)數(shù)凹函數(shù)性質(zhì)的目標(biāo)分布,可依據(jù)自適應(yīng)拒絕算法在支撐點(diǎn)處建立切線方程構(gòu)造目標(biāo)概率密度函數(shù)的分段指數(shù)型包絡(luò)函數(shù)加以抽樣。對(duì)于其他分布,可根據(jù)改進(jìn)自適應(yīng)拒絕算法,在對(duì)數(shù)凹區(qū)間上建立切線方程,并在對(duì)數(shù)凸區(qū)間上建立割線方程構(gòu)造包絡(luò)函數(shù)并抽樣;亦可使用凹凸分解自適應(yīng)拒絕算法將有限定義域上的目標(biāo)分布分解成凹凸兩部分并分別構(gòu)造包絡(luò)函數(shù);還可根據(jù)自適應(yīng)切片算法建立水平切片進(jìn)行切片抽樣。最后,自適應(yīng)拒絕Metropolis抽樣算法還可實(shí)現(xiàn)多元分布抽樣。針對(duì)上述算法,我們?cè)O(shè)計(jì)并開發(fā)一款名為AdapSamp的R功能包來實(shí)現(xiàn)自適應(yīng)隨機(jī)數(shù)抽樣。其中,rARS,rMARS,rCCARS,rASS與rARMS函數(shù)可分別實(shí)現(xiàn)上述功能。經(jīng)過案例分析,我們得出該功能包所生成的隨機(jī)數(shù)皆來自給定分布的結(jié)論。此外,rARMS與rASS函數(shù)由于循環(huán)和判斷次數(shù)少于其他函數(shù),因此速度快且具有廣泛的實(shí)用性。相比而言,rMARS函數(shù)則耗時(shí)過長(zhǎng)導(dǎo)致效率較低。我們開發(fā)的新的R包整合了許多優(yōu)秀的自適應(yīng)抽樣算法,能夠解決幾乎所有的分布的抽樣,是現(xiàn)有R功能包中常規(guī)分布抽樣函數(shù)的有效補(bǔ)充。因其普遍的適用性與使用的便利性,此R包一定會(huì)受到廣大統(tǒng)計(jì)專業(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.
【學(xué)位授予單位】:華東師范大學(xué)
【學(xué)位級(jí)別】:碩士
【學(xué)位授予年份】:2017
【分類號(hào)】:O212.2
【相似文獻(xiàn)】
相關(guān)期刊論文 前10條
1 關(guān)涌濤;吳亮;;基于PEG算法的Tornado碼構(gòu)造[J];科技通報(bào);2012年04期
2 王曉東;解非線性0-1規(guī)劃的一個(gè)算法及其在結(jié)構(gòu)優(yōu)化中的應(yīng)用[J];數(shù)值計(jì)算與計(jì)算機(jī)應(yīng)用;1988年01期
3 張曉;;基于密度聚類算法的異常檢測(cè)[J];伊犁師范學(xué)院學(xué)報(bào)(自然科學(xué)版);2010年04期
4 陳沐天;找周期子字的算法[J];應(yīng)用數(shù)學(xué)學(xué)報(bào);1991年01期
5 丁才昌;方勃;魯小平;;分布估計(jì)算法及其性能研究[J];武漢大學(xué)學(xué)報(bào)(理學(xué)版);2005年S2期
6 石明蘭;楊暉;葉東毅;;面向目標(biāo)的關(guān)聯(lián)規(guī)則挖掘的一個(gè)FP增長(zhǎng)算法[J];集美大學(xué)學(xué)報(bào)(自然科學(xué)版);2006年02期
7 張維群;;基于海量數(shù)據(jù)關(guān)聯(lián)效應(yīng)測(cè)度算法的設(shè)計(jì)[J];統(tǒng)計(jì)與信息論壇;2012年07期
8 羅蕾,徐洪利;構(gòu)造Dn-最優(yōu)確切設(shè)計(jì)的優(yōu)化方法──離散算法[J];遼寧大學(xué)學(xué)報(bào)(自然科學(xué)版);1999年02期
9 賀永恒;王斌;;基于蟻群算法的候選標(biāo)簽子集構(gòu)造方法研究[J];中國(guó)科技信息;2014年06期
10 武小悅,沙基昌;構(gòu)造網(wǎng)絡(luò)不交化最小路集的一種新算法[J];系統(tǒng)工程理論與實(shí)踐;2000年01期
相關(guān)會(huì)議論文 前2條
1 潘志明;鄭駿;錢衛(wèi)寧;周傲英;;構(gòu)造XML相似相關(guān)結(jié)構(gòu)庫(kù)的一種有效方法[A];第二十屆全國(guó)數(shù)據(jù)庫(kù)學(xué)術(shù)會(huì)議論文集(技術(shù)報(bào)告篇)[C];2003年
2 林景亮;董槐林;姜青山;吳書;;一種基于新增閾值的頻繁模式挖掘算法[A];第二十三屆中國(guó)數(shù)據(jù)庫(kù)學(xué)術(shù)會(huì)議論文集(研究報(bào)告篇)[C];2006年
相關(guān)博士學(xué)位論文 前10條
1 張磊;基于概念格的角色工程相關(guān)算法研究[D];哈爾濱工業(yè)大學(xué);2015年
2 孟靜;新型Krylov子空間算法及其應(yīng)用研究[D];電子科技大學(xué);2015年
3 胡芳;復(fù)雜網(wǎng)絡(luò)節(jié)點(diǎn)中心性多元評(píng)估與社團(tuán)探測(cè)新算法研究[D];華中師范大學(xué);2015年
4 肖建元;保幾何結(jié)構(gòu)算法在等離子體物理中的應(yīng)用[D];中國(guó)科學(xué)技術(shù)大學(xué);2017年
5 劉遠(yuǎn)剛;基于能量最小化原理的地圖要素移位算法研究與改進(jìn)[D];武漢大學(xué);2015年
6 唐益明;(1,2,2)型異蘊(yùn)涵泛三I算法及其應(yīng)用研究[D];合肥工業(yè)大學(xué);2011年
7 牛云云;求解計(jì)算困難問題的膜計(jì)算模型與算法研究[D];華中科技大學(xué);2012年
8 李睿智;基于局部搜索策略的若干組合優(yōu)化問題求解算法研究[D];東北師范大學(xué);2017年
9 李冬冬;基因組序列標(biāo)注的算法與理論研究[D];國(guó)防科學(xué)技術(shù)大學(xué);2004年
10 周琨;航空公司航班運(yùn)行調(diào)度模型與算法研究[D];南京航空航天大學(xué);2012年
相關(guān)碩士學(xué)位論文 前10條
1 閆銘;基于度量學(xué)習(xí)的不完整數(shù)據(jù)聚類方法研究[D];哈爾濱工業(yè)大學(xué);2015年
2 張小瓊;基于改進(jìn)螢火蟲群優(yōu)化算法的BP神經(jīng)網(wǎng)絡(luò)研究[D];廣西大學(xué);2015年
3 李俊杰;基于蟻群算法的聚類區(qū)分器設(shè)計(jì)研究[D];電子科技大學(xué);2014年
4 艾慧;天波雷達(dá)電離層污染校正與測(cè)高算法研究[D];電子科技大學(xué);2015年
5 陳紅強(qiáng);大規(guī)模并行排序?qū)W習(xí)算法研究[D];西安電子科技大學(xué);2014年
6 郭艷茹;k-中心平面聚類模型與算法研究[D];浙江工業(yè)大學(xué);2015年
7 彭輝輝;基于壓縮感知的心電信號(hào)壓縮算法研究[D];東南大學(xué);2015年
8 葛娜;高效用項(xiàng)集動(dòng)態(tài)挖掘算法的研究[D];中北大學(xué);2016年
9 葉馨;閉項(xiàng)集挖掘算法在醫(yī)保目錄制定問題上的研究與應(yīng)用[D];中國(guó)科學(xué)技術(shù)大學(xué);2016年
10 張靚云;面向微博的事件摘要生成算法研究與實(shí)現(xiàn)[D];西南交通大學(xué);2016年
,本文編號(hào):1439631
本文鏈接:http://sikaile.net/shoufeilunwen/benkebiyelunwen/1439631.html