Macaulay2 » Documentation
Packages » RandomMonomialIdeals :: ModelName
next | previous | forward | backward | up | index | toc

ModelName -- name of the model used to generate a given sample

Description

An object of type Sample contains several pieces of information about the random sample, namely: the name of the model used to generate the sample, values of the model's parameters used to generate the sample, the size of the sample (that is, the number of data points in it), and the data itself. As each of these is a hash table entry, one obtains the model name by using the hash key ModelName:

i1 : (sample(ER(2,2,0.5),2)).ModelName

o1 = Erdos-Renyi

See also

For the programmer

The object ModelName is a symbol.