Serving the Quantitative Finance Community

 
User avatar
samira73
Topic Author
Posts: 3
Joined: February 4th, 2015, 11:39 am

how to produce 10000 random number with ziph-mandelbrot

September 9th, 2015, 12:21 pm

helloI can't work this link,can you help me to how use this package?and how I can download this package?
 
User avatar
samira73
Topic Author
Posts: 3
Joined: February 4th, 2015, 11:39 am

how to produce 10000 random number with ziph-mandelbrot

September 9th, 2015, 12:23 pm

QuoteOriginally posted by: outrunyou can browse the source here:https://r-forge.r-project.org/scm/viewv ... ot=zipfreg the "lnre" functionhttps://r-forge.r-project.org/scm/viewvc.php/pkg/zipfR/R/lnre.R?view=markup&root=zipfrhelloI can't work this link,can you help me to how use this package?and how I can download this package?
 
User avatar
tags
Posts: 3624
Joined: February 21st, 2010, 12:58 pm

how to produce 10000 random number with ziph-mandelbrot

September 9th, 2015, 4:32 pm

QuoteOriginally posted by: samira73QuoteOriginally posted by: outrunyou can browse the source here:https://r-forge.r-project.org/scm/viewv ... ot=zipfreg the "lnre" functionhttps://r-forge.r-project.org/scm/viewvc.php/pkg/zipfR/R/lnre.R?view=markup&root=zipfrhelloI can't work this link,can you help me to how use this package?and how I can download this package?one can install zipFr from within R.just open your R console > packages > install packages... then select a mirror and start the download. R will do all the work for you.now, paste the 3 lines of code outrun wrote (replace the marks by quotes/double quotes), and you're done. > zmample [1] 18 16 5 6 125 10 5 640760 479 184948 [11] 99 1 9 18 14 2 559 21 216 6 [21] 51 1 393 2 38 3 2 8 286 3 [31] 277 1 246 35 11 9 1 2 19 8 [41] 946 326 1 7 15 7 2 440 13 18 [51] 28 2 181 1 49 1 98 49 6 10 [61] 66 26 30 7 41 3 5 19 7 8 [71] 18 142 1 24 50 38 3 2 17156 2 [81] 484 3 309 2 3 31 7 23 80 10 [91] 2 4 11 1 6 1 677 6 4193 1 54 Levels: 1 2 3 4 5 6 7 8 9 10 11 13 14 15 16 18 19 21 23 24 26 28 30 ... 640760
Last edited by tags on September 8th, 2015, 10:00 pm, edited 1 time in total.
 
User avatar
samira73
Topic Author
Posts: 3
Joined: February 4th, 2015, 11:39 am

how to produce 10000 random number with ziph-mandelbrot

September 13th, 2015, 10:22 am

QuoteOriginally posted by: tagomaQuoteOriginally posted by: samira73QuoteOriginally posted by: outrunyou can browse the source here:https://r-forge.r-project.org/scm/viewv ... ot=zipfreg the "lnre" functionhttps://r-forge.r-project.org/scm/viewvc.php/pkg/zipfR/R/lnre.R?view=markup&root=zipfrhelloI can't work this link,can you help me to how use this package?and how I can download this package?one can install zipFr from within R.just open your R console > packages > install packages... then select a mirror and start the download. R will do all the work for you.now, paste the 3 lines of code outrun wrote (replace the marks by quotes/double quotes), and you're done. > zmample [1] 18 16 5 6 125 10 5 640760 479 184948 [11] 99 1 9 18 14 2 559 21 216 6 [21] 51 1 393 2 38 3 2 8 286 3 [31] 277 1 246 35 11 9 1 2 19 8 [41] 946 326 1 7 15 7 2 440 13 18 [51] 28 2 181 1 49 1 98 49 6 10 [61] 66 26 30 7 41 3 5 19 7 8 [71] 18 142 1 24 50 38 3 2 17156 2 [81] 484 3 309 2 3 31 7 23 80 10 [91] 2 4 11 1 6 1 677 6 4193 1 54 Levels: 1 2 3 4 5 6 7 8 9 10 11 13 14 15 16 18 19 21 23 24 26 28 30 ... 640760hello and thank you for answer my questionI'd write this 3 line cod of R that tagoma say it.but in R this error exist "Error in lnre("zm", alpha = 2/3, B = 0.1) : object 'lnre.cost.chisq' not found"and I don't know how to remedy this error.are you could help me?
 
User avatar
tags
Posts: 3624
Joined: February 21st, 2010, 12:58 pm

how to produce 10000 random number with ziph-mandelbrot

September 13th, 2015, 10:44 am

Hi Samira.I'm not sure of what you're doing wrong to be honest.Alternatively, try this out.
Last edited by tags on September 12th, 2015, 10:00 pm, edited 1 time in total.
 
User avatar
samira73
Topic Author
Posts: 3
Joined: February 4th, 2015, 11:39 am

how to produce 10000 random number with ziph-mandelbrot

September 13th, 2015, 6:39 pm

QuoteOriginally posted by: tagomaHi Samira.I'm not sure of what you're doing wrong to be honest.Alternatively, try this out.that's very good...I hope answer ..
 
User avatar
samira73
Topic Author
Posts: 3
Joined: February 4th, 2015, 11:39 am

how to produce 10000 random number with ziph-mandelbrot

September 14th, 2015, 6:56 am

QuoteOriginally posted by: tagomaHi Samira.I'm not sure of what you're doing wrong to be honest.Alternatively, try this out.Hi, if I use zipf's low how does it code?because zipf distribution has 1 parameter and I don't use this cod with B=0 because this is wrong.can you help me?