random number set starting point fixed value

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

random number set starting point fixed value

msherman

Dear List;  I just set the active generator initialization set starting point (fixed) and generated a normal distribution. I assumed that by setting the initialization point that I would be able to replicate the distribution but stats show that the two distributions are not identical. I have googled set starting point and the info that I have read suggests that by using a set fixed value one should be able to replicate the outcome. However, my outcomes are not being replicated. I think I am missing something very basic. Is it that the set point might be fixed but the resulting distiribution of values can be different.  ??  martin

 

 

 

Martin F. Sherman, Ph.D.

Professor of Psychology

Director of Masters Education: Thesis Track

Loyola University Maryland

4501 North Charles Street

222 B Beatty Hall

Baltimore, MD 21210

 

410 617-2417

[hidden email]

 

===================== To manage your subscription to SPSSX-L, send a message to [hidden email] (not to SPSSX-L), with no body text except the command. To leave the list, send the command SIGNOFF SPSSX-L For a list of commands to manage subscriptions, send the command INFO REFCARD
Reply | Threaded
Open this post in threaded view
|

set random number generator set point

msherman

 

Dear List:  In regard to my prior post I had assumed that once I ran the set value that I did not have to run it again for the next distributor. When I re ran the set value and then ran the syntax again the results come out the  same.  martin

 

 

Martin F. Sherman, Ph.D.

Professor of Psychology

Director of Masters Education: Thesis Track

Loyola University Maryland

4501 North Charles Street

222 B Beatty Hall

Baltimore, MD 21210

 

410 617-2417

[hidden email]

 

===================== To manage your subscription to SPSSX-L, send a message to [hidden email] (not to SPSSX-L), with no body text except the command. To leave the list, send the command SIGNOFF SPSSX-L For a list of commands to manage subscriptions, send the command INFO REFCARD
Reply | Threaded
Open this post in threaded view
|

Re: random number set starting point fixed value

Bruce Weaver
Administrator
In reply to this post by msherman
Martin, please post your syntax.  That will allow others to see if they can
duplicate what you're seeing, and perhaps give them some insight into how to
fix the problem.  



msherman wrote

> Dear List;  I just set the active generator initialization set starting
> point (fixed) and generated a normal distribution. I assumed that by
> setting the initialization point that I would be able to replicate the
> distribution but stats show that the two distributions are not identical.
> I have googled set starting point and the info that I have read suggests
> that by using a set fixed value one should be able to replicate the
> outcome. However, my outcomes are not being replicated. I think I am
> missing something very basic. Is it that the set point might be fixed but
> the resulting distiribution of values can be different.  ??  martin
>
>
>
> Martin F. Sherman, Ph.D.
> Professor of Psychology
> Director of Masters Education: Thesis Track
> Loyola University Maryland
> 4501 North Charles Street
> 222 B Beatty Hall
> Baltimore, MD 21210
>
> 410 617-2417

> msherman@

>
>
> =====================
> To manage your subscription to SPSSX-L, send a message to

> LISTSERV@.UGA

>  (not to SPSSX-L), with no body text except the
> command. To leave the list, send the command
> SIGNOFF SPSSX-L
> For a list of commands to manage subscriptions, send the command
> INFO REFCARD





-----
--
Bruce Weaver
[hidden email]
http://sites.google.com/a/lakeheadu.ca/bweaver/

"When all else fails, RTFM."

NOTE: My Hotmail account is not monitored regularly.
To send me an e-mail, please use the address shown above.

--
Sent from: http://spssx-discussion.1045642.n5.nabble.com/

=====================
To manage your subscription to SPSSX-L, send a message to
[hidden email] (not to SPSSX-L), with no body text except the
command. To leave the list, send the command
SIGNOFF SPSSX-L
For a list of commands to manage subscriptions, send the command
INFO REFCARD
--
Bruce Weaver
bweaver@lakeheadu.ca
http://sites.google.com/a/lakeheadu.ca/bweaver/

"When all else fails, RTFM."

NOTE: My Hotmail account is not monitored regularly.
To send me an e-mail, please use the address shown above.
Reply | Threaded
Open this post in threaded view
|

Re: random number set starting point fixed value

Bruce Weaver
Administrator
Martin, in future, please post your follow-ups to the same thread as the
original post.  I didn't see your follow-up until after I responded to your
first post.

http://spssx-discussion.1045642.n5.nabble.com/set-random-number-generator-set-point-td5735812.html



Bruce Weaver wrote

> Martin, please post your syntax.  That will allow others to see if they
> can
> duplicate what you're seeing, and perhaps give them some insight into how
> to
> fix the problem.  
>
>
>
> msherman wrote
>> Dear List;  I just set the active generator initialization set starting
>> point (fixed) and generated a normal distribution. I assumed that by
>> setting the initialization point that I would be able to replicate the
>> distribution but stats show that the two distributions are not identical.
>> I have googled set starting point and the info that I have read suggests
>> that by using a set fixed value one should be able to replicate the
>> outcome. However, my outcomes are not being replicated. I think I am
>> missing something very basic. Is it that the set point might be fixed but
>> the resulting distiribution of values can be different.  ??  martin
>>
>>
>>
>> Martin F. Sherman, Ph.D.
>> Professor of Psychology
>> Director of Masters Education: Thesis Track
>> Loyola University Maryland
>> 4501 North Charles Street
>> 222 B Beatty Hall
>> Baltimore, MD 21210
>>
>> 410 617-2417
>
>> msherman@
>
>>
>>
>> =====================
>> To manage your subscription to SPSSX-L, send a message to
>
>> LISTSERV@.UGA
>
>>  (not to SPSSX-L), with no body text except the
>> command. To leave the list, send the command
>> SIGNOFF SPSSX-L
>> For a list of commands to manage subscriptions, send the command
>> INFO REFCARD
>
>
>
>
>
> -----
> --
> Bruce Weaver

> bweaver@

> http://sites.google.com/a/lakeheadu.ca/bweaver/
>
> "When all else fails, RTFM."
>
> NOTE: My Hotmail account is not monitored regularly.
> To send me an e-mail, please use the address shown above.
>
> --
> Sent from: http://spssx-discussion.1045642.n5.nabble.com/
>
> =====================
> To manage your subscription to SPSSX-L, send a message to

> LISTSERV@.UGA

>  (not to SPSSX-L), with no body text except the
> command. To leave the list, send the command
> SIGNOFF SPSSX-L
> For a list of commands to manage subscriptions, send the command
> INFO REFCARD





-----
--
Bruce Weaver
[hidden email]
http://sites.google.com/a/lakeheadu.ca/bweaver/

"When all else fails, RTFM."

NOTE: My Hotmail account is not monitored regularly.
To send me an e-mail, please use the address shown above.

--
Sent from: http://spssx-discussion.1045642.n5.nabble.com/

=====================
To manage your subscription to SPSSX-L, send a message to
[hidden email] (not to SPSSX-L), with no body text except the
command. To leave the list, send the command
SIGNOFF SPSSX-L
For a list of commands to manage subscriptions, send the command
INFO REFCARD
--
Bruce Weaver
bweaver@lakeheadu.ca
http://sites.google.com/a/lakeheadu.ca/bweaver/

"When all else fails, RTFM."

NOTE: My Hotmail account is not monitored regularly.
To send me an e-mail, please use the address shown above.
Reply | Threaded
Open this post in threaded view
|

Re: random number set starting point fixed value

David Marso
Administrator
FWIW:  I just a moment ago moved the followup post to this thread.



-----
Please reply to the list and not to my personal email.
Those desiring my consulting or training services please feel free to email me.
---
"Nolite dare sanctum canibus neque mittatis margaritas vestras ante porcos ne forte conculcent eas pedibus suis."
Cum es damnatorum possederunt porcos iens ut salire off sanguinum cliff in abyssum?"
--
Sent from: http://spssx-discussion.1045642.n5.nabble.com/

=====================
To manage your subscription to SPSSX-L, send a message to
[hidden email] (not to SPSSX-L), with no body text except the
command. To leave the list, send the command
SIGNOFF SPSSX-L
For a list of commands to manage subscriptions, send the command
INFO REFCARD
Please reply to the list and not to my personal email.
Those desiring my consulting or training services please feel free to email me.
---
"Nolite dare sanctum canibus neque mittatis margaritas vestras ante porcos ne forte conculcent eas pedibus suis."
Cum es damnatorum possederunt porcos iens ut salire off sanguinum cliff in abyssum?"
Reply | Threaded
Open this post in threaded view
|

Re: random number set starting point fixed value

Jon Peck
In reply to this post by msherman
There are two entirely different random number generators in Statistics: the older, traditional generator and the newer and better - more random - Mersenne twister.  Their seeds are set by SET SEED and MTINDEX, respectively.  Which one is in use is determined by SET RNG.

So it is possible that you are setting the seed for the generator that is not currently in use.  SHOW RNG displays the current setting, which persists between sessions.

The MT generator is recommended, but the older generator is still present for compatibility.

On Wed, Mar 28, 2018 at 6:42 AM, Martin Sherman <[hidden email]> wrote:

Dear List;  I just set the active generator initialization set starting point (fixed) and generated a normal distribution. I assumed that by setting the initialization point that I would be able to replicate the distribution but stats show that the two distributions are not identical. I have googled set starting point and the info that I have read suggests that by using a set fixed value one should be able to replicate the outcome. However, my outcomes are not being replicated. I think I am missing something very basic. Is it that the set point might be fixed but the resulting distiribution of values can be different.  ??  martin

 

 

 

Martin F. Sherman, Ph.D.

Professor of Psychology

Director of Masters Education: Thesis Track

Loyola University Maryland

4501 North Charles Street

222 B Beatty Hall

Baltimore, MD 21210

 

<a href="tel:(410)%20617-2417" value="+14106172417" target="_blank">410 617-2417

[hidden email]

 

===================== To manage your subscription to SPSSX-L, send a message to [hidden email] (not to SPSSX-L), with no body text except the command. To leave the list, send the command SIGNOFF SPSSX-L For a list of commands to manage subscriptions, send the command INFO REFCARD



--
Jon K Peck
[hidden email]

===================== To manage your subscription to SPSSX-L, send a message to [hidden email] (not to SPSSX-L), with no body text except the command. To leave the list, send the command SIGNOFF SPSSX-L For a list of commands to manage subscriptions, send the command INFO REFCARD