COMET
  • Get Started
    • Quickstart Guide
    • Install and Use COMET
    • Get Started
  • Learn By Skill Level
    • Getting Started
    • Beginner
    • Intermediate - Econometrics
    • Intermediate - Geospatial
    • Advanced

    • Browse All
  • Learn By Class
    • Making Sense of Economic Data (ECON 226/227)
    • Econometrics I (ECON 325)
    • Econometrics II (ECON 326)
    • Statistics in Geography (GEOG 374)
  • Learn to Research
    • Learn How to Do a Project
  • Teach With COMET
    • Learn how to teach with Jupyter and COMET
    • Using COMET in the Classroom
    • See COMET presentations
  • Contribute
    • Install for Development
    • Write Self Tests
  • Launch COMET
    • Launch on JupyterOpen (with Data)
    • Launch on JupyterOpen (lite)
    • Launch on Syzygy
    • Launch on Colab
    • Launch Locally

    • Project Datasets
    • Github Repository
  • |
  • About
    • COMET Team
    • Copyright Information
  1. Intermediate: Econometrics and Modeling Using R
  • Learn by Skill Level


  • Getting Started: Introduction to Data, R, and Econometrics
    • Intro to JupyterNotebooks
    • Intro to R
    • Intro to Data (Part 1)
    • Intro to Data (Part 2)

  • Beginner: Using R and Data in Applied Econometrics
    • Introduction to Statistics I
    • Introduction to Statistics II
    • Central Tendency
    • Dispersion and Dependence
    • Confidence Intervals
    • Hypothesis Testing
    • Data Visualization I
    • Data Visualization II
    • Distributions
    • Sampling Distributions
    • Simple Regression

  • Intermediate: Econometrics and Modeling Using R
    • Simple Regression
    • Multiple Regression
    • Issues in Regression
    • Interactions

    • Geographic Computation
    • Chi-Square Test
    • t-test
    • ANOVA
    • Regression
    • Wrangling and Visualizing Data

  • Advanced Modules
    • Classification and Clustering
    • Differences In Differences
    • Geospatial I
    • Geospatial II
    • Instrumental Variables I
    • Instrumental Variables II
    • Large Language Model APIs (Python)
    • Linear Differencing
    • Training LLMS
    • Sentiment Analysis Using LLMs (Python)
    • Transcription (Python)
    • Vocalization (Python)
    • Word Embeddings (Python)
    • Word Embeddings (R)
    • Panel Data
    • Synthetic Controls
Categories
All (9)
Breusch-Pagan test (1)
R (4)
White's test (1)
beginner (1)
continuous variable (1)
control variables (1)
controls (1)
data (1)
dummy variable (1)
econ 325 (1)
econ 326 (4)
heteroskedasticity (1)
interaction terms (1)
intermediate (4)
introduction (1)
linear probability model (1)
multicollinearity (1)
multiple regression (3)
non-linear terms (1)
ols (2)
pareto distribution (1)
polynomial terms (1)
regression (4)
robust standard errors (1)
simple regression (1)
t-test (1)
vif (1)

Intermediate: Econometrics and Modeling Using R

The modules in this unit are Intermediate level. They are intended for people who have mastered the basics and are ready to use and R for applied econometric modeling.

  • If you are looking to filter by a specific course, select the course number in the list of categories on the right.
  • If you’re looking for projects, check out our projects page pages for some example and guides.

You should make sure you’re familiar with the basics of R and using data before starting these notebooks. There are also some notebooks that focus on geographic and geospatial computation. This section contains material originally built to support UBC’s GEOG 374 (Statistics in Geography). This course covers statistical techniques for geography. For economics students, these are a valuable supplement to our intermediate econometrics courses.

2.1 - Intermediate - Introduction to Regression
An introduction to simple regression using Jupyter and R, with an emphasis on understanding what regression models are actually doing. Computation is using OLS.
25 Jul 2024

2.2 - Intermediate - Multiple Regression
An introduction to multiple regression using Jupyter and R, connecting simple to multiple regression. We also discuss some important concepts, including control variables.
8 Dec 2022

2.4 - Intermediate - Issues in Regression
What are the key issues with a regression model? This notebook discusses collinearity, heteroskedasticity, and model specification.
8 Dec 2022

2.5 - Intermediate - Interactions and Non-linear Terms
How do we specific non-linear models? Why would we want to do so? This notebook covers non-linear and interaction models, including marginal effects and related issues.
8 Dec 2022
No matching items

Geographic Computation

GEOG 374: \(\chi^2\)-test - Regional and Gender Differences in Canadian Income and Education
This module has a suggested citation of:

GEOG 374: \(t\)-test - Determining Differences in Growth Between Cross-Pollinated and Self-Fertilized Plants
This module has a suggested citation of:

GEOG 374: ANOVA - Nesting Tree Characteristics of the Northern Spotted Owl
This module has a suggested citation of:

GEOG 374: Regression - The Impact of Pacific Ocean Temperatures on Snowpack and Floods in the Fraser River Basin
Pierce, K., Hewitt, N., Jerowsky, M., 2023. Interactive Notebooks for Statistics and Computation in Geography: The Impact of Pacific Ocean Temperatures on Snowpack and…

GEOG 374: Wrangle and Visualize Climate Disaster Data
After completing this notebook, you will be able to: * Explore data to gain a better understanding of its content and structure. * Transform data to meet the needs of data…
No matching items
Multiple Regression
  • Creative Commons License. See details.
 
  • Report an issue
  • The COMET Project and the UBC Vancouver School of Economics are located on the traditional, ancestral and unceded territory of the xʷməθkʷəy̓əm (Musqueam) and Sḵwx̱wú7mesh (Squamish) peoples.