ols_model: Fitting a simple or multiple linear regression

View source: R/ecometrics.R

ols_modelR Documentation

Fitting a simple or multiple linear regression

Description

Fitting a simple or multiple linear regression

Usage

ols_model(data, y, x)

Arguments

data

A data frame containing the variables to use

y

The dependent variable

x

Set of independent variables

Value

A tibble of the coefficients, standard errors, t-statistics and p-value

Author(s)

Mutua Kilai

Examples

ols_model(data = eduperform, "pi", c("hs", "ps"))



EcoMetrics documentation built on April 3, 2025, 10:06 p.m.