Skip to content

JonathanWillnow/Basis_Choice_FLR

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

593 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Basis Choice for Scalar-on-Function Regression with Applications to Near-Infrared Spectroscopy

This is the final project for the Research Module in Econometrics and Statistics (Winter Semester 2021/2022) of Jonghun Baek, Jakob R. Juergens, and Jonathan Willnow. This course is part of the Master of Science Economics at the University of Bonn and was supervised by Prof. Dr. Dominik Liebl and Dr. Christopher Walsh.

This repository contains the Paper, the Slides for the presentation, and the code used for the simulations.

Overview

In this project we studied model selection using cross validation in a scalar-on-function regression setting. The theoretical part of this paper introduces the necessary theory to conduct scalar on function regression using both basis expansions and functional principal components. The practical part, split into a Monte-Carlo simulation and an applciation to Near-Infrared Spectroscopy Data, is inspired by a paper called Functional Principal Component Regression and Functional Partial Least Squares by Philip T. Reiss and R. Todd Ogden.

In the simulation part we study the three different bases: B-splines, Fourier and Monomial and compare their performance for different numbers of basis functions in a cross-validation procedure focussed on prediction accuracy for a known coefficient function. Therefore, we do estimation using both a simple basis expansion of the observations and the coefficient function with the chosen basis, but also an estimation procedure based on the scores of functional principle components calculated based on the chosen basis.

The results of these simulations then inform the interpretation of the application where we try to predict real octane values from near-infrared spectroscopy curves from gasoline samples using the same approaches.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Jupyter Notebook 51.4%
  • R 26.2%
  • TeX 22.4%