資源描述:
《An introduction to matlab for econometrics英文學(xué)習(xí)材料》由會(huì)員上傳分享,免費(fèi)在線閱讀,更多相關(guān)內(nèi)容在學(xué)術(shù)論文-天天文庫(kù)。
1、AnIntroductiontoMatlabforEconometricsJohnC.FrainTEPWorkingPaperNo.0110February2010TrinityEconomicsPapersDepartmentofEconomicsTrinityCollegeDublinAnIntroductiontoMATLABforEconometricsJohnC.Frain.?February2010AbstractThispaperisanintroductiontoMATLABforeconome
2、trics.ItdescribestheMATLABDesktop,containsasampleMATLABsessionshowingelementaryMAT-LABoperations,givesdetailsofdatainput/output,decisionandloopstructures,elementaryplots,describestheLeSageeconometricstoolboxandmaximumlikeli-hoodusingtheLeSagetoolbox.Variousw
3、orkedexamplesoftheuseofMATLABineconometricsarealsogiven.AfterreadingthisdocumentthereadershouldbeabletomakebetteruseoftheMATLABon-linehelpandmanuals.Contents1Introduction41.1Preliminaries..................................41.2TheMATLABDesktop.................
4、...........61.2.1TheCommandWindow........................61.2.2TheCommandHistoryWindow...................71.2.3TheStartButton............................81.2.4TheEditDebugwindow........................81.2.5TheFigureWindows..........................91.2.6The
5、WorkspaceBrowser........................91.2.7TheHelpBrowser...........................91.2.8ThePathBrowser...........................101.2.9MiscellaneousCommands.......................11?Commentsarewelcome.Myemailaddressisfrainjattcd.ie12Vectors,Matricesand
6、Arrays112.1ASampleMATLABsession..........................112.1.1EnteringMatrices...........................112.1.2BasicMatrixoperations........................122.1.3KroneckerProduct...........................142.1.4Examplesofnumberformats...................
7、..152.1.5fprintffunction.............................162.1.6elementbyelementoperations....................162.1.7miscellaneousfunctions........................172.1.8sequences................................222.1.9CreatingSpecialMatrices.....................
8、..222.1.10Randomnumbergenerators......................232.1.11Extractingpartsofamatrix,Joiningmatricestogethertogetanewlargermatrix...........................242.1.12Usingsub-matricesonlefthands