MS-E1621 - Algebraic Statistics D, 09.09.2020-04.12.2020
This course space end date is set to 04.12.2020 Search Courses: MS-E1621
Doing more
Loops and other expressions: https://faculty.math.illinois.edu/Macaulay2/doc/Macaulay2-1.15/share/doc/Macaulay2/Macaulay2Doc/html/___The_sp__Macaulay2_splanguage.html (see "expressions")
Packages: http://www2.macaulay2.com/Macaulay2/Packages/
(A lot of packages come pre-installed with the Macaulay2 distribution but they are not automatically loaded. For that, you need to include needsPackage "PackageName")
Exercise 1: Later in the course, we will study graphical models. Those are the statistical models where the dependencies between variables can be described using a graph. (The vertices of the graph correspond to variables and edges represent the conditional dependence structure).
For now, let's do a warm-up exercise.
Construct an undirected graph with edges {{1,2},{2,3},{1,3}}. Check whether it is cyclic. (You'll need the package "Graphs", undirected graphs are called Graph in Macaulay 2 and they are constructed using the function graph. There is also a function isCyclic)
Macaulay2 and algebraic statistics: check Section 3.5 "Computational Algebra Vignettes" from Sullivant's book
General tutorials: http://habanero.math.cornell.edu:3690