From dines.acharya at gmail.com Mon Aug 10 11:38:57 2015 From: dines.acharya at gmail.com (Dinesh Acharya) Date: Mon, 10 Aug 2015 11:38:57 +0200 Subject: [Gsoc-dowd] same seed for randn/rnorm Message-ID: Dear All, In order to generate same random numbers in R as in matlab (as in Dowd's function table6point1.m), I was unable to find any possible/suitable way. Do you have any suggestion for this? Sincerely, Dinesh -------------- next part -------------- An HTML attachment was scrubbed... URL: From brian at braverock.com Mon Aug 10 11:56:29 2015 From: brian at braverock.com (Brian G. Peterson) Date: Mon, 10 Aug 2015 04:56:29 -0500 Subject: [Gsoc-dowd] same seed for randn/rnorm In-Reply-To: References: Message-ID: <55C8754D.9070503@braverock.com> On 08/10/2015 04:38 AM, Dinesh Acharya wrote: > In order to generate same random numbers in R as in matlab (as in Dowd's > function table6point1.m), I was unable to find any possible/suitable > way. Do you have any suggestion for this? You may need to be a bit more specific for us to help you. I assume you've found this: http://www.mathworks.com/help/matlab/random-number-generation.html and this: https://www.stat.auckland.ac.nz/dsc-2007/abstracts/eddelbuettel06Oct16.pdf I don't know how much data Dowd gives about what seed and algorithm he is using. If you can provide a bit more of an example, perhaps I can be of more help. Regards, Brian -- Brian G. Peterson http://braverock.com/brian/ Ph: 773-459-4973 IM: bgpbraverock From brian at braverock.com Mon Aug 10 13:48:02 2015 From: brian at braverock.com (Brian G. Peterson) Date: Mon, 10 Aug 2015 06:48:02 -0500 Subject: [Gsoc-dowd] same seed for randn/rnorm In-Reply-To: <55C8754D.9070503@braverock.com> References: <55C8754D.9070503@braverock.com> Message-ID: <1439207282.1817.4.camel@brian-rcg> On Mon, 2015-08-10 at 04:56 -0500, Brian G. Peterson wrote: > On 08/10/2015 04:38 AM, Dinesh Acharya wrote: > > In order to generate same random numbers in R as in matlab (as in Dowd's > > function table6point1.m), I was unable to find any possible/suitable > > way. Do you have any suggestion for this? > > You may need to be a bit more specific for us to help you. > > I assume you've found this: > > http://www.mathworks.com/help/matlab/random-number-generation.html > > and this: > > https://www.stat.auckland.ac.nz/dsc-2007/abstracts/eddelbuettel06Oct16.pdf > > I don't know how much data Dowd gives about what seed and algorithm he > is using. If you can provide a bit more of an example, perhaps I can be > of more help. I realized that if his code is using randn, you may want to go through this: http://www.mathworks.com/help/matlab/math/updating-your-random-number-generator-syntax.html If Dowd's code is using the 'v4', 'v5normal', or 'v5uniform' models, then I don't think we'll be able to match in R. In that case, I'd recommend trying with 'twister' in matlab and the same seed in R, to see if we can generate the same pseudo-random stream. Regards, Brian From peter at braverock.com Mon Aug 17 15:13:24 2015 From: peter at braverock.com (Peter Carl) Date: Mon, 17 Aug 2015 08:13:24 -0500 Subject: [Gsoc-dowd] Entering "pencils-down" Message-ID: <55D1DDF4.30900@braverock.com> Dinesh, Looks like you've hit your target - I count 147 functions committed against 147 functions in your plan. Check looks good - I see one warning that might mean you forgot to check in an Rd file: * checking Rd \usage sections ... WARNING Undocumented arguments in documentation object 'NormalESHotspots' 'skew' 'kurtosis' With a clean check in hand, a full set of functionality and a few days in 'pencils-down' mode, how do you want to wrap up? Let me suggest that you submit this to CRAN for broader distribution, and write up some notes for what you would like to do from here... Any other thoughts? pcc From dines.acharya at gmail.com Wed Aug 19 02:47:59 2015 From: dines.acharya at gmail.com (Dinesh Acharya) Date: Wed, 19 Aug 2015 02:47:59 +0200 Subject: [Gsoc-dowd] Entering "pencils-down" In-Reply-To: <55D1DDF4.30900@braverock.com> References: <55D1DDF4.30900@braverock.com> Message-ID: Ok, I will do accordingly. On Mon, Aug 17, 2015 at 3:13 PM, Peter Carl wrote: > Dinesh, > > Looks like you've hit your target - I count 147 functions committed > against 147 functions in your plan. > > Check looks good - I see one warning that might mean you forgot to check > in an Rd file: > * checking Rd \usage sections ... WARNING > Undocumented arguments in documentation object 'NormalESHotspots' > 'skew' 'kurtosis' > > With a clean check in hand, a full set of functionality and a few days in > 'pencils-down' mode, how do you want to wrap up? Let me suggest that you > submit this to CRAN for broader distribution, and write up some notes for > what you would like to do from here... Any other thoughts? > > pcc > _______________________________________________ > GSoC-Dowd mailing list > GSoC-Dowd at lists.r-forge.r-project.org > http://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/gsoc-dowd > -------------- next part -------------- An HTML attachment was scrubbed... URL: From dines.acharya at gmail.com Wed Aug 19 03:11:32 2015 From: dines.acharya at gmail.com (Dinesh Acharya) Date: Wed, 19 Aug 2015 03:11:32 +0200 Subject: [Gsoc-dowd] Entering "pencils-down" In-Reply-To: References: <55D1DDF4.30900@braverock.com> Message-ID: I am not sure how this works, but if I am correct after release to CRAN, the errors if reported will be addressed to maintainer field. I will be very happy to solve those. However, it might be better for you to be aware of that as well. Is there anyway that can (/will) be achieved. On Wed, Aug 19, 2015 at 2:47 AM, Dinesh Acharya wrote: > Ok, I will do accordingly. > > > > On Mon, Aug 17, 2015 at 3:13 PM, Peter Carl wrote: > >> Dinesh, >> >> Looks like you've hit your target - I count 147 functions committed >> against 147 functions in your plan. >> >> Check looks good - I see one warning that might mean you forgot to check >> in an Rd file: >> * checking Rd \usage sections ... WARNING >> Undocumented arguments in documentation object 'NormalESHotspots' >> 'skew' 'kurtosis' >> >> With a clean check in hand, a full set of functionality and a few days in >> 'pencils-down' mode, how do you want to wrap up? Let me suggest that you >> submit this to CRAN for broader distribution, and write up some notes for >> what you would like to do from here... Any other thoughts? >> >> pcc >> _______________________________________________ >> GSoC-Dowd mailing list >> GSoC-Dowd at lists.r-forge.r-project.org >> http://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/gsoc-dowd >> > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From brian at braverock.com Wed Aug 19 03:32:21 2015 From: brian at braverock.com (Brian G. Peterson) Date: Tue, 18 Aug 2015 20:32:21 -0500 Subject: [Gsoc-dowd] Entering "pencils-down" In-Reply-To: References: <55D1DDF4.30900@braverock.com> Message-ID: <55D3DCA5.6030205@braverock.com> start by submitting the package to winbuilder. You can forward the URL of the check results here, and we'll help you resolve them before submitting to CRAN. CRAN wants a clean check on winbuilder for R-devel before you submit to CRAN Regards, Brian On 08/18/2015 08:11 PM, Dinesh Acharya wrote: > I am not sure how this works, but if I am correct after release to CRAN, > the errors if reported will be addressed to maintainer field. I will be > very happy to solve those. However, it might be better for you to be > aware of that as well. Is there anyway that can (/will) be achieved. > > On Wed, Aug 19, 2015 at 2:47 AM, Dinesh Acharya > wrote: > > Ok, I will do accordingly. > > > > On Mon, Aug 17, 2015 at 3:13 PM, Peter Carl > wrote: > > Dinesh, > > Looks like you've hit your target - I count 147 functions > committed against 147 functions in your plan. > > Check looks good - I see one warning that might mean you forgot > to check in an Rd file: > * checking Rd \usage sections ... WARNING > Undocumented arguments in documentation object 'NormalESHotspots' > 'skew' 'kurtosis' > > With a clean check in hand, a full set of functionality and a > few days in 'pencils-down' mode, how do you want to wrap up? > Let me suggest that you submit this to CRAN for broader > distribution, and write up some notes for what you would like to > do from here... Any other thoughts? > > pcc > _______________________________________________ > GSoC-Dowd mailing list > GSoC-Dowd at lists.r-forge.r-project.org > > http://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/gsoc-dowd > > > > > > _______________________________________________ > GSoC-Dowd mailing list > GSoC-Dowd at lists.r-forge.r-project.org > http://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/gsoc-dowd > -- Brian G. Peterson http://braverock.com/brian/ Ph: 773-459-4973 IM: bgpbraverock