Displaying 5 results from an estimated 5 matches for "govil".
Did you mean:
movil
2017 Nov 06
2
Survival model error
...t; wrote:
>
> You should stop trying to use matrices on the RHS and using separate vectors to Surv. Instead use a data argument and have the names in your formula refer to column names.
>
> ?
> David
>
> Sent from my iPhone
>
>> On Nov 5, 2017, at 7:21 PM, Meghna Govil via R-help <r-help at r-project.org> wrote:
>>
>>
>> Hi - Below is my code and then the error when I run the last line.
>>
>> time_np <- train1_na$tte
>> event_np <- train1_na$censored
>>
>>
>> X_np <- cbind(
>> train1...
2017 Oct 16
1
survival analysis - predict function
Hi
I'm trying to predict the values for a survreg object called
loglogistic_na. Here is the definition of loglogistic_na and following that
the syntax used for the predict function. But upon execution I don't get
any output. Not sure what I'm doing wrong:
loglogistic_na <- survreg(Surv(time_na,event_na) ~ t_na, dist="loglogistic")
summary(loglogistic_na)
2017 Nov 06
0
Survival model error
You should stop trying to use matrices on the RHS and using separate vectors to Surv. Instead use a data argument and have the names in your formula refer to column names.
?
David
Sent from my iPhone
> On Nov 5, 2017, at 7:21 PM, Meghna Govil via R-help <r-help at r-project.org> wrote:
>
>
> Hi - Below is my code and then the error when I run the last line.
>
> time_np <- train1_na$tte
> event_np <- train1_na$censored
>
>
> X_np <- cbind(
> train1_na$AMT,
> train1_na$DISCOUNT_AMT,...
2017 Nov 06
2
Survival model error
Hi - Below is my code and then the error when I run the last line.
time_np <- train1_na$tte
event_np <- train1_na$censored
X_np <- cbind(
train1_na$AMT,
train1_na$DISCOUNT_AMT,
train1_na$high_price_pcnt,
train1_na$EM_RECEIVED,
train1_na$DM_RECEIVED,
train1_na$TXN_WITH_RINGCODE,
train1_na$WEB,
train1_na$clearance_pcnt,
train1_na$bts_pcnt,
train1_na$sales_pcnt,
2017 Oct 16
0
survival analysis - predict function
> Hi
>
> I'm trying to predict the values for a survreg object called loglogistic_na. Here is the definition of loglogistic_na and following that the syntax used for the predict function. But upon execution I don't get any output. Not sure what I'm doing wrong:
>
> loglogistic_na <- survreg(Surv(time_na,event_na) ~ t_na, dist="loglogistic")
>