The type Ia supernovae (SNe Ia) observational data are used to estimate the parameters of a cosmological model with cold dark matter and the generalized Chaplygin gas model (GCGM). The GCGM depends essentially on five parameters: the Hubble constant, the parameterĀ related to the velocity of the sound, the equation of state parameter α, the curvature of the Universe and the fraction density of the generalized Chaplygin gas (or the cold dark matter). The parameter α is allowed to take negative values and to be greater than 1. The Bayesian parameter estimation yields α = −0.86 −0.62 , where t0 is the age of the Universe and q0 is the value of the deceleration parameter today. Our results indicate that a Universe completely dominated by the generalized Chaplygin gas is favoured, what reinforces the idea that the this gas may unify the description for dark matter and dark energy, at least as the SNe Ia data is concerned. A closed and accelerating Universe is also favoured. The traditional Chaplygin gas model (CGM), α = 1 is not ruled out, even if it does not give the best-fitting. Particular cases with four or three independent free parameters are also analysed. PACS number(s): 98.80. Bp, 98.80.Es, 04.60.Gw