Be the first to rate this file! 2 Downloads (last 30 days) File Size: 3.04 KB File ID: #24994

Beta regression

by Willem-Jan de Goeij

 

11 Aug 2009 (Updated 08 Dec 2009)

Estimation of a beta regression model (logit link function). The parameters are estimated with ML.

| Watch this File

File Information
Description

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.

MATLAB release MATLAB 7.0.1 (R14SP1)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Please login to add a comment or rating.
Updates
11 Aug 2009

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

12 Aug 2009

Extended the description.

08 Dec 2009

Replaced fminunc with fminsearch because of convergence problems with fminunc.

Tag Activity for this File
Tag Applied By Date/Time
beta Willem-Jan de Goeij 11 Aug 2009 11:44:47
regression Willem-Jan de Goeij 11 Aug 2009 11:44:47
model Willem-Jan de Goeij 11 Aug 2009 11:44:47
generalized Willem-Jan de Goeij 11 Aug 2009 11:44:47
linear Willem-Jan de Goeij 11 Aug 2009 11:44:47
likelihood Willem-Jan de Goeij 11 Aug 2009 11:44:47
maximum Willem-Jan de Goeij 11 Aug 2009 11:44:47
logit Willem-Jan de Goeij 12 Aug 2009 10:46:32
link Willem-Jan de Goeij 12 Aug 2009 10:46:32
function Willem-Jan de Goeij 12 Aug 2009 10:46:32

Contact us at files@mathworks.com