Skip to contents

Runs country-year OLS models and country-level pooled and between panel models for a prepared modeling dataset.

Usage

estimate_elasticities(
  data,
  response_vars = c("GO", "VA", "EMP", "CO2"),
  predictor_vars = NULL,
  country_col = "COUNTRY",
  year_col = "YEAR",
  entity_col = "INDUSTRIES"
)

Arguments

data

Prepared model matrix.

response_vars

Response columns to estimate.

predictor_vars

Predictor columns.

country_col

Country column name.

year_col

Year column name.

entity_col

Entity index column name.

Value

A `sube_models` object with `ols`, `pooled`, `between`, and combined tidy tables.