您好,欢迎访问三七文档
当前位置:首页 > 办公文档 > 其它办公文档 > WinBUGs使用手册(英文版)
1、WinBUGSUserManualVersion1.4,January2003DavidSpiegelhalter1AndrewThomas2NickyBest2DaveLunn21MRCBiostatisticsUnit,InstituteofPublicHealth,RobinsonWay,CambridgeCB22SR,UK2DepartmentofEpidemiology&PublicHealth,ImperialCollegeSchoolofMedicine,NorfolkPlace,LondonW21PG,UKe-mail:bugs@mrc-bsu.cam.ac.uk[general]andrew.thomas@ic.ac.uk[technical]internet::MCMCsamplingcanbedangerous!ContentsIntroductionThismanualAdvicefornewusersMCMCmethodsHowWinBUGSsyntaxdiffersfromthatofClassicBUGSChangesfromWinBUGS1.3Comp。
2、oundDocumentsWhatisacompounddocument?WorkingwithcompounddocumentsEditingcompounddocumentsŁ ŁCompounddocumentsande-mailPrintingcompounddocumentsandDoodlesReadingintextfilesModelSpecificationGraphicalmodelsGraphsasaformallanguageTheBUGSlanguage:stochasticnodesCensoringandtruncationConstraintsonusingcertaindistributionsLogicalnodesArraysandindexingRepeatedstructuresDatatransformationsNestedindexingandmixturesFormattingofdataDoodleBUGS:TheDoodleEditorGeneralpropertiesCreatinganodeSelectinganodeDelet。
3、inganodeMovinganodeCreatingaplateSelectingaplateDeletingaplateMovingaplateResizingaplateCreatinganedgeDeletinganedgeMovingaDoodleResizingaDoodlePrintingaDoodleTheModelMenuGeneralpropertiesSpecification...Update...MonitorMetropolisSaveStateSeed...ScriptTheInferenceMenuGeneralpropertiesSamples...Compare...Correlations...Summary...Rank...DIC... Ł Ł Ł ŁTheInfoMenuGeneralpropertiesOpenLogClearLogNodeinfo...ComponentsTheOptionsMenuOutputoptions...Blockingoptions...Updateoptions...Batch-mode:ScriptsTri。
4、cks:AdvancedUseoftheBUGSLanguageSpecifyinganewsamplingdistributionSpecifyinganewpriordistributionSpecifyingadiscreteprioronasetofvaluesUsingpDandDICMixturesofmodelsofdifferentcomplexityWherethesizeofasetisarandomquantityAssessingsensitivitytopriorassumptionsModellingunknowndenominatorsHandlingunbalanceddatasetsLearningabouttheparametersofaDirichletdistributionUseofthecutfunctionWinBUGSGraphicsGeneralpropertiesMarginsAxisBoundsTitlesAllPlotsFontsSpecificproperties(viaSpecial...)DensityplotBoxplot。
5、CaterpillarplotModelfitplotScatterplotTipsandTroubleshootingRestrictionswhenmodellingSomeerrormessagesSomeTrapmessagesTheprogramhangsSpeedingupsamplingImprovingconvergence Ł Ł Ł Ł Ł TutorialIntroductionSpecifyingamodelintheBUGSlanguageRunningamodelinWinBUGSMonitoringparametervaluesCheckingconvergenceHowmanyiterationsafterconvergence?ObtainingsummariesoftheposteriordistributionChangingMCMCDefaults(advancedusersonly)DefaultsfornumbersofiterationsDefaultsforsamplingmethodsDistributionsDiscreteUniva。
6、riateContinuousUnivariateDiscreteMultivariateContinuousMultivariateReferencesIntroductionContentsThismanualAdvicefornewusersMCMCmethodsHowWinBUGSsyntaxdiffersfromthatofClassicBUGSChangesfromWinBUGS1.3Thismanual[top|home]ThismanualdescribestheWinBUGSsoftware-aninteractiveWindowsversionoftheBUGSprogramforBayesiananalysisofcomplexstatisticalmodelsusingMarkovchainMonteCarlo(MCMC)techniques.WinBUGSallowsmodelstobedescribedusingaslightlyamendedversionoftheBUGSlanguage,orasDoodles(graphicalrepresentati。
7、onsofmodels)whichcan,ifdesired,betranslatedtoatext-baseddescription.TheBUGSlanguageismoreflexiblethantheDoodles.Thesectionscoverthefollowingtopics:Introduction:thesoftwareandhowanewusercanstartusingWinBUGS.DifferenceswithpreviousincarnationsofBUGSandWinBUGSaredescribed.CompoundDocuments:theuseofthecompounddocumentinterfacethatunderliestheprogram,showinghowdocumentscanbecreated,editedandmanipulated.ModelSpecification:theroleofgraphicalmodelsandthespecificationoftheBUGSlanguage.DoodleBUGS:TheDoodl。
8、eEditor:theDoodleBUGSsoftwarewhichallowscomplexBayesianmodelstobeŁ Ł Ł specifiedasDoodlesusingagraphicalinterface.TheModelMenu:theModelMenupermitsmodelsexpressedaseitherDoodlesorintheBUGSlanguagetobeparsed,checkedandcompiled.TheInferenceMenu:theInferenceMenucontrolsthemonitoring,displayandsummaryofthesimulatedvariables:toolsincludespecializedgraphicsandspace-savingshort-cutsforsimplesummariesoflargenumbersofvariables.TheInfoMenu:theInfomenuprovidesalogoftherunandotherinformation.TheOptionsMenu:f。
9、acilitythatallowstheusersomecontroloverwheretheoutputisdisplayedandthevariousavailableMCMCalgorithms.Batch-mode:Scripts:howtorunWinBUGSinbatch-modeusing'scripts'.Tricks:AdvancedUseoftheBUGSLanguage:specialtricksfordealingwithnon-standardproblems,e.g.specificationofarbitrarylikelihoodfunctions.WinBUGSGraphics:howtodisplayandchangetheformatofgraphicaloutput.TipsandTroubleshooting:tipsandtroubleshootingadviceforfrequentlyexperiencedproblems.Tutorial:atutorialfornewusers.ChangingMCMCDefaults(advancedusersonly):howt。
本文标题:WinBUGs使用手册(英文版)
链接地址:https://www.777doc.com/doc-7020801 .html