STIN300 Statistical Programming in R
Check for course changes due to the coronavirus outbreak on Canvas and StudentWeb.
Showing course contents for the educational year starting in 2014 .
Course responsible: Lars Gustav Snipen
Teachers: Solve Sæbø
ECTS credits: 5
Faculty: Department of Chemistry, Biotechnology and Food Science
Teaching language: EN, NO
Limits of class size:
Minimum 5, maximum 100
Teaching exam periods:
This course starts in the January block. This course has teaching/evaluation in the January block
Course frequency: Annually
First time: 2010H
The first part contains an introduction to basic programming in R. Topics are operators, variables, data types, basic data structures (vector, matrix, data.frame, list), control structures (loops, conditionals), functions
The second part contains file handling, text handling, graphics and packages, with repetitions and applications of elements from the first part.
The third part contains a selection of statistical methods and programming related to these. This is closely linked to a compulsory project. Topics are linear regression and discriminant analysis, K-nearest-neighbor methods for regression and classification, cross-validation and model selection, bootstrapping and other simulation based techniques.
Upon completion of the course the student should be capable of performing statistical analyses using a programming approach in R. The students should be able to make their own functions utilizing/modifying available functions in order to solve specific statistical problems. The student should also be able to present the output from statistical analyses in an accessible and scientific form using text and graphics.
Some lectures combined with extensive interactive programming. Students will work actively on programming exercises in the classes, with a lecturer present, such that difficult topics can be highlighted and given proper attention.
Written material and videos have been developed for this course, and will be available on Fronter
Will be specified in the beginning of the course.
Introduction to programming, INF120 or equivalent. Statistics beyond introduction; e. g. STAT200, STAT210 or equivalent.
Mathematics, linear algebra, MATH113 or equivalent
Project exercise. This must be approved before the exam.
Written exam, 3.5 hrs, counts 100 %.
Lectures/exercises 60 hours. Individual studies 90 hours.
Special requirements in Science
Type of course:
Lectures/interactive computer lab 4 hours daily in three weeks.
Students must bring their own laptop with Windows, Linux or MAC OS.
An external examiner evaluates the exam, and grades 25 randomly selected exam papers.
Allowed examination aids: All types of calculators, all other aids.
Examination details: One written exam: Bestått / Ikke bestått