depbcomp {BetterReg}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)

Description

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)

Usage

depbcomp(
  data = NULL,
  y = NULL,
  x1 = NULL,
  x2 = NULL,
  x3 = NULL,
  x4 = NULL,
  x5 = NULL,
  numpred = NULL,
  comps = "abs"
)

Arguments

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

Value

Comparing Dependent Coefficients in Multiple Regression

Examples

depbcomp(data=testreg,y=y,x1=x1,x2=x2,x3=x3,x4=x4,x5=x5, numpred=5,comps="abs")

[Package BetterReg version 0.2.0 Index]