search for: sobol

Displaying 20 results from an estimated 42 matches for "sobol".

Did you mean: cobol
2011 Oct 22
2
Segfault and bad output with fOptions::rnorm.sobol
I have had the following problem with R 2.10, 2.13.1, and 2.13.2, running on Ubuntu linux 10.04, xubuntu 11.10, and a version of Redhat (I think 5). rnorm.sobol is producing impossible random values, and occasionally the routine crashes. Here are samples of the output and the crash message. library(fOptions) Zs <- rnorm.sobol(50, dimension=1) produces this: [,1] [1,] 0.000000e+00 [2,] -3.550884e-28 [3,] -3.550884e-28 [4,] 7.29763...
2017 May 09
2
registering Fortran routines in R packages
...n.r-project.org/doc/manuals/r-release/R-exts.html#Registering-native-routines and looking at what is done in stats package, I first thought that the following code will do the job: static const R_FortranMethodDef FortEntries[] = { {"halton", (DL_FUNC) &F77_NAME(HALTON), 7}, {"sobol", (DL_FUNC) &F77_NAME(SOBOL), 11}, {NULL, NULL, 0} }; But I got error messages when building : use of undeclared identifier ?SOBOL_?. I also tried in lower case sobol and halton. Looking at expm package https://r-forge.r-project.org/scm/viewvc.php/pkg/src/init.c?view=markup&revisio...
2008 Aug 01
0
sensitivity
...Here are the new features list: New functionalities: * sequential bifurcation method (sb function) [VERSION ALPHA] * 3D plot 3D for the Morris method (function plot3d.morris, needs the rgl package) * simplex designs for Morris method (function morris) * multidimensional Sobol indices (function sobol) * argument return.var in sobol methods in order to have local variables which are not saved in the output object, for example the bootstrap replicates (functions sobol and sobol2002) * template files writing (function template.replace) *...
2008 Aug 01
0
sensitivity
...Here are the new features list: New functionalities: * sequential bifurcation method (sb function) [VERSION ALPHA] * 3D plot 3D for the Morris method (function plot3d.morris, needs the rgl package) * simplex designs for Morris method (function morris) * multidimensional Sobol indices (function sobol) * argument return.var in sobol methods in order to have local variables which are not saved in the output object, for example the bootstrap replicates (functions sobol and sobol2002) * template files writing (function template.replace) *...
2017 May 10
3
registering Fortran routines in R packages
Thanks for your email. I try to change the name in lowercase but it conflicts with a C implementation also named halton. So I rename the C function halton2() and sobol2() while the Fortran function are HALTON() and SOBOL() (I also try lower case in the Fortran code). Unfortunately, it does not help since I get init.c:97:25: error: use of undeclared identifier 'halton_'; did you mean 'halton2'? {"halton", (DL_FUNC) &F77_SUB(halton)...
2012 Jan 19
0
Global sensitivity indices using sensitivity package: sobol, sobol2002
Dear R users, I have been trying to estimate global sensitivity indices such as the sobol 1st and 2nd order indices. I managed to obtain the PRCC. The example presented in the sensitivity package on sobol2002 seems to work well for linear models: for example: calculate y for given x values. However, when trying to apply this technique to dynamic models (SIR type), the error messages...
2017 May 09
0
registering Fortran routines in R packages
...c/manuals/r-release/R-exts.html#Registering-native-routines and looking at what is done in stats package, I first thought that the following code will do the job: > > static const R_FortranMethodDef FortEntries[] = { > {"halton", (DL_FUNC) &F77_NAME(HALTON), 7}, > {"sobol", (DL_FUNC) &F77_NAME(SOBOL), 11}, > {NULL, NULL, 0} > }; > > But I got error messages when building : use of undeclared identifier ?SOBOL_?. I also tried in lower case sobol and halton. > > Looking at expm package https://r-forge.r-project.org/scm/viewvc.php/pkg/src/i...
2008 Apr 26
6
quasi-random sequences
...rm(N, mean = 0 , sd= 1) > plot(positions,type="p",cex=sizes) My problem is to avoid collisions (overlap, really) between the points. I would like some random pattern, but with a minimum exclusion distance. In looking up "Numerical recipes in C", I found out about some Sobol quasi-random sequences, which one can call from the gsl package, > library(gsl) > > g <- qrng_alloc(type="sobol",dim=2) > qrng_get(g,n= N) ->xy > > plot((xy),t="p",cex=0.5) but this does not look very random: I clearly see some pattern (diagonals,...
2007 Oct 29
2
Changing size of lattice plot?
Hi I am having a bit of difficulty with changing the canvas size on a trellis/lattice plot. I am plotting two "cubes" of 3-dimensional random numbers, as follows: library(gsl) library(lattice) q <- qrng_alloc(type="sobol", 3) npoints <- 200 rs <- qrng_get(q,npoints) # Plot the normal variates in a 3-dim cube p1 <- cloud(rnorm(npoints) ~ rnorm(npoints) + rnorm(npoints), xlab="x", ylab="y", zlab="z", pch=21, main=paste(npoints,"3-Dimensional ~N(0,1)")) p2 <- c...
2006 Mar 31
1
Fortran and C entry point problem.
...ror messages. I then open R and tests out two functions and get: > pgl(0.2,1,2,3,4) Error in .C("gl_fmkl_distfunc", lambdas[1], lambdas[2], lambdas[3], lambdas[4], : C entry point "gl_fmkl_distfunc" not in DLL for package "mypackage" > runif.sobol(10,5) Error in .Fortran("sobol", as.double(qn), as.integer(n), as.integer(dimension), : Fortran entry point "sobol_" not in DLL for package "mypackage" Alternatively running C CMD check mypackage will also pick up these errors when they try to run th...
2003 Aug 05
1
So now I'm playing around with Queues....
and I found a reference to an AgentLogin.rtf. Looks great, except I can't get it to work. queues.conf: [sjs-testq] music = default timeout = 1 retry = 1 maxlen = 0 member => Agent/10001 agents.conf: agent => 10001,1234,Steve Sobol extensions.conf: (I have a phone line set up on which the main menu tells you to press 1 to be added to queue. Pressing 1 lands you here) exten => 1,1,playback(auth-thankyou) exten => 1,2,queue,sjs-testq <<--- I don't think this is right! exten => 1,3,goto(1,1) (From the ag...
2006 Mar 31
1
Fortran and C entry point problem.
...ror messages. I then open R and tests out two functions and get: > pgl(0.2,1,2,3,4) Error in .C("gl_fmkl_distfunc", lambdas[1], lambdas[2], lambdas[3], lambdas[4], : C entry point "gl_fmkl_distfunc" not in DLL for package "mypackage" > runif.sobol(10,5) Error in .Fortran("sobol", as.double(qn), as.integer(n), as.integer(dimension), : Fortran entry point "sobol_" not in DLL for package "mypackage" Alternatively running C CMD check mypackage will also pick up these errors when they try to run th...
2006 Nov 13
2
STUN with one public and one private IP?
...sonal server. So I'm wondering... I'm using stund from SourceForge. Is there any reason I couldn't give the Trixbox's public IP address as the primary and 127.0.0.1 as the secondary? I believe Asterisk is listening on the loopback interface... Thanks in advance, Steve -- Steve Sobol, Professional Geek ** Java/VB/VC/PHP/Perl ** Linux/*BSD/Windows Victorville, California PGP:0xE3AE35ED It's all fun and games until someone starts a bonfire in the living room.
2003 Sep 25
2
AGI: getting the return code from an exec()'d application?
...mand to the server - but the return code of the print() is not what I want - the return code of the application is what I want. How do I exec an app through AGI and get *its* return code? -- JustThe.net Internet & Multimedia Services 22674 Motnocab Road * Apple Valley, CA 92307-1950 Steve Sobol, Proprietor 888.480.4NET (4638) * 248.724.4NET * sjsobol@JustThe.net
2003 Jul 21
4
Dynamically setting up/tearing down extensions
...uld be used in a production environment. But I have a lot of questions before I can do that. BTW, I have looked in the archives, and it's been suggested that maybe AGI is a better way to handle this sort of thing - but wouldn't the same issues still exist?? Thanks SJS -- Steven J. Sobol, Geek In Charge, JustThe.net "Microsoft must think they're a navy, they open so many ports." --Ben Scott on the ISP-TECH mailing list, 18 June 2003
2003 Jul 31
1
PHP API for Manager - Plaintext auth needed?
...ticate using MD5. I would strongly prefer not to do plaintext authentication at all. Would anyone object to plaintext authentication being left out? -- JustThe.net Internet & Multimedia Svcs. [The Fusion of Content & Connectivity] 22674 Motnocab Road * Apple Valley, CA 92307-1950 Steve Sobol, Proprietor 888.480.4NET (4638) * 248.724.4NET * sjsobol@JustThe.net
2003 Sep 08
1
SIP Status Codes
Can anyone give me a pointer to descriptions of the status codes my Grandstream phone displays? I've looked on Google but can't find a definitive listing of SIP codes. -- JustThe.net Internet & Multimedia Services 22674 Motnocab Road * Apple Valley, CA 92307-1950 Steve Sobol, Proprietor 888.480.4NET (4638) * 248.724.4NET * sjsobol@JustThe.net
2003 Oct 14
3
My Grandstream works, but my X-Lite doesn't: no sound after 5sec
...ndstream 101 I'm using is a piece of junk but I don't have the same problem with it. Not sure whether the issue is X-Lite or the Asterisk server. Has anyone else had this problem? -- JustThe.net Internet & Multimedia Services 22674 Motnocab Road * Apple Valley, CA 92307-1950 Steve Sobol, Proprietor 888.480.4NET (4638) * 248.724.4NET * sjsobol@JustThe.net
2003 Jul 30
3
Manager.pm port
...APIs, which will be almost identical (at least, to whatever extent is practical). Will let y'all know when I have some usable code to show you. -- JustThe.net Internet & Multimedia Svcs. [The Fusion of Content & Connectivity] 22674 Motnocab Road * Apple Valley, CA 92307-1950 Steve Sobol, Proprietor 888.480.4NET (4638) * 248.724.4NET * sjsobol@JustThe.net
2005 Dec 27
7
help remove duplication in my app
I''m porting an old site of mine into Rails and I''m running into some duplication that could / needs to be weeded out. For each of my actions, I have to wrap the view content in the following HTML: <div class="box"> <img src="/images/content-top2.png" class="border" /> <div class="visible"> # content