Skip to content

9 statistics are included. What you need to provide are two vectors: label column and prediction column.

Notifications You must be signed in to change notification settings

RuiGao9/GoodnessOfFitModel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 

Repository files navigation

Content of this repository

Three files are contained in this repository.

  • "Manual.pdf" explains details about this repository.
  • "gfit.py" is the function which can be called.
  • "README.md" shows a brief information about this repository.

Considered goodness-of-fit statistics

9 statistics are included in this function called "gfit.py". They are:

  • RMSE: Root Mean Square Error
  • RRMSE: Relative Root Mean Square Error
  • MAE: Mean Absolute Error
  • r: correlation coefficient
  • R2: coefficient of determination
  • E: coefficient of efficiency
  • MSE: Mean Squared Error
  • RSD: The standard deviation of the residual
  • CV: The coefficient of variation regarding the residual between the "true" and prediction values

Brief introduction of this repository

Two input vectors, observations and estimations, are supposed to be provided at least, and another two, “type_statistic” and “residual” are optional. As a result, t score, p value, and the selected goodness-of-fit statistic are returned by this python function. This python function package mainly contains 3 parts: residual plot (optional), goodness-of-fit statistics, and the student’s t test (optional).

Details can be found in the attached manual. This repository is supposed to be modified later accordingly. If there is any mistakes, welcome leave comments and send them to me.

Rui Gao
rui.gao@aggiemail.usu.edu

About

9 statistics are included. What you need to provide are two vectors: label column and prediction column.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages