Displaying 13 results from an estimated 13 matches for "pk3".
Did you mean:
p3
2023 Nov 06
2
non-linear regression and root finding
...concentration I can calculate accurately the pH if I
know 3 pK values for HEPES by finding the single root with uniroot
Now, the problem is that there is some disagreement in the literature
what is the correct value for the 3 pKs. I know the 3 pK values have the
relationship pK1 < pK2 <- pK3 and for the most common formulation of
HEPES I know the charge on fully protonated species is 2. Hence I can
generate a huge number of pK values from uniform distribution by taking
sort(runif(3,-1,9) and make sure there are no ties and then run all
those triplets of pK values to find pH values...
2023 Nov 06
1
non-linear regression and root finding
...which delivers charge in the
> fluid for known pKs, HEPTOT and SID. Is it possible to have
> root-finding in the formula with nls?
Sure. Just reformulate the problem in terms of a function that takes a
vector of predictors (your independent variable SID) and the desired
parameters (pK1, pK2, pK3) as separate arguments and then returns
predicted values of the dependent variable (to compare against pHobs):
kw <- 1e-14 # I'm assuming
pHm <- Vectorize(function(SID, pK1, pK2, pK3)
-log10(uniroot(HEPESFUNC,c(1e-20,1),tol=1e-20,maxiter=1e4,
HEPTOT=HEPTOT,SID = SID, pK1=pK1,pK2...
2023 Nov 06
2
non-linear regression and root finding
Thanks a lot! This was amazing. I'm not sure I see how the conditiion
pK1 < pK2 < pK3 is enforced? - it comes from the derivation via
generalized Henderson-Hasselbalch but perhaps it is not really
necessary. Anyway, the use of Vectorize did the trick!
Best wishes
Troels
Den 06-11-2023 kl. 19:19 skrev Ivan Krylov:
> ? Mon, 6 Nov 2023 17:53:49 +0100
> Troels Ring <tring a...
2008 Dec 08
1
Call of Duty problem.
...d that is well up to the job (using nvidia acceleration etc....v177)
There are some funny reports in the below message...
Can anyone help?
Regards
Si
COD 1.3 build win-x86 Mar 2 2004
----- FS_Startup -----
Current language: english
Current search path:
C:\Program Files\Call of Duty\main\pakb.pk3 (60 files)
C:\Program Files\Call of Duty\main\paka.pk3 (41 files)
C:\Program Files\Call of Duty\main\pak9.pk3 (149 files)
C:\Program Files\Call of Duty\main\pak8.pk3 (235 files)
C:\Program Files\Call of Duty\main\pak6.pk3 (3 files)
C:\Program Files\Call of Duty\main\pak5.pk3 (4858 files)
C:\Program...
2023 Nov 06
1
non-linear regression and root finding
...om below.
Note that nls() can only handle bounds in the "port" algorithm, and the
man page rather pours cold water on using that algorithm.
Best, JN
On 2023-11-06 14:43, Troels Ring wrote:
> Thanks a lot! This was amazing. I'm not sure I see how the conditiion pK1 < pK2 < pK3 is enforced? - it comes from the
> derivation via generalized Henderson-Hasselbalch but perhaps it is not really necessary. Anyway, the use of Vectorize
> did the trick!
>
> Best wishes
> Troels
>
> Den 06-11-2023 kl. 19:19 skrev Ivan Krylov:
>> ? Mon, 6 Nov 2023 17:5...
2023 Nov 07
1
non-linear regression and root finding
G'day Troels,
On Mon, 6 Nov 2023 20:43:10 +0100
Troels Ring <tring at gvdnet.dk> wrote:
> Thanks a lot! This was amazing. I'm not sure I see how the conditiion
> pK1 < pK2 < pK3 is enforced?
One way of enforcing such constraints (well, in finite computer
arithemtic only "<=" can be enforced) is to rewrite the parameters as:
pK1 = exp(theta1) ## only if pK1 > 0
pK2 = pK1 + exp(theta2)
pK3 = pk2 + exp(theta3)
And then use your optimiser to optimise...
2010 Jul 27
1
American McGee's Alice(tm) (2000)
...guys,
plz help... i am trying to play American McGee's Alice(tm) (its from 2000), and i installed it. but when i try to run it i get:
Code:
American McGee's Alice win-x86 Nov 13 2000
----- FS_Startup -----
Current search path:
Z:\media\Windows\Games\Ububntu\Alice (2000)\base\pak4_english.pk3 (44 files)
Z:\media\Windows\Games\Ububntu\Alice (2000)\base\pak3.pk3 (9 files)
Z:\media\Windows\Games\Ububntu\Alice (2000)\base\pak2.pk3 (71 files)
Z:\media\Windows\Games\Ububntu\Alice (2000)\base\pak1_large.pk3 (3368 files)
Z:\media\Windows\Games\Ububntu\Alice (2000)\base\pak0.pk3 (7723 files)
Z:\...
2023 Nov 07
1
non-linear regression and root finding
Thanks a lot, Berwin. Unfortunately, pK1 may well be negative and as I
understand the literature it may be poorly defined as such, and also
seems to be at a boundary, since when lower is set to say rep(-4,3) pK1
is returned as -4 while pK2 and pK3 are undisturbed. Perhaps the point
is that pK1 is not carrying any information at the pH around 5. Fair
enough, I guess. Only, I believe I need stick to including all three pK
values to be in agreement with the molecular information about HEPES -
although even this is contentious. Be as it may,...
2011 Jan 19
9
RtCW: GLW_StartOpenGL() issue
...er. The FAQ says it's not possible to install drivers in WINE, so... I'm stuck.
Any help available?
Here's the full log from the Wolf Console:
Code:
Wolf 1.32 win-x86 May 1 2002
----- FS_Startup -----
Current search path:
C:\Program Files\Return to Castle Wolfenstein\main\sp_pak3.pk3 (14 files)
C:\Program Files\Return to Castle Wolfenstein\main\sp_pak2.pk3 (232 files)
C:\Program Files\Return to Castle Wolfenstein\main\sp_pak1.pk3 (1342 files)
C:\Program Files\Return to Castle Wolfenstein\main\pak0.pk3 (4775 files)
C:\Program Files\Return to Castle Wolfenstein/main
------------...
2011 Jul 27
2
fitting sine wave
...-c(-0.2061826,0.5888406,0.2026079,1.0000000,0.2342754,0.6865078,-0.1265754)
x <- c(1,2,3,4,5,6,7)
p <- nls(m~k1*x+k2*cos(x)+k3*sin(x)+k4*cos(2*x)+k5*sin(2*x)+k6*cos(3*x),start = list(k1=0,k2=0,k3=0.1,k4=0.1,k5=0,k6=0))
par ?<- c(pk1=summary(p)$parameters[1,1],pk2=summary(p)$parameters[2,1],pk3=summary(p)$parameters[3,1],pk4=summary(p)$parameters[4,1],pk5=summary(p)$parameters[5,1],pk6=summary(p)$parameters[6,1])
xx <- seq(1,7,length.out=500)
mm <- par[1]*xx+par[2]*cos(xx)+par[3]*sin(xx)+par[4]*cos(2*xx)+par[5]*sin(2*xx)+par[6]*cos(3*xx)
plot(x,m)
points(xx,mm,type="l")
?...
2009 Nov 02
2
a prolem with constrOptim
...n = data[(1+4*(i-1)):(4*i)]
p = theta[(1+3*(i-1)):(3*i)]
P = 1-sum(p)
S[(1+3*(i-1)):(3*i)] = n[1:3]/p-n[4]/P
}
S
}
#where theta=(p11,p12,p13,p21,p22,p23,...,pK1,pK2,pK3).
#The function Rmat calculates the restriction matrix needed for constrained estimation
Rmat = function(k)
{
R = matrix(1,4,3)
R[1,2] = R[1,3] = R[2,3] = R[3,2] = 0
RR = cbind(-R,R)
RRR = matrix(0,4*(k-1),3*k)
for (...
2003 Apr 04
5
[Bug 533] sshd failure on Tru64 (OSF/1) 5.1a
...ting 768 bit RSA key.
RSA key generation complete.
debug1: Server will not fork when running in debugging mode.
get_sock_port: getnameinfo NI_NUMERICSERV failed
debug1: Calling cleanup 0x12005c9c0(0x0)
Port 22 is open and there is not another copy of sshd running.
3.5p1 works fine
Os: Tru64 5.1a pk3
Platform: GS160, Alpha EV6.8
Generic install
No options were passed to the configure process.
Please let me know if I can be of anymore help.
Darin Fisher
darin_fisher at hotmail.com
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the a...
2008 Jun 30
4
Rebuild of kernel 2.6.9-67.0.20.EL failure
Hello list.
I'm trying to rebuild the 2.6.9.67.0.20.EL kernel, but it fails even without
modifications.
How did I try it?
Created a (non-root) build environment (not a mock )
Installed the kernel.scr.rpm and did a
rpmbuild -ba --target=`uname -m` kernel-2.6.spec 2> prep-err.log | tee
prep-out.log
The build failed at the end:
Processing files: kernel-xenU-devel-2.6.9-67.0.20.EL
Checking