compareToFullModel: compareToFullModel

Description Usage Arguments Note

Description

Performs a likelyhood ratio test lrtest on a simple model of correlatedVariable[1] ~ correlatedVariable[2] vs a full model coreletedVariable[1] ~ correlatedVariable[2] + regressOverVariables...

Usage

1
2
compareToFullModel(data, correlatedVariable, regressOverVariables,
  outputType = "store")

Arguments

data

dta table containing the columns of data present in coreletedVariable and resgressedVariable

correlatedVariable

: string vector with 2 rows contianing the correlated variable

regressOverVariables

: string vector containing all variable names to regress on

Note

: actually note sure if this function works TODO(Albert): to test - change name - integrate to larger function


albertbuchard/r-pipeline documentation built on May 5, 2019, 6:57 p.m.