Linear Regression Single Coefficient (t or z Test)

treg(
  calculate = "selectpower",
  stdinput = FALSE,
  beta1 = 0.25,
  beta0 = 0,
  margin = 0,
  sdx = 1,
  sdy = 1,
  k = 1,
  r2 = 0,
  power = 0.8,
  alpha = 0.05,
  alternative = "not equal",
  n = 200
)

Arguments

calculate

.

stdinput

.

beta1

.

beta0

.

margin

.

sdx

.

sdy

.

k

.

r2

.

power

.

alpha

.

alternative

.

n

.

Value

A results object containing:

results$text2a preformatted
results$plotan image