powered by
A tool for multiple regression, select independent variables, check multiple linear regression assumptions and identify possible.
mlrpro(Data,Y,Column_Y,Alpha)
An object of class mlrpro is a list containing at least the following components:
mlrpro
a named vector of coefficients.
the residuals, that is response minus fitted values.
the fitted mean values.
the numeric rank of the fitted linear model.
the residual degrees of freedom.
the matched call.
the terms object used.
if requested (the default), the model frame used.
lambda value utilized in the data conversion.
a data frame containing the variables in the model.
the response variable.
the column response variable.
significance level.
data(trees) Model1 <- mlrpro(Data = trees,Y = trees$Volume, Column_Y = 3, Alpha = 0.05) ## or ## data(mtcars) Model2 <- mlrpro(Data = mtcars,Y = mtcars$mpg, Column_Y = 1 , Alpha = 0.01)
Run the code above in your browser using DataLab