SOURCEBOOK

EASI Articles

Data Analysis | Regression

Prior to the steps below, enter the data as appropriate for the analyses (described elsewhere). As always, the following commands should be typed directly in the R console window.

Obtaining Descriptive Statistics

Get the means and standard deviations for the variables.

(CorrelationData) |> describeMoments()

Get the covariance matrix for the variables.

(CorrelationData) |> describeCovariances()

Obtaining Inferential Statistics

Get the proportion of variance accounted for by the model.

(CorrelationData) |> estimateModel()

Test the regression coefficients for statistical significance.

(CorrelationData) |> testCoefficients()