Readme file
SERIES C
Applied Statistics
A generalization of the beta-binomial distribution, by
J. Rodríguez-Avi, A. Conde-Sánchez, A. J. Sáez-Castillo and M. J. Olmo-Jiménez
Appl. Statist., 56 (2007), 51 - 61
Data set: In the paper two data sets appear:
a) Data of a sociological experiment about the number of days per week (X) that alcohol is
consumed. A randomly selected sample of 399 Dutch respondents were asked to keep a diary for
two consecutive weeks in which they recorded their daily alcohol consumption. These data have been
obtained from the paper
T. Alanko and P. H. Lemmens (1996). Response effects in consumption surveys: an application of the
beta-binomial model to self-reported drinking frequencies. Journal of Official Statistics, Vol. 12, issue 3, pages
253-273;
b) Data concerning the study of the academic achievement of students of the University of Jaén (Spain).
We have compiled information about the number of subjects passed, X, for every student in the University during the 2003/2004 academic year. These data are in the file C5782R3.txt.
Programs: The programs are written in Matlab.
a) maxverGBB.m: obtains the maximum likelihood
estimations for the GBB distribution. The input is a
data matrix in three columns: the value of n (for the case of n
variables), the values of the variables and their
frequencies. The output is the parameters estimates and
the minus log-likelihood.
b) logverGBB.m: an auxiliary file for maxverGBB. It calculates the log-likelihood in the GBB case.
c)logverBB.m: an auxiliary file for maxverBB. It
calculates the log-likelihood for the BB case.
d) maxverBB.m: obtains the maximum likelihood
estimations for the BB distribution. The input are data
in three columns: the value of n (for the case of n
variables), the values of the variables and their
frequencies. The output is the parameters estimates and
the minus log-likelihood.
e)sum2F1.m Is an auxiliary file for maxverGBB and maxverBB. It
calculates the probability mass function of the GBB
distribution.
José Rodríguez-Avi
Departamento de Estadística e Investigación Operativa
Despacho B3-057
Universidad de Jaén
23071 Jaén
Spain
E-mail: jravi@ujaen.es
http://estio.ujaen.es/Profesores/jravi/jravi.htm
|