Skip to main content
MedCalc
Mail a PDF copy of this page to:
(Your email address will not be added to a mailing list)
working
Show menu

Scripts - Parameters for statistical procedures and graphs

Age-related reference interval
PROCREFINTERVALAGE
$VariableContinuous variable
$AgeVariableAge variable
$FilterFilter
$Centiles{1,2.5,5,10,90,95,97.5,99}
$PowersMean{-2,-1,-0.5,0,0.5,1,2,3}
$PowersSD{-2,-1,-0.5,0,0.5,1,2,3}
$LogTRUE | FALSE
$BoxCoxTransformTRUE | FALSE
$LambdaReal
$ShiftReal
$RefIntervalOutlierTestNONE | REED | TUKEY
$NormalityTestKOLSMIR | DAGPEAR | SHAPWILK | SHAPFRANC | CHISQ | NONE

For details, see Age-related reference interval

Analysis of Covariance (ANCOVA)
PROCANCOVA
$VariableVariable
$Factor1Variable
$Factor2Variable
$FilterFilter
$Covariates[1..24]Variable(s)
$NormalityTestKOLSMIR | DAGPEAR | SHAPWILK | SHAPFRANC | CHISQ | NONE

For details, see Analysis of covariance

Bland-Altman plot
PROCBLANDALTMAN
$Variable1Variable
$Variable2Variable
$FilterFilter
$SubgroupsVariable
$BAxAxisAVERAGE | METHOD1 | METHOD2 | GEOMETRICMEAN | AVGRANK | RANK1 | RANK2
$BAMethodDIFFERENCES | DIFFERENCES% | RATIOS
$MaxDifferenceReal
$BALineOfEqualityTRUE | FALSE
$CIMeanTRUE | FALSE
$CILimitsOfAgreementTRUE | FALSE
$CIErrorBarsTRUE | FALSE
$BARegressionTRUE | FALSE
$BARegressionCITRUE | FALSE

For details, see Bland-Altman plot

Bland-Altman plot with multiple measurements per subject
$Variable1Variable
$Variable2Variable
$FactorVariable (subject identification)
$FilterFilter
$TrueValueConstantTRUE | FALSE
$BAxAxisAVERAGE | METHOD1 | METHOD2 | GEOMETRICMEAN | AVGRANK | RANK1 | RANK2
$BAMethodDIFFERENCES | RATIOS
$MaxDifferenceReal
$BALineOfEqualityTRUE | FALSE
$CILimitsOfAgreementTRUE | FALSE
$CIErrorBarsTRUE | FALSE
PROCBLANDALTMANMULTI

For details, see Bland-Altman plot with multiple measurements per subject

Box-and-Whisker plot
PROCBOXWHISKER
$VariableVariable
$FilterFilter
$LogTRUE | FALSE
$PlotAllPointsTRUE | FALSE
$VerticalTRUE | FALSE

For details, see Box-and-whisker plot

Chi-Squared test
PROCCHI2TEST
$Factor1Variable
$Factor2Variable
$FilterFilter

For details, see Chi-squared test

Clustered multiple comparison graphs
PROCGRAPHMULTCOMPCLUST
$VariableVariable
$Factor1Variable
$Factor2Variable
$FilterFilter
$BarsTRUE | FALSE
$MidLinesTRUE | FALSE
$MidMarkersTRUE | FALSE
$ConnectingLinesTRUE | FALSE
$MeanOrMedianMEAN | MEDIAN
$ErrorBarsMeanNONE | MEANCI | 1SD | 2SD | 3SD | SEM | RANGE
$ErrorBarsMedian$ErrorBarsMedianNONE | MEDIANCI | PR50 | PR80 | PR90 | PR95 | PR98 | RANGE (*)
$BoxWhiskerTRUE | FALSE
$NotchedBWTRUE | FALSE
$ViolinPlotTRUE | FALSE
$PlotAllPointsTRUE | FALSE
$LogTRUE | FALSE

For details, see Clustered multiple comparison graphs

(*) Note: PR50 is 50% percentile range (25-75 percentiles; Interquartile range); PR80 is 80% percentile range (10-90 percentile), etc.

Clustered multiple variables graphs
PROCGRAPHMULTIVARCLUST
$Covariates[1..24]Variable(s)
$FactorVariable
$FilterFilter
$BarsTRUE | FALSE
$MidLinesTRUE | FALSE
$MidMarkersTRUE | FALSE
$ConnectingLinesTRUE | FALSE
$MeanOrMedianMEAN | MEDIAN
$ErrorBarsMeanNONE | MEANCI | 1SD | 2SD | 3SD | SEM | RANGE
$ErrorBarsMedian$ErrorBarsMedianNONE | MEDIANCI | PR50 | PR80 | PR90 | PR95 | PR98 | RANGE (*)
$BoxWhiskerTRUE | FALSE
$NotchedBWTRUE | FALSE
$ViolinPlotTRUE | FALSE
$PlotAllPointsTRUE | FALSE
$DotAndLinesTRUE | FALSE
$LogTRUE | FALSE
$CompleteCasesOnlyTRUE | FALSE
$ClusteredByVariablesTRUE | FALSE

For details, see Clustered multiple variables graphs

(*) Note: PR50 is 50% percentile range (25-75 percentiles; Interquartile range); PR80 is 80% percentile range (10-90 percentile), etc.

Cochran–Mantel–Haenszel test
PROCCMHTEST
$ClassifierDichotomous outcome variable
$GroupsGroup variable
$FactorFactor variable
$FilterFilter

For details, see Cochran–Mantel–Haenszel test

Cochran's Q test
PROCCOCHRANQ
$Covariates[1..24]Variable(s)
$FilterFilter
$AlphaReal

For details, see Cochran's Q test

Coefficient of variation from duplicate measurements
PROCCVFROMDUPLICATES
$VariableXVariable
$VariableYVariable
$FilterFilter
$CVMethodWSSD | LOG | RMS

For details, see Coefficient of variation from duplicate measurements

Comparison of independent ROC Curves
PROCCOMPAREINDEPENDENTROC
$VariableVariable
$GroupsGroup variable
$ClassifierDichotomous variable
$FilterFilter
$ROCMethodDELONG | HANLEY
$BinomialCITRUE | FALSE
$ShowGraphTRUE | FALSE
$MarkPointsTRUE | FALSE

For details, see Comparison of independent ROC curves

Comparison of ROC Curves
PROCCOMPAREROC
$Covariates[1..6]Variables
$ClassifierDichotomous variable
$FilterFilter
$ROCMethodDELONG | HANLEY
$BinomialCITRUE | FALSE
$ShowGraphTRUE | FALSE
$MarkPointsTRUE | FALSE

For details, see Comparison of ROC curves

Comparison of partial areas under ROC curves
PROCPARTIALROCCOMPARE
$Variable1Variable
$Variable2Variable
$ClassifierDichotomous variable
$FilterFilter
$PairedTRUE | FALSE
$PartialIntervalSENSITIVITY | SPECIFICITY
$ValLowReal (0..100)
$ValHighReal (0..100)
$BootstrapTRUE | FALSE
$BootstrapLoopsInteger
$RandomNrSeedInteger
$ShowGraphTRUE | FALSE

For details, see Comparison of partial areas under ROC curves

Comparison of precision-recall curves
PROCPRECISIONRECALLCOMPARE
$Variable1Variable
$Variable2Variable
$ClassifierDichotomous variable
$FilterFilter
$PairedTRUE | FALSE
$BootstrapTRUE | FALSE
$BootstrapLoopsInteger
$RandomNrSeedInteger
$MarkPointsTRUE | FALSE

For details, see Comparison of precision-recall curves

Concordance correlation coefficient
PROCCONCORDANCE
$VariableXVariable
$VariableYVariable
$FilterFilter
$LogXTRUE | FALSE
$LogYTRUE | FALSE

For details, see Concordance correlation coefficient

Control Chart
PROCCONTROLCHART
$VariableVariable
$FilterFilter
$LabelsVariable
$CtrlTypeDATA | STANDARD | USER
$CtrlNInteger
$CtrlMeanReal
$CtrlSDReal
$CtrlUClimReal
$CtrlUWlimReal
$CtrlRefvalReal
$CtrlLWlimReal
$CtrlLClimReal
$CtrlApplyrulesTRUE | FALSE
$CtrlRule1x2STRUE | FALSE
$CtrlRule1x3STRUE | FALSE
$CtrlRule2x2STRUE | FALSE
$CtrlRule4x1STRUE | FALSE
$CtrlRule10XTRUE | FALSE
$CtrlRule10NInteger

For details, see Control chart

Correlation
PROCCORRELATION
$VariableXVariable
$VariableYVariable
$FilterFilter
$LogXTRUE | FALSE
$LogYTRUE | FALSE

For details, see Correlation coefficient

Cox proportional-hazards regression
PROCCOXREGRESSION
$TimeVariable
$EndPointVariable
$Covariates[1..24]Variable(s)
$FilterFilter
$SelectMethodENTER | FORWARD | BACKWARD | STEPWISE
$PEnterReal
$PRemoveReal
$SurvivalGraphNONE | SURVIVAL | 100_SURVIVAL
$FactorVariable

For details, see Cox proportional-hazards regression

Cronbach's alpha
PROCCRONBACHALPHA
$Covariates[1..24]Variable(s)
$FilterFilter
$ScaleReversalTRUE | FALSE

For details, see Cronbach's alpha

Cumulative Distribution Plot
PROCCUMULATIVE
$VariableVariable
$FilterFilter
$PolygonTRUE | FALSE
$ComplementaryTRUE | FALSE
$PlotNormalCurveTRUE | FALSE
$PlotAllPointsTRUE | FALSE

For details, see Cumulative frequency distribution

Deming regression
PROCDEMING
$VariableXVariable
$VariableYVariable
$ReplicateXVariable
$ReplicateYVariable
$FilterFilter
$SubgroupsVariable
$CVxReal
$CVyReal
$ScatterdiagramTRUE | FALSE
$ResidualsPlotTRUE | FALSE

For details, see Passing-Bablok regression

Dot plot
PROCDOTPLOT
$VariableVariable
$FilterFilter
$BarsTRUE | FALSE
$MidLinesTRUE | FALSE
$MidMarkersTRUE | FALSE
$ConnectingLinesTRUE | FALSE
$MeanOrMedianMEAN | MEDIAN
$ErrorBarsMeanNONE | MEANCI | 1SD | 2SD | 3SD | SEM | RANGE
$ErrorBarsMedianNONE | MEDIANCI | PR50 | PR80 | PR90 | PR95 | PR98 | RANGE (*)
$BoxWhiskerTRUE | FALSE
$LogTRUE | FALSE

For details, see Dot plot

(*) Note: PR50 is 50% percentile range (25-75 percentiles; Interquartile range); PR80 is 80% percentile range (10-90 percentile), etc.

F-test - Variance ratio test
PROCFTEST
$Variable1Variable
$Variable2Variable
$Filter1Filter
$Filter2Filter
$LogTRUE | FALSE

For details, see Variance ratio test (F-test)

Fisher's exact test
PROCFISHER
$Factor1Variable
$Factor2Variable
$FilterFilter

For details, see Fisher's exact test

Frequency charts
PROCFREQUENCYCHART
$Factor1Variable
$Factor2Variable
$FilterFilter
$FrequencyChartTypeNONE | SIMPLE | CLUSTERED | STACKED | 100%STACKED
$RelativeFreqTRUE | FALSE
$ReverseXTRUE | FALSE
$ReverseYTRUE | FALSE
$HorizontalTRUE | FALSE
$SortByMagnitudeTRUE | FALSE

For details, see Frequencies bar charts

Friedman test
PROCFRIEDMAN
$Covariates[1..24]Variable(s)
$FilterFilter
$AlphaReal

For details, see Friedman test

Function plot
PROCFUNCTIONPLOT
$Functions[1..6]Functions
$XminReal
$XmaxReal
$AutoYTRUE | FALSE
$YminReal
$YmaxReal

For details, see Function plot

Histogram
PROCHISTOGRAM
$VariableVariable
$FilterFilter
$PlotNormalCurveTRUE | FALSE
$RelativeTRUE | FALSE
$SecondaryYTRUE | FALSE

For details, see Histogram

Independent samples t-test
PROCTTEST
$Variable1Variable
$Variable2Variable
$Filter1Filter
$Filter2Filter
$LogTRUE | FALSE
$CIInteger (%)
$EqualVarianceYES | NO | AUTO | BOTH
$NormalityTestKOLSMIR | DAGPEAR | SHAPWILK | SHAPFRANC | CHISQ | NONE

For details, see Independent samples t-test

Inter-rater agreement (Kappa)
PROCKAPPA
$Factor1Variable
$Factor2Variable
$FilterFilter
$KappaWeightsNONE | LINEAR | QUADRATIC

For details, see Inter-rater agreement (kappa)

Intraclass correlation coefficient
PROCINTRACLASSCC
$Covariates[1..24]Variable(s)
$FilterFilter
$ICCModelRANDOM | FIXED
$ICCTypeCONSISTENCY | AGREEMENT

For details, see Intraclass correlation coefficient

Kaplan-Meier survival analysis
PROCKAPLANMEIER
$TimeVariable
$EndPointVariable
$FactorVariable
$FilterFilter
$LinearTrendTRUE | FALSE
$RMSTTRUE | FALSE
$RMSTtimeReal
$SurvivalGraphNONE | SURVIVAL | 100MINSURVIVAL
$Include95CITRUE | FALSE
$MarkCensoredDataTRUE | FALSE
$NumberAtRiskTableTRUE | FALSE

For details, see Kaplan-Meier survival curves

Kruskal-Wallis test
PROCKRUSKALWALLIS
$VariableVariable
$FactorVariable
$FilterFilter
$KWPostHocTestCONOVER | DUNN
$AlphaReal
$JonckheereTRUE | FALSE

For details, see Kruskal-Wallis test

Logistic Regression
PROCLOGISTICREGRESSION
$ClassifierDichotomous variable
$Covariates[1..24]Variable(s)
$FilterFilter
$SelectMethodENTER | FORWARD | BACKWARD | STEPWISE
$PEnterReal
$PRemoveReal
$CuttOffReal
$ProbabilityPlotTRUE | FALSE
$PlotAllPointsTRUE | FALSE

For details, see Logistic regression

Mann-Whitney test (independent samples)
PROCMANNWHITNEY
$Variable1Variable
$Variable2Variable
$Filter1Filter
$Filter2Filter

For details, see Mann-Whitney test (independent samples)

McNemar test
PROCMCNEMAR
$Factor1Variable
$Factor2Variable
$FilterFilter

For details, see McNemar test

Meta-analysis: area under ROC curve
PROCMETAROCAREA
$MetaStudiesVariable
$MetaEstimateVariable
$MetaSEVariable
$FilterFilter
$ForestPlotTRUE | FALSE
$RelativeMarkerSzTRUE | FALSE
$WeightsModelFIXED | RANDOM
$PlotPooledEffectsNONE | FIXED | RANDOM | BOTH
$DiamondsTRUE | FALSE
$FunnelPlotTRUE | FALSE

For details, see Meta-analysis: area under ROC curve

Meta-analysis: continuous measure
PROCMETACONTINUOUS
$MetaStudiesVariable
$MetaN1Variable
$MetaMean1Variable
$MetaSD1Variable
$MetaN2Variable
$MetaMean2Variable
$MetaSD2Variable
$FilterFilter
$ForestPlotTRUE | FALSE
$RelativeMarkerSzTRUE | FALSE
$WeightsModelFIXED | RANDOM
$PlotPooledEffectsNONE | FIXED | RANDOM | BOTH
$DiamondsTRUE | FALSE
$FunnelPlotTRUE | FALSE

For details, see Meta-analysis: continuous measure

Meta-analysis: correlation
PROCMETACORRELATION
$MetaStudiesVariable
$MetaNVariable
$MetaEstimateVariable
$FilterFilter
$ForestPlotTRUE | FALSE
$RelativeMarkerSzTRUE | FALSE
$WeightsModelFIXED | RANDOM
$PlotPooledEffectsNONE | FIXED | RANDOM | BOTH
$DiamondsTRUE | FALSE
$FunnelPlotTRUE | FALSE

For details, see Meta-analysis: correlation

Meta-analysis: generic inverse variance method
PROCMETAGENERIC
$MetaStudiesVariable
$MetaEstimateVariable
$MetaSEVariable
$FilterFilter
$LogTRUE | FALSE
$ForestPlotTRUE | FALSE
$RelativeMarkerSzTRUE | FALSE
$WeightsModelFIXED | RANDOM
$PlotPooledEffectsNONE | FIXED | RANDOM | BOTH
$DiamondsTRUE | FALSE
$FunnelPlotTRUE | FALSE

For details, see Meta-analysis: generic inverse variance method

Meta-analysis: odds ratio
PROCMETAODDSRATIO
$MetaStudiesVariable
$MetaN1Variable
$MetaPos1Variable
$MetaN2Variable
$MetaPos2Variable
$FilterFilter
$ForestPlotTRUE | FALSE
$RelativeMarkerSzTRUE | FALSE
$WeightsModelFIXED | RANDOM
$PlotPooledEffectsNONE | FIXED | RANDOM | BOTH
$DiamondsTRUE | FALSE
$FunnelPlotTRUE | FALSE

For details, see Meta-analysis: odds ratio

Meta-analysis: proportion
PROCMETAPROPORTION
$MetaStudiesVariable
$MetaNVariable
$MetaPosVariable
$FilterFilter
$ForestPlotTRUE | FALSE
$RelativeMarkerSzTRUE | FALSE
$WeightsModelFIXED | RANDOM
$PlotPooledEffectsNONE | FIXED | RANDOM | BOTH
$DiamondsTRUE | FALSE
$FunnelPlotTRUE | FALSE

For details, see Meta-analysis: proportion

Meta-analysis: relative risk
PROCMETARELATIVERISK
$MetaStudiesVariable
$MetaN1Variable
$MetaPos1Variable
$MetaN2Variable
$MetaPos2Variable
$FilterFilter
$ForestPlotTRUE | FALSE
$RelativeMarkerSzTRUE | FALSE
$WeightsModelFIXED | RANDOM
$PlotPooledEffectsNONE | FIXED | RANDOM | BOTH
$DiamondsTRUE | FALSE
$FunnelPlotTRUE | FALSE

For details, see Meta-analysis: relative risk

Meta-analysis: risk difference
PROCMETARISKDIFFERENCE
$MetaStudiesVariable
$MetaN1Variable
$MetaPos1Variable
$MetaN2Variable
$MetaPos2Variable
$FilterFilter
$ForestPlotTRUE | FALSE
$RelativeMarkerSzTRUE | FALSE
$WeightsModelFIXED | RANDOM
$PlotPooledEffectsNONE | FIXED | RANDOM | BOTH
$DiamondsTRUE | FALSE
$FunnelPlotTRUE | FALSE

For details, see Meta-analysis: risk difference

Mountain Plot
PROCMOUNTAINPLOT
$Variable1Variable
$Variable2Variable
$Variable3Variable
$FilterFilter
$PlotAllPointsTRUE | FALSE

For details, see Mountain plot

Multiple comparison graphs
PROCGRAPHMULTCOMP
$VariableVariable
$FactorVariable
$FilterFilter
$BarsTRUE | FALSE
$MidLinesTRUE | FALSE
$MidMarkersTRUE | FALSE
$ConnectingLinesTRUE | FALSE
$MeanOrMedianMEAN | MEDIAN
$ErrorBarsMeanNONE | MEANCI | 1SD | 2SD | 3SD | SEM | RANGE
$ErrorBarsMedian$ErrorBarsMedianNONE | MEDIANCI | PR50 | PR80 | PR90 | PR95 | PR98 | RANGE (*)
$BoxWhiskerTRUE | FALSE
$NotchedBWTRUE | FALSE
$ViolinPlotTRUE | FALSE
$PlotAllPointsTRUE | FALSE
$LogTRUE | FALSE
$ShowEmptyClassesTRUE | FALSE

For details, see Multiple comparison graphs

(*) Note: PR50 is 50% percentile range (25-75 percentiles; Interquartile range); PR80 is 80% percentile range (10-90 percentile), etc.

Multiple line graph
PROCMULTILINEGRAPH
$Covariates[1..6]Variables
$LabelsVariable
$FilterFilter
$LogTRUE | FALSE
$CompleteCasesOnlyTRUE | FALSE
$PlotAllPointsTRUE | FALSE
$TrendLineNONE | MOVINGAVG | LOESS | ISOTONIC
$WindowWidthInteger
$SpanInteger (%)

For details, see Multiple line graph

Multiple variables graphs
PROCGRAPHMULTIVAR
$Covariates[1..24]Variable(s)
$FilterFilter
$BarsTRUE | FALSE
$MidLinesTRUE | FALSE
$MidMarkersTRUE | FALSE
$ConnectingLinesTRUE | FALSE
$MeanOrMedianMEAN | MEDIAN
$ErrorBarsMeanNONE | MEANCI | 1SD | 2SD | 3SD | SEM | RANGE
$ErrorBarsMedian$ErrorBarsMedianNONE | MEDIANCI | PR50 | PR80 | PR90 | PR95 | PR98 | RANGE (*)
$BoxWhiskerTRUE | FALSE
$NotchedBWTRUE | FALSE
$ViolinPlotTRUE | FALSE
$PlotAllPointsTRUE | FALSE
$DotAndLinesTRUE | FALSE
$CumulativeTRUE | FALSE
$LogTRUE | FALSE
$CompleteCasesOnlyTRUE | FALSE

For details, see Multiple variables graphs

(*) Note: PR50 is 50% percentile range (25-75 percentiles; Interquartile range); PR80 is 80% percentile range (10-90 percentile), etc.

Multiple Regression
PROCMULTIREGRESSION
$VariableYVariable
$Covariates[1..24]Variable(s)
$WeightsVariable
$FilterFilter
$SelectMethodENTER | FORWARD | BACKWARD | STEPWISE
$PEnterReal
$PRemoveReal
$ReportVIFTRUE | FALSE
$ZeroOrderCCTRUE | FALSE
$NormalityTestKOLSMIR | DAGPEAR | SHAPWILK | SHAPFRANC | CHISQ | NONE

For details, see Multiple regression

Normal plot
PROCNORMALPLOT
$VariableVariable
$FilterFilter
$QQPlotTRUE | FALSE
$NormalityTestKOLSMIR | DAGPEAR | SHAPWILK | SHAPFRANC | CHISQ | NONE

For details, see Normal plot

One-sample t-test
PROCONESAMPLETTEST
$VariableVariable
$FilterFilter
$LogTRUE | FALSE
$TestValueReal

For details, see One sample t-test

One-way ANOVA
PROCANOVA
$VariableVariable
$FactorVariable
$FilterFilter
$LogTRUE | FALSE
$PostHocTestSCHEFFE | TUKEYKRAMER | SNK
$AlphaReal
$NormalityTestKOLSMIR | DAGPEAR | SHAPWILK | SHAPFRANC | CHISQ | NONE

For details, see One-way analysis of variance

Outlier Detection
PROCOUTLIERS
$VariableVariable
$FilterFilter
$LogTRUE | FALSE
$NormalityTestKOLSMIR | DAGPEAR | SHAPWILK | SHAPFRANC | CHISQ | NONE
$GrubbsLEFT | RIGHT | DOUBLE | NO
$OutliersAlpha0.10 | 0.05 | 0.025 | 0.01 | 0.005 | 0.001 | 0.0005 | 0.0001
$GeneralizedESDtestTRUE | FALSE
$MaxOutliersInteger
$OutliersTukeyTRUE | FALSE

For details, see Outlier detection

Paired samples t-test
PROCTTESTPAIRED
$Variable1Variable
$Variable2Variable
$FilterFilter
$LogTRUE | FALSE
$CIInteger (%)
$NormalityTestKOLSMIR | DAGPEAR | SHAPWILK | SHAPFRANC | CHISQ | NONE

For details, see Paired samples t-test

Partial area under ROC curve
PROCPARTIALROC
$VariableVariable
$ClassifierDichotomous variable
$FilterFilter
$PartialIntervalSENSITIVITY | SPECIFICITY
$ValLowReal (0..100)
$ValHighReal (0..100)
$BootstrapTRUE | FALSE
$BootstrapLoopsInteger
$RandomNrSeedInteger
$ShowGraphTRUE | FALSE

For details, see Partial area under ROC curve

Partial Correlation
PROCPARTIALCORRELATION
$VariableXVariable
$VariableYVariable
$Covariates[1..24]Variable(s)
$FilterFilter
$LogXTRUE | FALSE
$LogYTRUE | FALSE

For details, see Partial correlation

Passing-Bablok regression
PROCPASSINGBABLOK
$VariableXVariable
$VariableYVariable
$FilterFilter
$SubgroupsVariable
$PerpendicularResidualsTRUE | FALSE
$SpearmanTRUE | FALSE
$ScatterdiagramTRUE | FALSE
$ResidualsPlotTRUE | FALSE
$ResidualsByRankTRUE | FALSE
$BootstrapCITRUE | FALSE
$BootstrapLoopsInteger
$RandomNrSeedInteger
$BiasAtLevelsTRUE | FALSE
$Level1..$Level4Real

For details, see Passing-Bablok regression

Polar plot
PROCPOLARPLOT
$RadiusVariable
$AngleVariable
$FilterFilter
$AngleUnitRADIANS | DEGREES | PERCENTAGE
$ClockWiseTRUE | FALSE
$ZeroAngleNORTH | EAST | SOUTH | WEST
$ConnectPointsTRUE | FALSE

For details, see Polar plot

Precision-recall curve
PROCPRECISIONRECALL
$VariableVariable
$ClassifierDichotomous variable
$FilterFilter
$MarkPointsTRUE | FALSE

For details, see Precision-recall curve

Probit regression
PROCPROBITREGRESSION
$ProbitBinaryDataTRUE | FALSE
$VariableXDose variable
For binary data
$VariableYResponse variable
For grouped data
$Variable2Variable with total number of cases
$Variable3Variable with number of responses
$FilterFilter
$LogTRUE | FALSE
$DoseResponsePlotTRUE | FALSE
$PlotAllPointsTRUE | FALSE

For details, see Probit regression (Dose-Response analysis)

Rank Correlation
PROCRANKCORRELATION
$VariableXVariable
$VariableYVariable
$FilterFilter
$RankCoefficientsSPEARMAN | KENDALL | BOTH
$BootstrapLoopsInteger
$RandomNrSeedInteger

For details, see Rank correlation

Reference interval
PROCREFINTERVAL
$VariableVariable
$FilterFilter
$Interval90 | 95 | 99 | 99.9 | 99.99
$IntervalSidesDOUBLE | LEFT | RIGHT
$RefIntervalOutlierTestNONE | REED | TUKEY
$FollowCLSITRUE | FALSE
$RobustMethodTRUE | FALSE
$LogTRUE | FALSE
$BoxCoxTransformTRUE | FALSE
$LambdaReal
$ShiftReal
$NormalityTestKOLSMIR | DAGPEAR | SHAPWILK | SHAPFRANC | CHISQ | NONE
$BootstrapLoopsInteger
$RandomNrSeedInteger
$ShowGraphTRUE | FALSE

For details, see Reference interval

Regression
PROCREGRESSION
$VariableXVariable
$VariableYVariable
$WeightsVariable
$FilterFilter
$SubgroupsVariable
$ThroughOriginTRUE | FALSE
$RegressionModelLINEAR | LOGX | LOGY | LOGLOG | QUADRATIC
$NormalityTestKOLSMIR | DAGPEAR | SHAPWILK | SHAPFRANC | CHISQ | NONE

For details, see Regression

Relative risk and Odds ratio
PROCRELATIVERISK
$Factor1Variable
$Factor2Variable
$FilterFilter
$RelRiskTRUE | FALSE
$NNTTRUE | FALSE
$OddsRatioTRUE | FALSE

For details, see Relative risk & Odds ratio

Repeated Measures ANOVA
PROCREPEATED
$Covariates[1..24]Variable(s)
$FactorVariable
$FilterFilter
$LogTRUE | FALSE

For details, see Repeated measures analysis of variance

Responsiveness
PROCRESPONSIVENESS
$Variable1Variable
$Variable2Variable
$FilterFilter
$PairedTRUE | FALSE
$FirstMinusSecondTRUE | FALSE
$BootstrapLoopsInteger
$RandomNrSeedInteger

For details, see Responsiveness

ROC Curve analysis
PROCROC
$VariableVariable
$ClassifierDichotomous variable
$FilterFilter
$ROCMethodDELONG | HANLEY
$BinomialCITRUE | FALSE
$PrevalenceRatioTRUE | FALSE
$PrevalenceReal (range 0..1)
$CriterionListTRUE | FALSE
$ListSensSpecCITRUE | FALSE
$ListLRatiosCITRUE | FALSE
$ListPredictCITRUE | FALSE
$BootstrapYoudenTRUE | FALSE
$ShowSummarytableTRUE | FALSE
$BootstrapLoopsInteger
$RandomNrSeedInteger
$CalcOptCutoffTRUE | FALSE
$TPCReal
$TNCReal
$FPCReal
$FNCReal
$ShowGraphTRUE | FALSE
$MarkPointsTRUE | FALSE
$GraphCITRUE | FALSE

For details, see ROC analysis in MedCalc

Scatter Diagram
PROCSCATTER
$VariableXVariable
$VariableYVariable
$FilterFilter
$SubgroupsVariable
$LogXTRUE | FALSE
$LogYTRUE | FALSE
$LineOfEqualityTRUE | FALSE
$HeatMapTRUE | FALSE
$TrendLineNONE | MOVINGAVG | LOESS | REDUCEDMA | ISOTONIC
$WindowWidthInteger
$SpanInteger (%)

For details, see Scatter diagram

Scatter diagram with regression line
PROCREGRESSIONPLOT
$VariableXVariable
$VariableYVariable
$WeightsVariable
$FilterFilter
$ThroughOriginTRUE | FALSE
$RegressionModelLINEAR | LOGX | LOGY | LOGLOG | QUADRATIC
$LineOfEqualityTRUE | FALSE
$HeatMapTRUE | FALSE
$CICurvesTRUE | FALSE
$PICurvesTRUE | FALSE
$SubgroupsVariable
$SubgroupsPlotALLCASES | SUBONLY | BOTH
$ResidualsPlotTRUE | FALSE

For details, see Scatter diagram & regression line

Signed rank sum test
PROCSIGNEDRANKSUMTEST
$VariableVariable
$FilterFilter
$TestValueReal

For details, see Signed rank sum test (one sample)

Summary Statistics
PROCMEANS
$VariableVariable
$FilterFilter
$SubgroupsVariable
$LogTRUE | FALSE
$Percentiles{percentiles list}
$HarmonicmeanTRUE | FALSE
$GeometricmeanTRUE | FALSE
$TrimmedMeanTRUE | FALSE
$TrimPercentageReal (%)
$NormalityTestKOLSMIR | DAGPEAR | SHAPWILK | SHAPFRANC | CHISQ | NONE

For details, see Summary statistics

Trimmed means: Comparison of independent samples (Yuen-Welch test)
PROCTRIMMEDMEANTEST
$Variable1Variable
$Variable2Variable
$Filter1Filter
$Filter2Filter
$TrimPercentageReal (%)
$CIInteger (%)

For details, see Yuen-Welch test

Trimmed means: Paired samples test
PROCPAIREDTRIMMEDMEANTEST
$Variable1Variable
$Variable2Variable
$FilterFilter
$TrimPercentageReal (%)
$CIInteger (%)

For details, see Trimmed means: Paired samples test

Two-way ANOVA
PROC2WAYANOVA
$VariableVariable
$Factor1Variable
$Factor2Variable
$FilterFilter
$NormalityTestKOLSMIR | DAGPEAR | SHAPWILK | SHAPFRANC | CHISQ | NONE

For details, see Two-way analysis of variance

Waterfall chart
PROCWATERFALLCHART
$VariableVariable
$GroupsGroup variable
$FilterFilter
$ShowCaseNumbersTRUE | FALSE
$WaterfallHorizontalTRUE | FALSE
$WaterfallSortDESCENDING | ASCENDING | NOSORT

For details, see Waterfall chart

Wilcoxon test (paired samples)
PROCWILCOXON
$Variable1Variable
$Variable2Variable
$FilterFilter

For details, see Wilcoxon test (paired samples)

See also