StatBean Name: SimpleRegressionPlot

Purpose: Plots the fitted regression model relating Y and X.

DataSource: SimpleRegression or PolynomialRegression.


Read/Write Properties
NameTypeDescriptionPossible ValuesDefault Value
confidenceLeveldoubleLevel of confidence for the prediction and confidence limits. as a percentage.0.0001-99.999995.0
confidenceLimitsColorColorThe color of the confidence limits.Any valid Color.Color.blue
predictionLimitsColorColorThe color of the prediction limits.Any valid Color.Color.red
predictionMeanSizeintThe number of observations averaged in the value for which the prediction limits apply.1+1
resolutionintThe number of points along the horizontal axis used to draw the fitted line and limits.20-2000200
showConfidenceLimitsbooleanWhether to display confidence limits for the mean of Y.true,falsetrue
showPredictionLimitsbooleanWhether to display prediction limits for new observations.true,falsetrue
xFromYbooleanWhether to plot limits using calibration option (locating x for a predicted y).true,falsefalse

Other properties are inherited from the java.awt.Canvas class and from the general GraphicalStatbean class.

Code Sample - see SimpleRegression.