Object Reference : Object View and Procedure Reference : Rowvector
Fill a rowvector object with specified values.
vector_name.fill(options) n1[, n2, n3 …]
Follow the keyword with a list of values to place in the specified object. Each value should be separated by a comma.
Running out of values before the object is completely filled is not an error; the remaining cells or observations will be unaffected, unless the “l” option is specified. If, however, you list more values than the object can hold, EViews will not modify any observations and will return an error message.
Loop repeatedly over the list of values as many times as it takes to fill the object.
o=integer (default=1)
Fill the object from the specified element. Default is the first element.
The following example declares a four element rowvector MC, initially filled with zeros. The second line fills MC with the specified values and the third line replaces from column 3 to the last column with –1.
rowvector(4) mc
mc.fill 0.1, 0.2, 0.5, 0.5
mc.fill(o=3,l) -1
See “Matrix Language” for a detailed discussion of rowvector and matrix manipulation in EViews.