Consider the vector h = (1, 1, 1, 2, 2, 2) and the matrix A =
2 0 0 1 1 0
0 2 0 1 0 1
0 0 2 0 1 1
- write code in Macaulay 2 version 1.21 to Compute generators for the toric ideals IA and IA,h.
- What familiar statistical model is the discrete exponential family MA,h ?
unable to get IA,h!!
You can use the Quasidegrees package to generate toric ideals.
For the second part, look at the Algebraic Optimization Degree package, maybe it will work for you or get an idea from it. For example with the toricMLIdeal function, you can compute the toric Maximum likelihood ideal.