/* $Id: copula.tpl,v 1.1.2.4 2010/06/04 18:18:58 jaqiao Exp $ */ /*---------------------------------------------------------------------- * * name: copula.tpl * notes: the templates used by PROC COPULA * *--------------------------------------------------------------------*/ proc template; define table ets.copula.Factoid; notes "Generic table in COPULA for printint factoid"; parent=Common.Factoid; end; define table ets.copula.FitSummary; notes "Summary of regression"; parent=ets.countreg.factoid; end; define table ets.copula.ParameterEstimates; notes "Parameter Estimates" ; column Parameter Estimate StdErr tValue Probt Label; header h1; define h1; text "Parameter Estimates"; spill_margin space=1; end; def Parameter; id just=l header="Parameter" style=RowHeader; end; def Estimate; parent=Common.ParameterEstimates.Estimate; end; def StdErr; parent=Common.ParameterEstimates.StdErr; header="Standard Error"; end; def tValue; parent=Common.ParameterEstimates.tValue; end; def Probt; parent=ets.countreg.Probt header=";Approx;Pr > |t|;"; end; def Label; parent=Common.ParameterEstimates.Label; just=l header="Parameter Label"; end; required_space=5 col_space_min = 1; end; define table ets.copula.ConvergenceStatus; notes "Convergence Status table"; parent=Common.ConvergenceStatus.Table; column Reason Status; def Reason; parent=Common.ConvergenceStatus.Reason width_max=60; end; end; define table ETS.Copula.contplotphantom; notes "Phantom Data for Contour Plot"; column WVars VVars _Z; define WVars; generic; end; define VVars; generic; end; define _Z; just =l ; end; end; define statgraph ETS.Copula.Graphics.ContourPlot; dynamic _Title _level _Histogram _DesignHeight _DesignWidth; BeginGraph / designheight=_DesignHeight designwidth=_DesignWidth; EntryTitle _Title; layout overlay / xaxisopts=(offsetmin=0 offsetmax=0 linearopts=(thresholdmin=0 thresholdmax=0)) yaxisopts=(offsetmin=0 offsetmax=0 linearopts=(thresholdmin=0 thresholdmax=0 )); contourplotparm x=VVAR1 y=VVAR2 z=_z / contourtype=linefill nhint=12 name="Contour" colormodel=twocolorramp; continuouslegend "Contour" / title=_level; endlayout; endgraph; end; define statgraph ETS.Copula.Graphics.SurfPlot; dynamic _Title1 _Histogram _DesignHeight _DesignWidth; BeginGraph / designheight=_DesignHeight designwidth=_DesignWidth; EntryTitle _Title1; layout overlay3d; surfaceplotparm x=VVAR1 y=VVAR2 z=_z/ surfacetype=fillgrid; endlayout; endgraph; end; run;