|
|
DataMuseum.dkPresents historical artifacts from the history of: DKUUG/EUUG Conference tapes |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about DKUUG/EUUG Conference tapes Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - metrics - downloadIndex: T r
Length: 2804 (0xaf4)
Types: TextFile
Names: »regress.man«
└─⟦a0efdde77⟧ Bits:30001252 EUUGD11 Tape, 1987 Spring Conference Helsinki
└─⟦this⟧ »EUUGD11/stat-5.3/eu/stat/doc/regress.man«
REGRESS(1) |STAT January 27, 1987
NAME
regress - multivariate linear regression and correlation
SYNOPSIS
regress [-ceprs] [column names]
DESCRIPTION
_▶08◀r_▶08◀e_▶08◀g_▶08◀r_▶08◀e_▶08◀s_▶08◀s performs a general linear correlation and regression analysis
for up to 20 variables. Input is a series of lines, each containing
an equal number of numerical fields. Names for these fields can be
supplied, but if none are given, REG, A, B, C, etc. are used.
For regression analysis, the first column is predicted with all the
others (see _▶08◀d_▶08◀m or _▶08◀c_▶08◀o_▶08◀l_▶08◀e_▶08◀x to reorder columns).
OPTIONS
-c Print the covariance matrix.
-e Save the regression equation in the file _▶08◀r_▶08◀e_▶08◀g_▶08◀r_▶08◀e_▶08◀s_▶08◀s._▶08◀e_▶08◀q_▶08◀n. This file
is designed for use with the data manipulator _▶08◀d_▶08◀m. Suppose the
input to _▶08◀r_▶08◀e_▶08◀g_▶08◀r_▶08◀e_▶08◀s_▶08◀s is in _▶08◀r_▶08◀e_▶08◀g_▶08◀r_▶08◀e_▶08◀s_▶08◀s._▶08◀i_▶08◀n. Then,
regress -e < regress.in
can be followed by
dm Eregress.eqn < regress.in | pair -p
to plot the obtained against the predicted values. The residuals
can be obtained with an extra pass through _▶08◀d_▶08◀m:
dm Eregress.eqn < regress.in | dm x2 x1-x2 | pair -p
-p Do a partial correlation analysis to determine the contribution
of individual predictors after the others have been included.
_▶08◀r_▶08◀e_▶08◀g_▶08◀r_▶08◀e_▶08◀s_▶08◀s reports, for each predictor, the regression weight (b)
and the standardized regression weight (beta). The Rsq value is
the squared multiple correlation of the predictor with all other
predictors; if there is only one predictor, this will be zero,
and if there is only one other, both Rsq's will be identical.
Also reported is the standard error of the regression weight (b).
The significance test answers the question: ``After all the other
variables have been taken into account, does this variable
significantly improve prediction?''
-r Do no regression analysis. Only print the correlation matrix and
summary statistics.
-s Print the matrix of raw sums of squares and cross products.
DIAGNOSTICS
_▶08◀r_▶08◀e_▶08◀g_▶08◀r_▶08◀e_▶08◀s_▶08◀s will complain about a singular correlation matrix if variables
are perfectly correlated.
ALGORITHM
Chapter 4 of Kerlinger and Pedhazur (1973) _▶08◀M_▶08◀u_▶08◀l_▶08◀t_▶08◀i_▶08◀p_▶08◀l_▶08◀e _▶08◀R_▶08◀e_▶08◀g_▶08◀r_▶08◀e_▶08◀s_▶08◀s_▶08◀i_▶08◀o_▶08◀n _▶08◀i_▶08◀n
_▶08◀B_▶08◀e_▶08◀h_▶08◀a_▶08◀v_▶08◀i_▶08◀o_▶08◀r_▶08◀a_▶08◀l _▶08◀R_▶08◀e_▶08◀s_▶08◀e_▶08◀a_▶08◀r_▶08◀c_▶08◀h. New York: Holt, Rinehart & Winston.
LIMITS
Use the -L option to determine the program limits.
MISSING VALUES
Cases with missing data values (NA) are counted but not included in
the analysis.