depbcomp | R Documentation |
Power for Comparing Dependent Coefficients in Multiple Regression with Two or Three Predictors Requires correlations between all variables as sample size. Means, sds, and alpha are option. Also computes Power(All)
depbcomp( data = NULL, y = NULL, x1 = NULL, x2 = NULL, x3 = NULL, x4 = NULL, x5 = NULL, numpred = NULL, comps = "abs" )
data |
name of data file |
y |
dependent variable name |
x1 |
first predictor variable name |
x2 |
second predictor variable name |
x3 |
third predictor variable name |
x4 |
fourth predictor variable name |
x5 |
fifth predictor variable name |
numpred |
number of predictors |
comps |
Type of comparison, "abs" for absolute values or "raw" for raw coefficients |
Comparing Dependent Coefficients in Multiple Regression
depbcomp(data=testreg,y="y",x1="x1",x2="x2",x3="x3",x4="x4",x5="x5", numpred=5,comps="abs")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.