Beta regression

Estimation of a beta regression model (logit link function). The parameters are estimated with ML.
1.2K Downloads
Updated 8 Dec 2009

View License

Estimation of a beta regression model:

Y_i ~ Beta(mu_i, mu_i * (1-mu_i) / phi),

with:
E(Y_i) = mu_i,
Var(Y_i) = mu_i * (1-mu_i) / phi,
mu_i = exp(X_i * beta)/(1 + exp(X_i * beta)).

The parameters are estimated with Maximum Likelihood.

Cite As

Willem-Jan de Goeij (2024). Beta regression (https://www.mathworks.com/matlabcentral/fileexchange/24994-beta-regression), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R14SP1
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Statistics and Machine Learning Toolbox in Help Center and MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.5.0.0

Replaced fminunc with fminsearch because of convergence problems with fminunc.

1.3.0.0

Extended the description.

1.1.0.0

Renamed mysim.m to betasim.m, made a few tiny corrections.

1.0.0.0