|
|
2016 » Papers » Volume 1 » Visual Programming for teaching statistical modeling and simulation 1. VISUAL PROGRAMMING FOR TEACHING STATISTICAL MODELING AND SIMULATION Authors: Tudorica Daniela Volume 1 | DOI: 10.12753/2066-026X-16-024 | Pages: 158-165 | Download PDF | Abstract
Teaching disciplines involving mathematical modeling, simulation, statistics and data analysis can be approached in an attractive manner for students (from specialization such as Informatics) if the teacher appeals to visual programming environments. For statistical modeling and simulation, programming skills allow implementation of Windows applications with user friendly interface, with graphical representations and easy to interpret results. The objective of this paper is to present the facilities of a modern visual programming environment (Microsoft Visual C#), for teaching in an attractive way applications for generating random variables, statistical indicators calculation or empirical probabilities calculation.
As a case study is presented the development of an application that models a real-life problem. It is considered that the time (in years) of operation for an equipment has a negative exponential distribution of parameter lambda. We are interested in mean time of functioning and the probability that an equipment will function properly after a number of years. In a first step, using visual components, graphical interface of the application is built. Using methods for generating random variables (inverse method or rejection method) there are simulated functioning times with a negative exponential distribution. Some statistical indicators, such as mean or variance are calculated and the probability of various events are calculated empirically by approximation with frequency. Values obtained through modeling and simulation are compared with theoretical values (mean, frequency, percentile).
The research concludes that a visual programming environment has tools that allow a programmer implementation of more complex applications than those generally made using a specialized software for statistical analysis. | Keywords
modeling, simulation, visual programming |
|
|
|