Wikipedia:Sandbox/Archive: Difference between revisions
No edit summary |
No edit summary |
||
Line 52: | Line 52: | ||
Wikipedia is cool and provides everyone with everything that you would need! |
Wikipedia is cool and provides everyone with everything that you would need! |
||
== Generating a random sample from Pareto distribution == |
|||
Pareto distribution is not yet recognized by many [[programming languages]]. In [[actuarial]] field, Pareto distribution in widely used to estimate portfolio costs. As a matter of fact, it can be quite demanding to get data from this particular [[probability distribution]]. One can easily generate data from Pareto distribution by mixing 2 [[random variables]], which are usually built-in in many Statistical tools. The process is quite simple; one has to generate numbers from an [[exponential distribution]] with its lambda equal to randomly generated sample from a [[gamma distribution]], with alpha and lambda respectively equal to the arguments of the initial Pareto distribution. |
|||
Example using [[R programming language|R]] |
Revision as of 02:44, 6 April 2006
Welcome to this sandbox page, a space to experiment with editing.
You can either edit the source code ("Edit source" tab above) or use VisualEditor ("Edit" tab above). Click the "Publish changes" button when finished. You can click "Show preview" to see a preview of your edits, or "Show changes" to see what you have changed. Anyone can edit this page and it is automatically cleared regularly (anything you write will not remain indefinitely). Click here to reset the sandbox. You can access your personal sandbox by clicking here, or using the "Sandbox" link in the top right.Creating an account gives you access to a personal sandbox, among other benefits. Do NOT, under any circumstances, place promotional, copyrighted, offensive, or libelous content in sandbox pages. Doing so WILL get you blocked from editing. For more info about sandboxes, see Wikipedia:About the sandbox and Help:My sandbox. New to Wikipedia? See the contributing to Wikipedia page or our tutorial. Questions? Try the Teahouse! |
The coolest place ever is located near where I live. I really really really like Wikipedia! These guys produced the music I am listening to now.
Opponent | Matches | Victories | Ties | Defeats | Goals scored | Goals conceded | First match |
Last match |
Croatia | 1 | 0 | 1 | 0 | 1 | 1 | 1:1 (on August 17, 2005 at Poljud, Split) | 1:1 (on August 17, 2005 at Poljud, Split) |
Australia | 3 | 2 | 0 | 1 | 7 | 1 | 4:0 (on April 1, 2006 at Sydney Croatia Sports Centre, Sydney) | 0:0 (on April 3, 2006 at Maracanã, Rio de Janeiro) |
Japan | 10 | 8 | 1 | 1 | 47 | 12 | 7:1 (on April 1, 1969 at Parque São Jorge, São Paulo) | 0:1 (on April 1, 2000 at Ajinomoto Stadium, Tokyo) |
aaaaaaaaaaaaaaaaaaaaaaa
Wikipedia is cool and provides everyone with everything that you would need!
Generating a random sample from Pareto distribution
Pareto distribution is not yet recognized by many programming languages. In actuarial field, Pareto distribution in widely used to estimate portfolio costs. As a matter of fact, it can be quite demanding to get data from this particular probability distribution. One can easily generate data from Pareto distribution by mixing 2 random variables, which are usually built-in in many Statistical tools. The process is quite simple; one has to generate numbers from an exponential distribution with its lambda equal to randomly generated sample from a gamma distribution, with alpha and lambda respectively equal to the arguments of the initial Pareto distribution. Example using R