Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2007
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2007

[Date Index] [Thread Index] [Author Index]

Search the Archive

Beginner--Help on Listing Values

  • To: mathgroup at smc.vnet.net
  • Subject: [mg74919] Beginner--Help on Listing Values
  • From: m.lungay at gmail.com
  • Date: Wed, 11 Apr 2007 01:58:30 -0400 (EDT)

I need to create a list of probability values for a certain random variable X. It is very difficult if i keep on enumerating the entries especially when the length required is large, say the list is of length 100. Maybe there is some way where I could generate the entries in a random manner. There is a code Random[], but how could I implement it in a List manner so that the sum of the results must be 1. Please help!

 

Link to the forum page for this post:
http://www.mathematica-users.org/webMathematica/wiki/wiki.jsp?pageName=Special:Forum_ViewTopic&pid=17333#p17333
Posted through http://www.mathematica-users.org [[postId=17333]]




  • Prev by Date: Clean-up code for packages
  • Next by Date: Re: numerical inversion of laplace transform
  • Previous by thread: Re: Clean-up code for packages
  • Next by thread: Re: Beginner--Help on Listing Values