Displaying 20 results from an estimated 1000 matches similar to: "simulating 'non-standard' survival data"
2012 May 11
2
survival analysis simulation question
Hi,
I am trying to simulate a regression on survival data under a few
conditions:
1. Under different error distributions
2. Have the error term be dependent on the covariates
But I'm not sure how to specify either conditions. I am using the Design
package to perform the survival analysis using the survreg, bj, coxph
functions. Any help is greatly appreciated.
This is what I have so far:
2007 Nov 07
1
Aggregate with non-scalar function
R-Helpers,
I'm sorry to have to ask this -- I've not used R very much in the last
8 or 10 months, and I've gotten rusty.
I have the following (ff2 is a subset of a much, much larger dataset):
> ff2
hostName user sys idle obsTime
10142 fred 0.4 0.5 98.0 2007-11-01 02:02:18
16886 barney 0.5 0.2 94.6 2007-10-25 19:12:12
8795 fred 0.0 0.1 99.8
2006 Sep 03
2
Running cox models
Hi,
I'm reading van Belle et al "Biostatistics" and trying to run a cox test using
a dataset from:
http://faculty.washington.edu/~heagerty/Books/Biostatistics/chapter16.html
(Primary Biliary Cirrhosis data link at top of the page),
I'm using the following code:
--------------- start of code
library(survival)
liver <-
2007 Apr 26
3
adding a column to a matrix
i would like to add a variable to an existing matrix by manipulating 2 previous variables eg for the data
m
treat strata censti survTime
[1,] 1 2 284.684074 690.4961005
[2,] 1 1 172.764515 32.3990335
[3,] 1 1 2393.195400 24.6145279
[4,] 2 1 30.364771 8.0272267
[5,] 1 1 523.182282 554.7659501
l
2008 Aug 22
0
Censored Poisson Data
Dear list,
I am wondering whether R allows to perform a Poisson regression on
counting data which include censored observations, that is, observations of the form
"2 events or more" or "less than 2 events" or even "1 or 2 events".
Can anyone give me a hint whether this is already possible and how to do it?
Data of the form (obstime is the observation time,
2008 Apr 08
1
sample size for log-rank test with more than 2 groups
Hi everyone,
I was wondering whether extension of the current spower function for
Hmisc were existing?
My current focus is to calculate sample size based on the log-rank test
with more than 2 groups (with/without trend)
Taking into account the loss of follow up and the accrual processes.
A SPSS library (ART) is existing but can't find anything in R
Any information is welcome !
Many
2007 May 07
4
creating a new column
hie l would like to create a 6th column "actual surv time" from the following data
the condition being
if censoringTime>survivaltime then actual survtime =survival time
else actual survtime =censoring time
the code l used to create the data is
s=2
while(s!=0){ n=20
m<-matrix(nrow=n,ncol=4)
2007 Apr 25
0
Use of Lexis function to convert survival data to counting format
I'm trying to convert a dataset from the time-independent analysis form
> head(addicts)
id clinic status survtime prison meth clinic01
1 1 1 1 428 0 50 1
2 2 1 1 275 1 55 1
3 3 1 1 262 0 55 1
into the "counting data format" necessary to perform extended Cox regression.
I got
2008 Aug 16
5
DO NOT REPLY [Bug 5695] New: rsync local timeout
https://bugzilla.samba.org/show_bug.cgi?id=5695
Summary: rsync local timeout
Product: rsync
Version: 3.0.3
Platform: x86
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P3
Component: core
AssignedTo: wayned@samba.org
ReportedBy: gabriele.tozzi@gmail.com
QAContact:
2012 Jan 07
1
using deltat parameter in time series in HoltWinters prediction
Hi.
I have to forecast a time series of a Internet network traffic bitrate.
The data are in file
http://www.forumaltavilla.it/joomla/datitesi/dati.datand the sampling
time is every 0.05 seconds.
Now, i want to use HoltWinters forecasting. This is my script.
dt=1.58443823e-9 #0.05 seconds in years
dati.ts=ts(scan("dati.dat"),start=0,deltat=dt)
model=HoltWinters(dati.ts)
2017 Feb 14
1
Samba AD domain member with SSSD: ACL not work
Il giorno mar, 14/02/2017 alle 16.13 +0000, Rowland Penny via samba ha
scritto:
> Have you modified /etc/nsswitch.conf ?
No:
> passwd: files sss
> shadow: files sss
> group: files sss
for default nsswitch.conf is configure to use sssd
> If you haven't, then you are not using winbind, you are using sssd.
Yes. I use sssd, If this is not a problem for samba.
>
2006 Nov 03
1
difference in using with() and the "data" argument in glm call
Dear all,
I am dealing with the following (apparently simple problem):
For some reasons I am interested in passing variables from a dataframe
to a specific environment, and in fitting a standard glm:
dati<-data.frame(y=rnorm(10),x1=runif(10),x2=runif(10))
KK<-new.env()
for(i in 1:ncol(dati)) assign(names(dati[i]),dati[[i]],envir=KK)
#Now the following two lines work correctly:
2017 Feb 15
0
Samba AD domain member with SSSD: ACL not work
Il giorno mer, 15/02/2017 alle 08.42 +0100, L.P.H. van Belle via samba
ha scritto:
> Have you seen :
>
> ( centos/redhat )
> https://outsideit.net/realmd-sssd-ad-authentication/
>
> ( debian/ubuntu )
> http://www.alandmoore.com/blog/2015/05/06/joining-debian-8-to-active-
> directory/
Thank Luis, Thank Rowland.
Yes, I have read this howto, and many others.
None show
2005 Sep 23
2
Strange behaviour of as.Date function
Dear All,
I'm happily extracting data of temperature from an oracle db
under R via RODBC. After manipulating the extracted data I put them
into a data.frame 'dati' which is as follows:
> dati
DATA tm.
UDINE/RIVOLTO tm.TORINO/CASELLE
1 2005-07-01
22.35 23.80
2 2005-07-02 22.70
22.85
3 2005-07-03 23.80
2006 Nov 03
1
[R] difference in using with() and the "data" argument in glm (PR#9338)
I've redirected this reply from r-help to the bugs list.
On 11/3/2006 8:25 AM, vito muggeo wrote:
> Dear all,
> I am dealing with the following (apparently simple problem):
> For some reasons I am interested in passing variables from a dataframe
> to a specific environment, and in fitting a standard glm:
>
> dati<-data.frame(y=rnorm(10),x1=runif(10),x2=runif(10))
>
2004 Nov 10
1
Loading some function at R startup
Dear R-users,
I've built these functions usefell for me to
import/export data from/to Excel:
importa.da.excel<-function(){read.delim2("clipboard",
dec=",")
## questa funzione consente di importare dati da Excel
in R
## selezionare in Excel le celle che contengono i
dati,
## compresi in nomi delle colonne
## Autore: Vito Ricci email:vito_ricci at yahoo.com
## Data di
2004 May 17
0
Fw: add objects to svm plot
Reposting to the group for input....
Thanks for any help you can provide.
Sean
----- Original Message -----
From: <ale.ambrosi at unipd.it>
To: <sdavis2 at mail.nih.gov>
Sent: Monday, May 17, 2004 4:22 AM
Subject: add objects to svm plot
>
> >at 06.38 14/05/2004 -0400, you wrote:
> >It might be helpful if you could send your code to the list along with
any
>
2017 Feb 15
3
Samba AD domain member with SSSD: ACL not work
Have you seen :
( centos/redhat )
https://outsideit.net/realmd-sssd-ad-authentication/
( debian/ubuntu )
http://www.alandmoore.com/blog/2015/05/06/joining-debian-8-to-active-directory/
but i must say, i havent tested/tried these, i dont use sssd.
But i think these are usefull for you to read at least.
If you use the debian variant, you may need to install also :
One or more of these :
2004 May 13
2
tapply & hist
I'm learning how to use tapply.
Now I'm having a go at the following code in which dati contains almost 600
lines, Pot - numeric - are the capacities of power plants and SGruppo - text
- the corresponding six technologies ("CCC", "CIC","TGC", "CSC","CPC", "TE").
.....................................................
2017 Feb 15
2
Samba AD domain member with SSSD: ACL not work
Il giorno mer, 15/02/2017 alle 09.45 +0100, Dario Lesca via samba ha
scritto:
> Then Yesterday in 5 minutes I installed, configured and activated
> winbind and now all work fine.
Ok, ACLs now work, but I now it's appeared another problem.
I can only access to my samba+winbind server from Windows Server AD DC
and from itself (smbclient -Uadministrator -L server-dati).
If I try to