Message Boards Message Boards

0
|
3728 Views
|
2 Replies
|
1 Total Likes
View groups...
Share
Share this post:

[?] Typing functions for random number generator follow distribution?

Posted 4 years ago

Hello,

My name is Decha Promtem.
1. I have problem for typing functions for random number generator follow distribution by specifix random seed. How to type this function?

Sample as
1. random seed (46730) 5 digits. 2. UniformDistribution(3467, 87543). Parameter of uniformdistribution is min and max. 3. If i need ramdon result only 1 time. How to type ? If need only 3 times, How to type ?

I have other question. How to type function for FindDistributionParameters for UniformDistribution.?

Sample as 1. data={345,678,234,567}; 2. FindDistributionParameters[[data,UniformDistribution[x,y]] . What is symbol use for UniformDistribution. min,max can't use.

Thank you for help me

Decha Promtem

POSTED BY: decha promtem
2 Replies
Posted 4 years ago

Very thank you

POSTED BY: decha promtem
Posted 4 years ago

First question:

dist = UniformDistribution[{3467, 87543}];
SeedRandom[46730]
RandomVariate[dist]
RandomVariate[dist, 3]

Second question:

data = {345, 678, 234, 567};
FindDistributionParameters[data, UniformDistribution[{x, y}]]
POSTED BY: Hans Milton
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract