This webpage contains download links for scripts and other software resources that enable you to compute beta regression models of the kind described in Smithson & Verkuilen (2006), Verkuilen & Smithson (2011), and Smithson, Merkle & Verkuilen (2011). These are variously available in SPSS, SPlus/R, SAS and WinBUGS from this page. There is also a file containing R code for generating the graphs shown in our 2006 paper. We plan further updates as more resources become available.
We strongly advise downloading this Readme document before embarking on beta regression estimation in any software environment. The links in the table below enable you to download files containing instructions, commented code, and examples from our 2006 paper.
SPSS files |
S-Plus/R files |
SAS files |
Instructions (MSWord) | Instructions (MSWord) | SAS instructions/examples |
Instructions (pdf) | Instructions (pdf) | |
Example1.sav | Example1.txt | |
Example2.sav | Example2.txt |
|
Example3.sav | Example3.txt | |
Graphing code (MSWord) | ||
Graphing code (pdf) |
There is an excellent beta regression package now available in R, maintained by Achim Zeileis <Achim.Zeileis@R-project.org>.
In addition to allowing regressors in both location and dispersions submodels, it has good diagnostics and is well documented.
It is available from
http://CRAN.R-project.org/
The next set of links below enables you to download files containing instructions, commented code, and examples from Verkuilen & Smithson (2011).
Variance Partition |
Section 4.1 |
Section 4.2 |
Section 4.3 |
WinBUGS code | SPSS data file | Instructions (MSWord) | SAS code |
Excel file | SPSS syntax file | Instructions (pdf) | SAS data |
SAS code + data | |||
WinBUGS code + data |
The next set of links below enables you to download files containing commented code and data for the examples in Smithson, Merkle & Verkuilen (2011).
Example 1 |
Example 2 |
Example 3 |
SPSS code | SPSS code | SPSS code |
SPSS data file | SPSS data file | SPSS data file |
SAS code + data | SAS code + data | SAS code + data |
WinBUGS code + data | WinBUGS code + data |