search for: gfun

Displaying 10 results from an estimated 10 matches for "gfun".

Did you mean: fun
2006 Jan 19
1
nls profiling with algorithm="port" may violate bounds (PR#8508)
...(but well-defined) when the parameters are negative ... As always, please don't hesitate to correct me if I'm being an idiot ... cheers Ben Bolker ----------------------- rm(list=ls()) npts=10 set.seed(1001) a =2 b =0.5 x= runif(npts) y = a*x/(1+a*b*x)+rnorm(npts,sd=0.2) gfun <- function(a,b,x) { if (a<0 || b<0) stop("bounds violated") a*x/(1+a*b*x) } m1 = nls(y~gfun(a,b,x),algorithm="port", lower=c(0,0),start=c(a=1,b=1)) try(confint(m1)) ---------------- for what it's worth, the logic appears to be OK in mle in the stats4...
2005 Nov 28
1
using minor tickmarks with xYplot
...o have but I don't seem to find any discussion on the topic. Following is one of the things I tried and the error returned: xYplot(y~x,data.frame(x=seq(1,10),y=runif(10)),minor.ticks=c(3.5,5.5)) Error in panel(x = c(1, 2, 3, 4, 5, 6, 7, 8, 9, 10), y = c(0.88172451662831, : object "gfun" not found It's important that I use "xYplot" and not "plot" so function minor.tick() is not useful. Anything I can try? Thanks in advance for your help. vn
2006 Jan 17
0
nls profile with port/constraints
...t; (but well-defined) when the parameters are negative ... As always, please don't hesitate to correct me if I'm being an idiot ... cheers Ben Bolker ----------------------- rm(list=ls()) npts=10 set.seed(1001) a =2 b =0.5 x= runif(npts) y = a*x/(1+a*b*x)+rnorm(npts,sd=0.2) gfun <- function(a,b,x) { if (a<0 || b<0) stop("bounds violated") a*x/(1+a*b*x) } m1 = nls(y~gfun(a,b,x),algorithm="port", lower=c(0,0),start=c(a=1,b=1)) try(confint(m1)) ---------------- for what it's worth, the logic appears to be OK in mle in the stats4 l...
2008 Jun 18
1
Maximum Likelihood Estimation
Using R, I would like to calculate algorithms to estimate coefficients á and â within the gamma function: f(costij)=((costij)^á)*exp(â*costij).  I have its logarithmic diminishing line data (Logarithmic Diminishing Line Data Table) and have installed R¢s Maximum Likelihood Estimation package; however, I am unsure which method to apply in order to calculate the algorisms (i.e., Newton-Raphson
2011 Feb 08
1
Grouping by factors in R
I'm having a hard time figuring out how to group results by certain factors in R. I have data with the following headings: [1] "Time" "Plot" "LatCat" "Elevation" "ElevCat" "Aspect" "AspCat" "Slope" [9] "SlopeCat" "Species" "SizeClass" "Stems" and
2019 Nov 22
1
[PATCH v4] pci: prevent putting nvidia GPUs into lower device states on certain intel bridges
...} } ElseIf ((PIOF == 0x02)) { If ((P2GP == Zero)) { Return (Zero) } } PEBA = \XBAS /* External reference */ PDEV = GDEV (PIOF) PFUN = GFUN (PIOF) Name (SCLK, Package (0x03) { One, 0x80, Zero }) If ((CCHK (PIOF, Zero) == Zero)) { Return (Zero) } \_SB.PCI0.PEG0.PEGP.LTRE = \_SB.PCI0.PEG0....
2019 Nov 22
0
[PATCH v4] pci: prevent putting nvidia GPUs into lower device states on certain intel bridges
...(PIOF == 0x02)) > { > If ((P2GP == Zero)) > { > Return (Zero) > } > } > > PEBA = \XBAS /* External reference */ > PDEV = GDEV (PIOF) > PFUN = GFUN (PIOF) > Name (SCLK, Package (0x03) > { > One, > 0x80, > Zero > }) > If ((CCHK (PIOF, Zero) == Zero)) > { > Return (Zero) > } > &g...
2019 Nov 20
4
[PATCH v4] pci: prevent putting nvidia GPUs into lower device states on certain intel bridges
...} } ElseIf ((PIOF == 0x02)) { If ((P2GP == Zero)) { Return (Zero) } } PEBA = \XBAS /* External reference */ PDEV = GDEV (PIOF) PFUN = GFUN (PIOF) Name (SCLK, Package (0x03) { One, 0x80, Zero }) If ((CCHK (PIOF, Zero) == Zero)) { Return (Zero) } \_SB.PCI0.PEG0.PEGP.LTRE = \_SB.PCI0.PEG0....
2019 Nov 20
1
[PATCH v4] pci: prevent putting nvidia GPUs into lower device states on certain intel bridges
Hi Karol, On Tue, Nov 19, 2019 at 11:26:45PM +0100, Karol Herbst wrote: > On Tue, Nov 19, 2019 at 10:50 PM Bjorn Helgaas <helgaas at kernel.org> wrote: > > > > [+cc Dave] > > > > On Thu, Oct 17, 2019 at 02:19:01PM +0200, Karol Herbst wrote: > > > Fixes state transitions of Nvidia Pascal GPUs from D3cold into higher device > > > states. > >
2019 Nov 22
3
[PATCH v4] pci: prevent putting nvidia GPUs into lower device states on certain intel bridges
On Thu, Nov 21, 2019 at 11:39:23PM +0100, Rafael J. Wysocki wrote: > On Thu, Nov 21, 2019 at 8:49 PM Mika Westerberg > <mika.westerberg at intel.com> wrote: > > > > On Thu, Nov 21, 2019 at 04:43:24PM +0100, Rafael J. Wysocki wrote: > > > On Thu, Nov 21, 2019 at 1:52 PM Mika Westerberg > > > <mika.westerberg at intel.com> wrote: > > > >