the r book mathematics

the r book mathematics

ID:7295198

大?。?.14 MB

頁數(shù):0頁

時間:2018-02-10

the r book mathematics_第頁
預(yù)覽圖正在加載中,預(yù)計需要20秒,請耐心等待
資源描述:

《the r book mathematics》由會員上傳分享,免費(fèi)在線閱讀,更多相關(guān)內(nèi)容在工程資料-天天文庫。

1、7MathematicsYoucandoalotofmathsinR.Hereweconcentrateonthekindsofmathematicsthat?ndmostfrequentapplicationinscienti?cworkandstatisticalmodelling:functions;continuousdistributions;discretedistributions;matrixalgebra;calculus;differentialequations.7.1MathematicalfunctionsForthekindsoffuncti

2、onsyouwillmeetinstatisticalcomputingthereareonlythreemathematicalrulesthatyouneedtolearn:theseareconcernedwithpowers,exponentsandlogarithms.Intheexpressionxbtheexplanatoryvariableisraisedtothepowerb.Inextheexplanatoryvariableappearsasapower–inthisspecialcase,ofe=2.71828,ofwhichxistheexponent.T

3、heinverseofexisthelogarithmofx,denotedbylog(x)–notethatallourlogsaretothebaseeandthat,forus,writinglog(x)isthesameasln(x).Itisalsousefultorememberahandfulofmathematicalfactsthatareusefulforworkingoutbehaviouratthelimits.Wewouldliketoknowwhathappenstoywhenxgetsverylarge(e.g.x→∞)andwhathappensto

4、ywhenxgoesto0(i.e.whattheinterceptis,ifthereisone).Thesearethemostimportantrules:Anythingtothepowerzerois1:x0=1.Oneraisedtoanypowerisstill1:1x=1.In?nityplus1isin?nity:∞+1=∞.Oneoverin?nity(thereciprocalofin?nity,∞–1)iszero:1=0.∞Anumber>1raisedtothepowerin?nityisin?nity:1.2∞=∞.Afraction(e.

5、g.0.99)raisedtothepowerin?nityiszero:0.99∞=0.TheRBook,SecondEdition.MichaelJ.Crawley.?2013JohnWiley&Sons,Ltd.Published2013byJohnWiley&Sons,Ltd.MATHEMATICS259Negativepowersarereciprocals:x?b=1.xb√Fractionalpowersareroots:x1/3=3x.Thebaseofnaturallogarithms,e,is2.71828,soe∞=∞.Last,butperhapsm

6、ostusefully:e?∞=1=1=0.e∞∞Therearebuilt-infunctionsinRforlogarithmic,probabilityandtrigonometricfunctions(p.17).7.1.1LogarithmicfunctionsThelogarithmicfunctionisgivenbyy=aln(bx).Herethelogarithmistobasee.Theexponentialfunction,inwhichtheresponseyistheantilogarithmofthecontinuousexplanatoryvaria

7、blex,isgivenbyy=aebx.Boththesefunctionsaresmoothfunctions,andtodrawsmoothfunctionsinRyouneedtogenerateaseriesof100ormoreregularlyspacedxvaluesbetweenmin(x)andmax(x):x<-seq(0,10,0.1)InRtheexponentialfunctionisexpandthenaturallogfunction(

當(dāng)前文檔最多預(yù)覽五頁,下載文檔查看全文

此文檔下載收益歸作者所有

當(dāng)前文檔最多預(yù)覽五頁,下載文檔查看全文
溫馨提示:
1. 部分包含數(shù)學(xué)公式或PPT動畫的文件,查看預(yù)覽時可能會顯示錯亂或異常,文件下載后無此問題,請放心下載。
2. 本文檔由用戶上傳,版權(quán)歸屬用戶,天天文庫負(fù)責(zé)整理代發(fā)布。如果您對本文檔版權(quán)有爭議請及時聯(lián)系客服。
3. 下載前請仔細(xì)閱讀文檔內(nèi)容,確認(rèn)文檔內(nèi)容符合您的需求后進(jìn)行下載,若出現(xiàn)內(nèi)容與標(biāo)題不符可向本站投訴處理。
4. 下載文檔時可能由于網(wǎng)絡(luò)波動等原因無法下載或下載錯誤,付費(fèi)完成后未能成功下載的用戶請聯(lián)系客服處理。