similar to: Event History Data Recoding

Displaying 20 results from an estimated 1100 matches similar to: "Event History Data Recoding"

2010 Jul 19
3
Reshaping data
Dear All, I have some data in the following shape: ID begin_t1 end_t1 begin_t2 end_t2 Thomas 11/03/04 13/05/06 04/02/07 16/05/08 ... ... ... ... ... Jens 24/01/02 23/05/03 07/06/03 14/11/05 I would like to reshape this data to have the following form: ID Begin_Time End_Time Thomas 11/03/04 13/05/06 Thomas 04/02/07 16/05/08 ... ... ... Jens 24/01/02 23/05/03 Jens
2012 Nov 22
1
Partial dependence plot in randomForest package (all flat responses)
Hi, I'm trying to make a partial plot with package randomForest in R. After I perform my random forest object I type partialPlot(data.rforest, pred.data=act2, x.var=centroid, "C") where data.rforest is my randomforest object, act2 is the original dataset, centroid is one of the predictor and C is one of the classes in my response variable. Whatever predictor or response class I
2023 Jul 02
1
Get channel variables via ARI/AMI
>> You use the AMI action Getvar[1] which allows channel variables and dialplan functions. >> [1] https://wiki.asterisk.org/wiki/display/AST/Asterisk+20+ManagerAction_Getvar I actually tried that, and although I get “success” I never get useful data. For example: action: Getvar actionid: act1 channel: PJSIP/Twilio-NA-W-2-In-00000025 Variable: channel(pjsip,call-id)
2023 Jul 03
1
Get channel variables via ARI/AMI
The uppercase command made a difference. I now get a call-id as show below. However, does the call-id look valid? The @0.0.0.0 seems strange. action: Getvar actionid: act1 channel: PJSIP/Twilio-NA-W-3-In-00000028 Variable: CHANNEL(pjsip,call-id) Response: Success ActionID: act1 Variable: CHANNEL(pjsip,call-id) Value: 4decf884e3ae74595906283a74f7154e at 0.0.0.0 As well,
2023 Jul 02
1
Get channel variables via ARI/AMI
On Sun, Jul 2, 2023 at 4:39 PM TTT <lists at telium.io> wrote: > >> You use the AMI action Getvar[1] which allows channel variables and > dialplan functions. > > >> [1] > https://wiki.asterisk.org/wiki/display/AST/Asterisk+20+ManagerAction_Getvar > > > > > I actually tried that, and although I get “success” I never get useful > data. For
2010 Mar 23
2
Transform data set
Dear R Experts, I am having some trouble creating a variable in R. I have data on self-placement of voters, their placement of parties, and which party they feel closest to. The data is structured like this: Party_Close lrplaceself lrplaceParty1 lrplaceParty2 ... party1 2 4 5 party2 5 6 4 party1 6 2 1 etc... I want to format the data set so it looks like this: Party_Close
2013 Jun 10
1
modify and append new rows to a data.frame using ddply
Hi, I have a data.frame that contains a variable act which records the duration (in seconds) of two states (wet-dry) for several individuals (identified by Ring) over a period of time. Since I want to work with daytime (i.e. from sunrise till sunset) and night time (i.e. from sunset till next sunrise), I have to split act from time[i] till sunset and from sunset until time[i+1], and from time[k]
2009 Jul 13
1
survSplit with data.frame containing a Surv object
Dear All, since years I am struggling with Surv objects in data.frames. The following seems to have to do with it. See below the modified example from the help page of survSplit. The original works, as expected. If, however, a Surv object is added to the data.frame, each record gets doubled. Is there some solution other than avoiding Surv objects in data.frames? Thanks, Heinz
2023 Jul 04
1
Getvar of CHANNEL not working for a couple of items
The following AMI command works well for all of the information I want: action: Getvar actionid: act1 channel: PJSIP/Twilio-NA-W-3-In-00000028 Variable: CHANNEL(pjsip,XXXX) Where XXXX can be one of the many available items. However, when I create a call from A to B, all of the items return properly except: local_addr and remote_addr. More specifically, they return correctly for the A leg (that
2009 Mar 12
2
Removing
Hi All, > act_2 Date Dtime Hour Min Second Rep 51 2006-02-22 14:52:18 14 52 18 useractivity_act 52 2006-02-22 14:52:18 14 52 18 4 55 2006-02-22 14:52:49 14 52 49 4 57 2006-02-22 14:52:51 14 52 51 4 58 2006-02-22 14:52:52 14 52 52 3 60 2006-02-22 14:54:42 14 54
2006 May 17
1
question about survSplit
Dear R-users, I use the survsplit function in the survival package to change my data into counting-process format and the transformed format is as follow: (a) start stop event DP age .... 0 5 0 1 20 5 10 0 1 20 10 25 1 1 20 looking at the above three entries that belong to the same person, if an event happen at
2010 Mar 30
2
Create a new variable
Dear R-list, Sorry for spamming the list lately, I am just learning the more advanced aspects of R! I have some data that looks like this: Out Country1 Country 2 Country 3 ... CountryN 1 1 1 1 1 0 1 1 0 1 1 1 0 1 0 I want to create a new variable that counts the number of zeros in every row whenever Out is equal to 1, and else it is a zero, so it would look like this: new_var 0 0 2 I
2010 Mar 29
5
Finding common an unique elements in character vectors
Dear R-list, I have a problem which I think is quite basic, but so far google has not helped me. I have two vectors like this: vector_1 <- c(Belgium, Spain, Greece, Ireland, Luxembourg, Netherlands, Portugal) vector_2 <- c(Denmark, Luxembourg) I would like to find the elements in vector_1 that are not in vector_2 so that i get a vector with these countries: Belgium, Spain, Greece,
2023 Jul 02
1
Get channel variables via ARI/AMI
On Sun, Jul 2, 2023 at 4:18 PM TTT <lists at telium.io> wrote: > >> There are SOME protocol level things accessible using CHANNEL[1] but > that's it. > > >> [1] > https://wiki.asterisk.org/wiki/display/AST/Asterisk+20+Function_CHANNEL > > > > > > I am trying to use the CHANNEL function listed above from the AMI. Since > it is not an AMI
2011 Apr 18
1
time dependent hazard ratios
Hi, I am new to time-dependent Cox model to estimate time dependent hazard ratios. Let me use aml dataset from survival package: > aml3<-survSplit(aml2,cut=c(5,10,20),end="time",start="start", event="status",episode="i") If I want to esimate hazard ratio for each of the time intervals 0-5, 5-10, 10-20 and >=20, would the following calculate
2003 Dec 08
2
Samba NTFS permissions
Hi, I am new to this list. Does samba 3 support ntfs permissions or a way to map them? Creating a share for a user is easy but can you set different file permissions in that share with separate ntfs permissions to give different users permission to different areas of the share? This is on an Active Directory network. Thank you. PS: We are trying to save the state of Wisconsin some money by
2013 Jun 08
0
modify and append new rows in a dataframe
My data frame shows changes on the variable act which records the consecutive duration (in seconds) of two states (wet-dry) over a few days for several?individuals (identified by Ring). Since I want to work with daytime (i.e. from dawn till dusk) and night time (i.e. from dusk till next dawn), I have to split act in two: from time[i] till dusk and from dusk until time[i+1], and from time[k] till
2006 Dec 13
3
Bug status for next release
Hi all, I''ve now finished all of the functionality I plan to add in the next release, so all that remains is closing as many open bugs as possible. I''ve gone through and marked all of the bugs I specifically plan on fixing with the ''minor'' milestone. If you have a bug in the db[1] that you think needs to be fixed in the next release but is not
2009 Dec 28
1
AudioCodes MP-114 making calls via FXO
I was able to setup AudioCodes MP-114 to rote calls form FOX to Asterisk and make internal calls: Routing Tables -> Tel to IP Routing: *, *, 10.0.0.109 (my asterisk IP) But I'm not sure how to setup AuioCodes to make calls out via FXO? In extensions.conf [Globals] pstn-5665=10.0.0.157 Whenever, I try to call out I get a busy signal. -- Joseph
2006 Sep 14
1
time varying covariates
Hello, I am trying to model an intensity function with time-varying covariates. Before, I have successfully defined a log likelihood function for a Power-Law Process (lambda(t)=alpha*beta*t^(beta-1)) with two paramters and no covariates for a repairable systems with failure times (t). This function was maximized with R optim. No problem! But now I want to include a covariate indicating a