Series of unique random numbers ? (EV6)

For questions regarding programming in the EViews programming language.

Moderators: EViews Gareth, EViews Moderator, EViews Jason, EViews Matt

yashper
Posts: 1
Joined: Mon Jul 12, 2010 9:30 am

Series of unique random numbers ? (EV6)

Postby yashper » Mon Jul 12, 2010 10:24 am

Dear all,

In my attempt to make a MC simulation, I need to generate a set of unique random numbers from uniform distribution. This set is generated once per step, so there is no problem of non uniqueness once the current iteration is over. What I was trying to do, is to create a column matrix with each row filled with these random numbers, and then make a loop to compare i-th element to all others... This lead to an infinite looping. Is there a possibility to create such a series? Or is there a possibility (command) to check with TRUE/FALSE output if the given value is in the set?

Thank you for the rely. Please, don't hesitate to ask me for clarifications, as I am new to these boards and my post may not be sufficiently complete.
Yan

Return to “Programming”

Who is online

Users browsing this forum: No registered users and 2 guests