Faculdade de Ciências da Universidade de Lisboa

LMA · Faculdade de Ciências da Universidade de Lisboa

Computational Methods

MCCourse Page
  • 6 ECTS
  • 1st Semester
  • Exam: Not specified
Overall
No reviews yet
Workload
--

Feedback

💬

No feedback for this course yet

Be the first to share your experience, or ask your friends to leave feedback! Your input helps future students make better choices.

Give Feedback!

About the course

Objectives

This curricular unit aims to develop students’ skills in the use of R and Python , two programming languages and computing environments widely applied in scientific frameworks. At the same time, it is intended that students consolidate and integrate knowledge previously acquired, or to be acquired in other curricular units, in the fields of data processing and problem solving within Statistics and Operational Research. By the end of this curricular unit, students should be able to effectively implement a variety of methodologies in Statistics and Operational Research.

Syllabus

Module 1: Python language and applications

  1. Programming basics in Python : matrix operations; I/O; flow control commands; graphics; scripts vs functions.
  2. Complexity: algorithmic complexity; complexity of decision and optimization problem classes.

3 Search algorithms and their algorithmic complexity.

4 Graph representation.

5 Solving classic Operational Research problems using Python.

Module 2: R language and applications

  1. R Basics: General overview; arrays, matrices; operators and fundamental functions in R; input/output operations; graphics; building functions; control structures; pre-defined libraries. R in Statistics
  2. Numerical methods for solving equations. Newton-Raphson's method.
  3. Approximating integrals - the rectangle, the trapezoidal and Simpson's rules.
  4. Simulation. The inverse transformation method. How to use simulated data to make inferences.
  5. Approximating integrals by Monte Carlo.

Assessment

a) Option 1: each module is evaluated separately. The modules are equally weighted.

1st module: the evaluation will take place at the end of the module, before the lectures of the 2nd module start.

2nd module: the evaluation will take place on the date of the first exam indicated in the FCUL exam calendar.

b) Option 2: both modules are evaluated in the same date according to the FCUL exam calendar. The modules are equally weighted.

Bibliography

Main

  • Numerical Methods of Statistics, Monahan, J., 2011, Cambridge University Press
  • Introduction to Scientific Programming and Simulation Using R, Robinson, A., Jones, O., and Maillardet, R. and Robinson, A., 2009, Chapman and Hall / CRC Press
  • Elements of Computational Statistics, Gentle, J., 2009, Springer
  • Introductory Statistics with R, Dalgaard, P., 2008, Springer
  • Introduction to algorithms, Robert, C. and Casella, G., 2010, The MIT Press, Cambridge, Massachusetts London, England
  • Model Building in Mathematical Programming, Williams, H.P., 2013, Wiley
  • Introduction to algorithms, T. H. Cormen, C. E. Leiserson, R. Rivest, C. Stein, 2022, MIT Press
  • Phyton Documentation, ., 2026
  • Phyton tutorial, ., 2026
  • Mastering Algorithms with Python: A Practical Approach to Problem Solving and Python Implementation, Chenyang S., 2025, Apress

Secondary