next up previous contents index
Next: Generating vectors of random Up: Constructing data over many Previous: Constructing data from other

Constructing data for a range of cases

For the second form of the syntax, the range of cases for which observations are to be constructed are given explicitly as the pair of integers tex2html_wrap_inline36494 . This form of the syntax must be used if there are no data-carriers in the definition part from which a selection of cases can be made. For example, to assign the same scalar to a data quantity for a range of cases, we would use a syntax similar to

BD>datavec : X(1,20)=0 tex2html_wrap_inline33712

This second form of the syntax differs from the first form only in this regard: that an explicit range of values is given rather than deduced. Hence, if there are data quantities (data vectors) in the definition part, these are treated as in the first form of the syntax.



David Wooff
Wed Oct 21 15:14:31 BST 1998