Skip to content

dirknbr/pymalp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Maximum Agreement Linear Predictor

This is a Python implementation of

https://github.com/pchausse/malp/blob/main/R/malp.R

I have simplified this quite a bit and a few bits are missing.

model = malp('y ~ x', data)

will estimate the model, you can then make predictions

predict(model)

or use summary(), or plot()

It only allows one independent variable and the SE is calculated via bootstrap.

The unit tests compare against R output.

References

Taeho Kim, Pierre Chaussé, Matteo Bottai, Gheorghe Doros, Mihai Giurcanu, George Luta, Edsel A. Peña, 2025. “Maximum Agreement Linear Prediction.” https://arxiv.org/abs/2304.04221.

About

MALP in Python

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages