.BG M
.VE $Header: /usr3/s/current/s/data/.help/RCS/Cp,v 1.2 83/12/30 23:07:45 rab Exp $
.FN Cp
.TL
?Cp: All Subsets Regression and Cp Plot
.CS
?Cp(x, y, wt, int, names, identify)
.PP
.AG x
matrix of possible independent variables.
.AG y
vector of dependent variable.
.AG wt
optional vector of weights for each observation.
.AG int
logical flag, should intercept term appear in regression
equations.  Default TRUE.
.AG names
optional character vector of names for the variables.
Default is to label the columns of `x' (variables) with
successive letters from the set "123456789ABCDEFG...Z".
.AG identify
logical flag, should user identify regressions from plot
which will then be used to produce full regression statistics?
Default TRUE.
.SH EFFECT
Produces Cp plot and full regression statistics
for regressions optionally selected from the plot.
.EX
?Cp(stack.x,stack.loss)   # all-subsets regression and Cp plot
.PI
.KW regression
.KW hplot*
.KW plot*
.WR
