Student Pages
Postgraduate course

Medical Statistics with Stata

  • ECTS credits2
  • Teaching semesterSpring, Autumn
  • Course codeMEDSTATA
  • Number of semesters1
  • Language


    English if International PhD candidates.

  • Resources

Main content

Level of Study

Master/ Ph.d.

Teaching semester

Autumn and spring

Objectives and Content


The course will give an introduction to the statistics program STATA with examples of uses in medical research


- Data managing/manipulation, documentation

- Simple descriptive statistics

- Simple analysis of continuous variables (t-test, correlation, linear regression)

- Simple analysis of categorical variables with contingency tables (Chi-square ¿ and Fisher¿s exact test)

- Survival analysis (Kaplan-Meier curves, log-rank test)

- Graphics with STATA

- Menus, log-files and do-files in STATA

- Usage of the help function in STATA and online resources

Learning Outcomes


After completion of the course the student should be able to:

- Understand and manage data and perform simple statistical analyses with Stata


After completion of the course the student should be able to:

- Work with syntax in DO-files in Stata

- Save results in log-files and edit them in a text editor like Word

- Import and export datasets

- Describe and explore datasets

- Create new variables

- Combine datasets

- Perform simple statistical analyses in Stata for continuous and categorical variables (descriptive statistics, t-tests, correlation, linear regression, table-analysis, Kaplan-Meier analysis, log-rank test)

- Create graphical plots with Stata (scatter-plot, line-plot, bar-plot, histogram)

- Edit graphs

Generalized skills

After completion of the course the student should be able to:

- Understand how a typical statistics program works

- Have a basis for starting to use other similar programs

Required Previous Knowledge

Knowledge in medical statistics, MEDSTA, HELSTA or equivalent

Teaching Methods and Extent of Organized Teaching

Lectures and individual practices in STATA with help. Home work.

3 days.

Total hours: 15 hours + home work

Forms of Assessment

Written home examination

Grading Scale



Department of Global Public Health and Primary Care

e-mail: studie@igs.uib.no

Course coordinator: Jannicke Igland


Exam information

  • Type of assessment: Hjemmeeksamen

    Assignment handed out
    05.01.2023, 09:00
    Submission deadline
    20.01.2023, 14:00
    Withdrawal deadline
    Examination system
    Digital exam