LRchi {BetterReg}R Documentation

Compute Likelihood Ratio Chi-square for Binomial Logistic Regression with up to 10 predictors

Description

Compute Likelihood Ratio Chi-square for Binomial Logistic Regression with up to 10 predictors

Usage

LRchi(
  data = NULL,
  y = NULL,
  x1 = NULL,
  x2 = NULL,
  x3 = NULL,
  x4 = NULL,
  x5 = NULL,
  x6 = NULL,
  x7 = NULL,
  x8 = NULL,
  x9 = NULL,
  x10 = NULL,
  numpred = NULL
)

Arguments

data

name of your datafile, loaded

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

x6

sixth predictor variable name

x7

seventh predictor variable name

x8

eighth predictor variable name

x9

ninth predictor variable name

x10

tenth predictor variable name

numpred

number of predictors

Examples

LRchi(data=testlog, y="dv", x1="iv1", x2="iv2",numpred=2)

[Package BetterReg version 0.2.0 Index]