powered by
REG is similar to SAS PROC REG.
REG(Formula, Data, eps=1e-8, summarize=TRUE)
a conventional formula for a linear model
a data.frame to be analyzed
data.frame
Less than this value is considered as zero.
If this is FALSE, REG returns just lfit result.
FALSE
REG
lfit
The result is comparable to that of SAS PROC REG.
point estimate of parameters, coefficients
standard error of the point estimate
value for t distribution
probability of larger than absolute t value from t distribution with residual's degree of freedom
beta coefficients
g2 inverse
rank of the model matrix
degree of freedom for the residual
sum of square error
It performs the core function of SAS PROC REG.
# NOT RUN { REG(uptake ~ Plant + Type + Treatment + conc, CO2) REG(uptake ~ conc, CO2, summarize=FALSE) # }
Run the code above in your browser using DataLab