RT Conference Proceedings T1 Random samples generation with Stata from continuous and discrete distributions A1 Aguilera-Venegas, Gabriel A1 Galán-García, José Luis A1 Galán-García, María Ángeles A1 Padilla-Domínguez, Yolanda Carmen A1 Rodríguez-Cielos, Pedro A1 Rodríguez-Cielos, Ricardo K1 Estadística - Proceso de datos K1 Stata (Programa de ordenador) AB Simulations are nowadays a very important way of analyzing new improvements in different areas before the physical implementation, which may require hard resources which could only be affronted in case of a high probability of success. The use of random samples from different distributions are a must in simulations.In this talk we introduce new Stata functions for generating random samples from continuous and discrete distributions that are not considered in the defined Stata random-number generation functions. In addition, we will also introduce new Stata functions for generating random samples as an alternative of the build-in Stata functions.The goodness of the generated samples will be checked using the mean squared error (MSE) of the differences between the frequencies of the sample and the theoretical expected ones. We will also provide bar charts which will allow the user to compare graphically the sample with the exact distribution function of the random distribution which is being sampled. YR 2018 FD 2018-03-12 LK https://hdl.handle.net/10630/15381 UL https://hdl.handle.net/10630/15381 LA eng NO Universidad de Málaga. Campus de Excelencia Internacional Andalucía Tech DS RIUMA. Repositorio Institucional de la Universidad de Málaga RD 4 mar 2026