Displaying 2 results from an estimated 2 matches for "coefic".
Did you mean:
  coef
  
2011 May 10
0
Series temporales
...)
 #Una vez establecida la conexion consultamos la tabla de la BBDD y la 
guardamos en un data frame llamado Total
 Total <- sqlQuery(channel,paste("SELECT * FROM 
DATOS_FOMENTO_PROVINCIAL_BASE2005 WHERE codprovi is not null "))
 
 
 #Definimos funcion para calcular p-valores de los coeficientes
 cwp <- function (object)
 { 
     coef <- coef(object) 
     if (length(coef) > 0) { 
         mask <- object$mask 
         sdev <- sqrt(diag(vcov(object))) 
         t.rat <- rep(NA, length(mask)) 
         t.rat[mask] <- coef[mask]/sdev 
         pt <- 2 * pnorm(-...
2004 Nov 23
6
Weibull survival regression
Dear R users,
 
Please can you help me with a relatively straightforward problem that I
am struggling with? I am simply trying to plot a baseline survivor and
hazard function for a simple data set of lung cancer survival where
`futime' is follow up time in months and status is 1=dead and 0=alive.
 
Using the survival package:
 
lung.wbs <- survreg( Surv(futime, status)~ 1, data=lung,