Displaying 9 results from an estimated 9 matches for "strangeways".
2010 Apr 14
5
Running cumulative sums in matrices
...unction)?
example:
#Suppose a matrix:
m1=cbind(1:5,1:5,1:5)
#The aim is to create a new matrix with every column containing the cumulative sum of all previous columns.
m2=m1
for(i in 2:ncol(m1)){
m2[,i]=apply(m1[,1:i],1,sum)
}
m2
Many thanks in advance
Eleni Rapsomaniki
Research Associate
Strangeways Research Laboratory
Department of Public Health and Primary Care
University of Cambridge
?
2009 Feb 16
1
How do i compute predicted failure time from a cox model?
...I need is the total estimated time until failure (death), not the
probability of failing at a given time (survival probability), or hazard
etc, which is what I get from survest and predict for example.
I suspect the answer is embarrassing simple...
Eleni Rapsomaniki
Research Associate
Strangeways Research Laboratory
Department of Public Health and Primary Care
[[alternative HTML version deleted]]
2009 May 20
1
turning off specific types of warnings
...x=T,y=T) (and don't use linear.predictors=) for better estimates.
I would like to turn this specific warning off, as it makes it difficult to detect other (potentially more crucial) warnings generated by other parts of my code.
Is there a way to do this?
Eleni Rapsomaniki
Research Associate
Strangeways Research Laboratory
Department of Public Health and Primary Care
University of Cambridge
?
2009 Oct 13
2
update.formula drop interaction terms
...update(forml, ~ . -A)
#gives me this:
#Surv(time, status) ~ x1 + x2 + x3 + x4 + B + x5 + strata(sex) + A:x3 + A:x4 + B:x5
#but I want this:
#updated.forml=as.formula("Surv(time, status) ~ x1+x2+x3+x4+B*x5+strata(sex)")
Any ideas?
Thanks in advance
Eleni Rapsomaniki
Research Associate
Strangeways Research Laboratory
Department of Public Health and Primary Care
University of Cambridge
?
2009 Nov 23
1
Calibration score for survival probability
...other functions I should be aware of?
Also, has anybody come across an implementation of the statistic described in:
"A global goodness of fit statistic for Cox regression models" by Parzen & Lpisitz, Biometrics 55, 1999
Many thanks in advance
Eleni Rapsomaniki
Research Associate
Strangeways Research Laboratory
Department of Public Health and Primary Care
University of Cambridge
?
2011 Jun 24
1
UnoC function in survAUC for censoring-adjusted C-index
...if I sort tau in ascending times I get 0's
UnoC(Surv.rsp, Surv.rsp.new, lpnew, time=sort(tau))
[1] 0 0 0 0 0 0 0 0 0 0
This is a potentially very useful function so it would be great if someone could explain the behaviour here.
Many thanks
Eleni Rapsomaniki
Research Associate/Statistician
Strangeways Research Laboratory
Department of Public Health and Primary Care
University of Cambridge
?
2009 Mar 25
2
Competing risks Kalbfleisch & Prentice method
...) {hazard_k(u;x)*S(u;x)}
where S(u;x) = exp{-sum_of_k(sum(hazard_k(u))}
I have searched extensively for an implementation of this in many
packages, but it appears that more complex approaches are more commonly
implemented, such as timereg package.
Eleni Rapsomaniki
Research Associate
Strangeways Research Laboratory
Department of Public Health and Primary Care
University of Cambridge
[[alternative HTML version deleted]]
1999 Jan 22
0
Dave and Samba 2.0
...[homes]
comment = Home Directories
guest ok = no
read only = no
writable = yes
printable = no
browseable = no
create mask = 0660
force create mode = 0660
directory mask = 0755
force directory mode = 0755
Any help much appreciated
Iain
--
Iain Gray
Systems Officer
Strangeways Research Laboratories
Tel 01223 740182 email: iain.gray@srl.cam.ac.uk
1998 Apr 01
3
Dissapearing samba servers
...re, though you can still map a network drive by
using a UNC pathway:
\\server\share
so the share is still out there but the server dissapears every so
often.
Any clues would be much appreciated.
Iain
ps What is the equiv of samba for macintoshes if there is one??
--
Iain Gray
Systems Officer
Strangeways Research Laboratories
Tel 01223 740176 email: iain.gray@srl.cam.ac.uk