Displaying 20 results from an estimated 2000 matches similar to: "cox regression extract strata as numeric"
2007 Sep 27
2
center option of basehaz in survfit
I have a very general question about what the centering option in basehaz does to factors. (basehaz computes the baseline cumulative hazard for a coxph object using the Breslow estimator).
Lets say I'm interested in a survival model with two (dichotomous) factors and a continuous covariate.
Variable Possible Values
Factor1 0 or 1
Factor2 0 or 1
2012 Aug 09
1
basehaz() in package survival and warnings with coxph
I've never seen this, and have no idea how to reproduce it.
For resloution you are going to have to give me a working example of the
failure.
Also, per the posting guide, what is your sessionInfo()?
Terry Therneau
On 08/09/2012 04:11 AM, r-help-request at r-project.org wrote:
> I have a couple of questions with regards to fitting a coxph model to a data
> set in R:
>
> I have a
2008 Apr 07
2
basehaz and newdata
I am unable to get the basehaz function to apply a proportional
hazards model to a new data frame. I replicated my specific situation
with the example for coxph in the help, where I changed the x value of
the first record from 0 to 1. Is there something incorrect in the
syntax that I am using? Thanks in advance!
test1 <- list(time= c(4, 3,1,1,2,2,3),
status=c(1,NA,1,0,1,1,0),
2009 Mar 14
1
obtaining the values for the hazard function in a cox regression
Hello ,
I am hoping for some advice regarding obtaining the values for the
hazard function in a cox regression that I have undertaken. I have a
model in the following form, analysed with the package survival (v.
2.34-1) and a log-log plot obtained using Design (v. 2.1-2).
For two variables, the lines in the survival curves crossed. The
statistician I been obtaining advice from (who does not
llvm bpf debug info. Re: [RFC PATCH v4 3/3] bpf: Introduce function for outputing data to perf event
2015 Aug 12
2
llvm bpf debug info. Re: [RFC PATCH v4 3/3] bpf: Introduce function for outputing data to perf event
On 2015/8/4 3:44, Alexei Starovoitov wrote:
[SNIP]
>> I'll post 2 LLVM patches by replying this mail. Please have a look and
>> help me
>> send them to LLVM if you think my code is correct.
>
>
[SNIP]
> patch 2:
> do we really need to hack clang?
> Can you just define a function that aliases to intrinsic,
> like we do for ld_abs/ld_ind ?
> void
2012 Aug 08
1
basehaz() in package 'Survival' and warnings() with coxph
Hello,
I have a couple of questions with regards to fitting a coxph model to a data
set in R:
I have a very large dataset and wanted to get the baseline hazard using the
basehaz() function in the package : 'survival'.
If I use all the covariates then the output from basehaz(fit), where fit is
a model fit using coxph(), gives 507 unique values for the time and the
corresponding cumulative
2016 Jun 21
2
Disabling passdb pam in local.conf
* Edgar Pettijohn <edgar at pettijohn-web.com>:
> What distro settings?
These files should remain unchanged:
~$ tree /etc/dovecot/
/etc/dovecot/
??? conf.d
??? ??? 10-auth.conf
??? ??? 10-director.conf
??? ??? 10-logging.conf
??? ??? 10-mail.conf
??? ??? 10-master.conf
??? ??? 10-ssl.conf
??? ??? 10-tcpwrapper.conf
??? ??? 15-lda.conf
??? ??? 15-mailboxes.conf
??? ??? 20-imap.conf
???
2020 Jul 02
5
Multiprotocol File Sharing via NFSv4 and Samba
Hi all,
are there any non-commercial solutions (apart from solutions like Dell EMC, IBM and NetApp) around that allow to simultaneously access the same file system via NFSv4 and Samba exports in a (nearly) non-conflicting manner, especially w.r.t. to NFSv4/Windows ACL incompatibilities?
Best
Sebatian
____________________
Sebastian Kraus
Team IT am Institut f?r Chemie
Geb?ude C, Stra?e des 17.
2006 Mar 07
1
breslow estimator for cumulative hazard function
Dear R-users,
I am checking the proportional hazard assumption of a cox model for a
given covariate, let say Z1, after adjusting for other relavent covariates
in the model. To this end, I fitted cox model stratified on the discrete
values of Z1 and try to get beslow estimator for the baseline cumulative
hazard function (H(t)) in each stratum. As far as i know, if the
proportionality assumption
2007 Jan 19
1
Error in basehaz function ?
Hello R-users.
I believe that the way basehaz (in the survival package) compute the
baseline hazard function is false.
I come to question this function when it gives me hazard probabilities
greater than 1.
Looking at the code I think I've localised the error :
hazard probability is computed as :
H <- -log(surv)
but it seems to me that hazard probabilities is rather an instantaneous
2016 Jun 20
5
Disabling passdb pam in local.conf
* Edgar Pettijohn <edgar at pettijohn-web.com>:
> Is your goal to have "1" config file?
No, that would eliminate the ability to change distro settings via the regular
package management.
My goal is to add/remove what my service requires via the additional
local.conf.
p at rick
--
[*] sys4 AG
https://sys4.de, +49 (89) 30 90 46 64
Schlei?heimer Stra?e 26/MG,80333 M?nchen
2012 Jan 25
4
formula error inside function
I want use survfit() and basehaz() inside a function, but it doesn't work.
Could you take a look at this problem. Thanks for your help. Following is my
codes:
library(survival)
n <- 50 # total sample size
nclust <- 5 # number of clusters
clusters <- rep(1:nclust,each=n/nclust)
beta0 <- c(1,2)
set.seed(13)
#generate phmm data set
Z <- cbind(Z1=sample(0:1,n,replace=TRUE),
2005 Jun 10
1
Estimate of baseline hazard in survival
Dear All,
I'm having just a little terminology problem, relating the language used in
the Hosmer and Lemeshow text on Applied Survival Analysis to that of the
help that comes with the survival package.
I am trying to back out the values for the baseline hazard, h_o(t_i), for
each event time or observation time.
Now survfit(fit)$surv gives me the value of the survival function,
S(t_i|X_i,B),
2009 Dec 16
1
Baseline survival estimate
Dear R-help,
I am trying to obtain the baseline survival estimate of a fitted Cox model
(S_0 (t)). I know that previous posts have said use 'basehaz' but this
gives the baseline hazard function and not the baseline survival estimate.
Is there a way to obtain the baseline survival estimate or do I have to use
the formula which does something like S(t) = exp[- the integral from 0 to t
of
2020 Jul 02
1
Multiprotocol File Sharing via NFSv4 and Samba
FreeNAS / FreeBSD have native NFSv4 ACLs. They do however lack kernel
oplock support so there are perhaps some caveats in that regard.
On Thu, Jul 2, 2020 at 3:07 PM Strahil Nikolov via samba <
samba at lists.samba.org> wrote:
> Hi Kraus,
>
> I know that Gluster can be exported over NFS-Ganesha (supports v4.X),
> Samba (protocol 1.0 in order to get 'real'
2005 Jan 21
3
desire box
hi,
I seek to be able itself to wish a desire box our listeners am to music, over ices am played have someone a recommendation for me? can be gladly with mysql. greeting
--
Mit freundlichen Gr?ssen
Carsten Henkel mailto:carsten@chatlabel.de
In unserer Firma ist alles elektrisch - sogar das Gehalt versetzt einem einen Schlag.
dieser Text ist zuf?llig gew?hlt und
2016 Jun 21
3
Disabling passdb pam in local.conf
* Edgar Pettijohn <edgar at pettijohn-web.com>:
> > Only /etc/dovecot/local.conf should be changed.
> >
> So you want the standard files to remain unchanged from default settings and override them with your settings in local.conf?
Exactly (he said that in his initial mail).
--
[*] sys4 AG
http://sys4.de, +49 (89) 30 90 46 64
Schlei?heimer Stra?e 26/MG, 80333 M?nchen
2018 Jun 25
2
doveadm: problem listing shared mailboxes using a wildcard
* Thore B?decker <me at foxxx0.de>:
> You might need to quote that last argument, otherwise it can get
> interpreted by the shell as globbing, which obviously is not what you
> want.
>
> I've been using wildcard arguments enclosed within '' and "" for
> various doveadm commands without issues so far.
Right. I had thought so too (and forgot to mention
2009 May 04
1
Nelson-Aalen estimator of cumulative hazard
Hi,
I am computing the Nelson-Aalen (NA) estimate of baseline cumulative hazard in two different ways using the "survival" package. I am expecting that they should be identical. However, they are not. Their difference is a monotonically increasing with time. This difference is probably not large to make any impact in the application, but is annoyingly non-trivial for me to just
2023 Feb 27
2
Own server
Good morning,
On Mon, 2023-02-27 at 02:06 +0000, Coolvibes Reloaded wrote:
> rite i've got the icecast2 page setup but i don't have any active
> mounts?
> why's that
once you got your server running it will list those sources that are
connected. So if it is freshly started and there are no sources
connected nothing is shown as there is nothing to show.
The next step would