https://github.com/ahmet-agaoglu/the-corridor-method

This repository contains the MATLAB implementation of a novel method for line fitting under bounded-error constraints. It features the Corridor Method for accurately delineating the feasible parameter set (FPS) and provides solutions for estimating regression parameters for cases with unknown error distributions and normally distributed errors.

https://github.com/ahmet-agaoglu/the-corridor-method

Science Score: 36.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
  • DOI references
    Found 2 DOI reference(s) in README
  • Academic publication links
    Links to: zenodo.org
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (14.4%) to scientific vocabulary
Last synced: 10 months ago · JSON representation

Repository

This repository contains the MATLAB implementation of a novel method for line fitting under bounded-error constraints. It features the Corridor Method for accurately delineating the feasible parameter set (FPS) and provides solutions for estimating regression parameters for cases with unknown error distributions and normally distributed errors.

Basic Info
  • Host: GitHub
  • Owner: Ahmet-Agaoglu
  • License: mit
  • Language: MATLAB
  • Default Branch: main
  • Size: 6.84 KB
Statistics
  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • Open Issues: 0
  • Releases: 1
Created over 1 year ago · Last pushed over 1 year ago
Metadata Files
Readme License

README.md

The-Corridor-Method DOI

Authors

Ahmet Agaoglu, Namik Ciblak

Description

This repository contains the MATLAB implementation of a novel method for line fitting under bounded-error constraints. It features the Corridor Method for accurately delineating the feasible parameter set (FPS) and provides solutions for estimating regression parameters for cases with unknown error distributions and normally distributed errors.

Files Included

The repository includes a MATLAB function: - CorridorMethod.m: This function determines the FPS and computes: - The centroid of the FPS, which serves as the optimal estimate in cases where no distributional information about the errors is available. - The optimal solution for normally distributed errors.

Additionally, the function visualizes the FPS along with the centroid (blue circle), the Ordinary Least Squares solution (black star), and the optimal solution (red circle) for normally distributed errors.

Function Inputs:

  • x: Independent variable values.
  • y: Dependent variable values.
  • Lb: Lower bounds of the dependent variable values.
  • Ub: Upper bounds of the dependent variable values.

Function Outputs:

  • V: Vertices of the FPS.
  • cntrd: Centroid of the FPS (used for unknown error distributions).
  • optSol: Optimal solution for normally distributed errors.

Installation

  1. Clone or download the repository to your system.
  2. Set the downloaded folder as the MATLAB working directory.

Dependencies

  • MATLAB R2014 or later.
  • Required Toolboxes:
    • Statistics and Machine Learning Toolbox

Usage

To run the code, call the function CorridorMethod with the required inputs.

Example

x = [1, 2, 3, 4, 5]; y = [2.1, 4.2, 5.9, 7.8, 9.9]; Lb = y - 0.5; Ub = y + 0.5;

[V, cntrd, optSol] = CorridorMethod(x, y, Lb, Ub);

Reproducibility

To reproduce the results from the accompanying study:

  1. Prepare synthetic or real-world datasets with known bounds on measurement errors.
  2. Run the CorridorMethod function on these datasets.
  3. Compare the outputs (FPS, centroid, and optimal point) with baseline methods such as Ordinary Least Squares, Constrained Linear Least Squares, and Regularized Chebyshev Center.

Citation

If you use this code in your research, please cite: @article{Agaoglu2024, title={A Fast and Accurate Geometric Method for Line Fitting with Bounded Errors}, author={Ahmet Agaoglu and Namik Ciblak}, journal={Under Review}, year={2024}, doi={}}

License

This project is licensed under the MIT License - see the LICENSE file for details.

Owner

  • Login: Ahmet-Agaoglu
  • Kind: user

GitHub Events

Total
  • Push event: 2
  • Create event: 3
Last Year
  • Push event: 2
  • Create event: 3