search for: upperlimit

Displaying 14 results from an estimated 14 matches for "upperlimit".

2012 Oct 02
3
Integration in R
...t;-1/((1+exp(x[1]+x[2]*dose[i]))*(1+exp(x[3]+x[4]*dose[i]))) psi1<-exp(x[1]+x[2]*dose[i])/((1+exp(x[1]+x[2]*dose[i]))*(1+exp(x[3]+x[4]*dose[i]))) v<-v*(psi0^y0[i])*(psi1^y1[i])*((1-psi0-psi1)^y2[i]) } return(v) } adaptIntegrate(lf, lowerLimit = c(-20, 0,-20,0), upperLimit = c(0,10,0,10)) --------------------------------------------------------------------------------------------------------------------------------- Thanks for your attention. Kind regards, Jamil. [[alternative HTML version deleted]]
2011 Jan 27
0
adaptIntegral takes too much time
Hello Dear List members, as you can see (and guess) from the code below adaptIntegrate(f,lowerLimit=c(-1,-1),upperLimit=c(.9999,.9999)) $integral [1] 9.997e-09 $error [1] 1.665168e-16 $functionEvaluations [1] 17 $returnCode [1] 0 > adaptIntegrate(f,lowerLimit=c(-1,-1),upperLimit=c(1,1)) the last command runs for 45 mins now. -this one takes only less than sec: adaptIntegrate(f,lowerLimit=c(-1,-1),upperLim...
2012 Mar 25
1
cubature
...rical integration on a double integral with a 1 x 2 vector x. Say the function is something simple to start like f(x)=x1*x2 and I wish to integrate x1 over (0,365-x2) and x2 over (0,365) f <- function(x) {(x[2])*(x[1])} # "x" is vector int1<-adaptIntegrate(f, lowerLimit = c(0, 0), upperLimit = c(365-x[2], 365)) I recieve the following error: Error in adaptIntegrate(f, lowerLimit = c(0, 0), upperLimit = c(365 - : object 'x' not found The problem is that this code works fine on other machines and I wonder If I am missing some referenced package somewhere. Any help would...
2013 Jan 08
2
Integration in R
...in the interval 0<x1<x2<7. To be sure I tried it by hand and got 114.33, but the following R code is giving me 102.6667. ------------------------------------------------------------------- library(cubature) f<-function(x) { 2/3 * (x[1] + x[2] ) } adaptIntegrate(f, lowerLimit = c(0, 0), upperLimit = c(x[2],7)) ------------------------------------------------------------------- I guess something is wrong with the way I have assigned limits in my codes. May I seek some advice from you. Many thanks. Regards, Jamil. [[alternative HTML version deleted]]
2008 Jun 03
0
ALTQ and cpufreq(4)
...EFLATE device cpufreq altq in pf.conf (these are the lines i've commented out - removed ALTQ -, and the reboots had gone away) : #altq on $if_ppp hfsc bandwidth 512Kb queue { std, ssh, http, ack, vpn, stdack} #queue std bandwidth 16% priority 0 qlimit 1024 hfsc (default realtime 32Kb upperlimit 412Kb) #queue http bandwidth 16% priority 2 qlimit 512 hfsc (realtime 16Kb upperlimit 490Kb ) #queue ssh bandwidth 16% priority 5 qlimit 512 hfsc (realtime 32Kb upperlimit 490Kb ) #queue stdack bandwidth 16% priority 5 qlimit 1024 hfsc ( realtime 8Kb upperlimit 384Kb) #queue vpn bandwidth 16% prior...
2002 Nov 24
1
How to compile samba-2.2.x on HP/UX 11.00
...7:32 pandora smbd[6744]: an Invalid argument error. This can happen when using 64 bit lock offsets I've checked but the filesystem is local and a locking test program compiled with the same definitions (_LARGEFILE64_SOURCE) gave the same results. Whenever _LAGEFILE64_SOURCE is defined the upperlimit for offset is 2Gb otherwise EINVAL is returned. So I thought adding _FILE_OFFSET_BITS=64 would do the trick. Upperlimit for locking got raised beyond 2Gb and my locking test program showed me this. But now the tdb code starts acting up. Nov 23 14:43:24 pandora nmbd[13772]: [2002/11/23 14:43:24...
2012 May 23
0
Error from using adaptIntegrate within a function that is then integrated
...alls the function adaptIntegrate. In particular I want \int \hat{f}(x,y) - f(x,y) dx dy where \hat{f}(x,y) = \int K(a,b, x, y) da db and in this simulation study I know what the true value of f(x,y) is. I can use adaptIntegrate to calculate \hat{f}(x1,y1) = adaptIntegrate( K, lowerLimit=c(a1,b1), upperLimit=c(a2,b2), x=x1, y=y1)$integral which gives a real number. However if I define the following integrand and try to use adaptIntegrate on it I run into problems: integrand <- function(x1,y1){ return(adaptIntegrate( K, lowerLimit=c(a1,b1), upperLimit=c(a2,b2), x=x1, y=y1)$integral - f(x1,...
2010 Sep 21
3
bivariate vector numerical integration with infinite range
Dear list, I'm seeking some advice regarding a particular numerical integration I wish to perform. The integrand f takes two real arguments x and y and returns a vector of constant length N. The range of integration is [0, infty) for x and [a,b] (finite) for y. Since the integrand has values in R^N I did not find a built-in function to perform numerical quadrature, so I wrote my own after
2006 Oct 13
1
HFSC question??
...n manage??? and i don''t understand why must choose lowest not max vertual time? Is it relative with fairness excess service all class? 4. my lab... i found bandwidth allocation by HFSC comparation with HTB ... found At first time that class starting up, HFSC will receive banwidth nearly upperlimit rate nomatter in that time have a lot class active???? (it''s like can send with burst rate in HTB) so comparation with HTB, At first time that class starting up, HTB receive bandwidth not peak like burst but it use interval time for increase bandwidth until start with rate and then with c...
2011 Nov 28
0
function manipulation for integration
Hi All, I'm trying to use one of the (2D) numerical integration functions, which is not where the problem is. The function definition is as follows: adaptIntegrate(f, lowerLimit, upperLimit, ...) The problem is that I want to integrate a 3D function which has been parametrised such that it is a 2D function: eg. I want to integrate f(x_start+gradient_x*t1, y_start+gradient_y*t2) for t1 in [0,1] and t2 in [0,1]. To explain the example in another way I only have access to f, x_start, y...
2005 Dec 10
2
quantile regression problem
...I have them ( and I cannot change it) I am getting errors - mainly about non-positive fis. Could somebody please let me know whether there was a way to analyse the data? The data are enclosed and the question is Is there a relationship between abundance and absdeviation? I am interested in the upperlimit so I wanted to analyze the upper 5%. Thanks a lot for your help All the best Zuzana Munzbergova www.natur.cuni.cz/~zuzmun -------------- next part -------------- abundance absdeviation 1 0.051643192 0 2 0.056338028 1 3 0.075117371 0 4 0.131455399 0 5 0.075117371 1 6 0.009389671 1 7 0.02...
2006 Sep 17
1
HTB and HFSC,declaration tc command question
...&gt; calculate bandwidth for leaf class and what about service curve(sc)??? it''s specify only in root class??? 4. Is it true?? In root class, or interior class will doing with only Link-sharing criterion, so can specify declaration only link-sharing -&gt;ls(umax, dmax, rate) and Upperlimit -&gt;ls(umanx,dmax,rate) it''s not important to declaration real-time curve (rt) because in HFSC theory will use real-time criterion only Leaf class 5. In HFSC, upper limit are bandwidth rate that guarantee maximum bandwidth rate in each class as ceil in HTB??? 6. I''m dou...
2006 Sep 20
0
HTB and HFSC, tc command question
...rt -> calculate bandwidth for leaf class and what about service curve(sc)??? it''s specify only in root class??? 5. Is it true?? In root class, or interior class will doing with only Link-sharing criterion, so can specify declaration only link-sharing ->ls(umax, dmax, rate) and Upperlimit ->ls(umanx,dmax,rate) it''s not important to declaration real-time curve (rt) because in HFSC theory will use real-time criterion only Leaf class 6. In HFSC, upper limit are bandwidth rate that guarantee maximum bandwidth rate in each class as ceil in HTB??? 6. I''m dou...
2006 Sep 18
0
HTB and HFSC tc commandd syntax question
...-&gt; calculate bandwidth for leaf class and what about service curve(sc)??? it''s specify only in root class??? 4. Is it true?? In root class, or interior class will doing with only Link-sharing criterion, so can specify declaration only link-sharing -&gt;ls(umax, dmax, rate) and Upperlimit -&gt;ls(umanx,dmax,rate) it''s not important to declaration real-time curve (rt) because in HFSC theory will use real-time criterion only Leaf class 5. In HFSC, upper limit are bandwidth rate that guarantee maximum bandwidth rate in each class as ceil in HTB??? 6. I''m doubt...