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: to test - change name - integrate to larger function


doomhammerhell/pipeline-r documentation built on Dec. 20, 2021, 12:13 a.m.