plotCMLE {crov} | R Documentation |
Plot unconstrained and constrained proportional odds logit model
Description
Uses the results of function mdcp
to produce a plot for the Maximum Likelihood Estimators of the parameters of both
the unconstrained and constrained proportional odds logit models (UMLE and CMLE
correspondingly). The UMLE includes confidence intervals. Parameter estimates of ordinal predictors
are graphically linked with segments.
Usage
plotCMLE(
mdcpResult = NULL,
SignifLevel = 0.05,
xposLegend = NULL,
yposLegend = NULL,
xcex.axis = 0.8,
ycex.axis = 0.8,
cexLegend = 1,
methodName = "Not indicated"
)
Arguments
mdcpResult |
An object of class |
SignifLevel |
Significance level to be used when constructing the confidence intervals for each parameter of the unconstrained proportional odds logit model. Default value 0.05. |
xposLegend |
Position of legend on the x-axis. If |
yposLegend |
Position of legend on the y-axis. If |
xcex.axis |
Size of |
ycex.axis |
Size of |
cexLegend |
Size of legend text to be assigned to |
methodName |
Method name to be used in the main title of the plot. |
Value
Plot.
See Also
monoTestBonf
,
monoTestConfReg
,
monoTestBonf
,
constrOptim
.
Examples
# Ordinal predictors: EduLevel, IncQuint, Health,
# Overcrowd, and NumChildren
mdcpExample <- mdcp(QoL ~ EduLevel + Age + IncQuint + Gender + Health, data = crovData,
CLS1 = 0.95, TLBS2 = 0.90, TLNS2 = 0.99, StepSizeCLS2 = 0.0002)
plotCMLE(mdcpResult=mdcpExample,SignifLevel=0.05,xposLegend=14, yposLegend=4.8,
cexLegend=0.8, method="MDCS3")