transformX: find the best transformatio of explanatory variables in...

Description Usage Arguments Value Examples

Description

tranaform the X variables in multiple regression

Usage

1
transformX(mod, control, d, file = "transformX.txt")

Arguments

mod

a formula like y~X1+X2 for the linear model

control

the control variable(s) are those in the model that you don't want to transform, use the form of ~x3+x4

file

the default is'transformX.txt' Note that the file will be saved at the working directory

data

the dataset you will run on

Value

The statistical tests results based on the Maximum likelihood

Examples

1
2
data(data)
transformX(tolerance_scale~as.numeric(EDUC)+as.numeric(lrscale),~factor(gndr),data)

bblpo/diaglm documentation built on May 26, 2019, 11:58 p.m.