Object Reference : Object View and Procedure Reference : Coef
  
 
fill
Fill a coef object with specified values.
Syntax
coef_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 coef vector is completely filled is not an error; the remaining cells or observations will not be modified unless the “l” option is specified. However, if you list more values than the coef vector can hold, EViews will not modify any observations and will return an error message.
Options
 
l
Loop repeatedly over the list of values as many times as it takes to fill the coef vector.
o=integer (default=1)
Fill the coef vector from the specified element. Default is the first element.
Examples
The following example declares a four element coefficient vector MC, initially filled with zeros. The second line fills MC with the specified values and the third line replaces from row 3 to the last row with –1.
coef(4) mc
mc.fill 0.1, 0.2, 0.5, 0.5
mc.fill(o=3,l) -1
Note that the last argument in the fill command above is the letter “l”.
Cross-references
See “Fill assignment” for further discussion of the fill procedure.