Skip to content
Prev 387257 / 398502 Next

print and coef Methods for survreg Differ

How should you be able to make a prediction (using this type of model) from a state where there is no data such as treatment="C" in my example?

-----Original Message-----
From: Jeff Newmiller <jdnewmil at dcn.davis.ca.us> 
Sent: Tuesday, February 23, 2021 11:10 AM
To: r-help at r-project.org; bill at denney.ws
Subject: Re: [R] print and coef Methods for survreg Differ

Model equations do not normally have conditional forms dependent on whether specific coefficients are NA or not. If you assign NA to a coefficient then you will not be able to predict outputs for input cases that you should be able to. Zero allows these expected cases to work... NA would prevent any useful prediction output.
On February 23, 2021 6:45:53 AM PST, bill at denney.ws wrote:
--
Sent from my phone. Please excuse my brevity.