powered by
Fitting a simple or multiple linear regression
ols_model(data, y, x)
A tibble of the coefficients, standard errors, t-statistics and p-value
A data frame containing the variables to use
The dependent variable
Set of independent variables
Mutua Kilai
ols_model(data = eduperform, "pi", c("hs", "ps"))
Run the code above in your browser using DataLab