LOST IN CODING

suede有这么一首凄美的歌叫做 lost in tv :

SUEDE's LOST IN TV

i see you in my life
i see you on the screen
an ascending socialite
orbiting the scene

everybody wants you now
everybody wants to be a part of your crowd

but baby it seems sometimes you're lost in tv
lost in a dream baby

we wander through our minds
with images and scenes
with animated lives
rehearsing for our dreams

everybody wants it now
everybody wants to be a face in the crowd
but baby it seems sometimes we're lost in tv
trapped in a screen lost in a scene
lost in tv baby

everybody wants it now
everybody wants to be a face in the crowd

but baby it seems sometimes we're lost in tv
lost in a dream baby

-------------------------------------------------

程序员有自己版本的凄美,熟悉 suede lost in tv 的朋友不妨和着下面的歌词唱一唱:

Lost In Coding
(Programmer's Version of SUEDE's LOST IN TV)

i see you late at night
close looking at the screen
a debugging programe guide
showing on the screen

everybody wants you work
everybody wants to be apart from this mess

but baby it seems sometimes you're lost in coding
lost in a bug baby

we wonder through our minds
with quality and speed
with definite deadline
repporting to our team

everybody wants it work
everybody wants it run without a bug

but baby it seems sometimes we're lost in coding
trapped in the screen keep debugging
lost in coding baby

everybody wants it now
everybody wants to be ?

but baby it seems sometimes we're lost in coding
lost in a bug baby

crr {cmprsk} R Documentation Competing Risks Regression Description regression modeling of subdistribution functions in competing risks Usage crr(ftime, fstatus, cov1, cov2, tf, cengroup, failcode=1, cencode=0, subset, na.action=na.omit, gtol=1e-06, maxiter=10, init, variance=TRUE) Arguments ftime vector of failure/censoring times fstatus vector with a unique code for each failure type and a separate code for censored observations cov1 matrix (nobs x ncovs) of fixed covariates (either cov1, cov2, or both are required) cov2 matrix of covariates that will be multiplied by functions of time; if used, often these covariates would also appear in cov1 to give a prop hazards effect plus a time interaction tf functions of time. A function that takes a vector of times as an argument and returns a matrix whose jth column is the value of the time function corresponding to the jth column of cov2 evaluated at the input time vector. At time tk, the model includes the term cov2[,j]*tf(tk)[,j] as a covariate. cengroup vector with different values for each group with a distinct censoring distribution (the censoring distribution is estimated separately within these groups). All data in one group, if missing. failcode code of fstatus that denotes the failure type of interest cencode code of fstatus that denotes censored observations subset a logical vector specifying a subset of cases to include in the analysis na.action a function specifying the action to take for any cases missing any of ftime, fstatus, cov1, cov2, cengroup, or subset. gtol iteration stops when a function of the gradient is < gtol maxiter maximum number of iterations in Newton algorithm (0 computes scores and var at init, but performs no iterations) init initial values of regression parameters (default=all 0) variance If FALSE, then suppresses computation of the variance estimate and residuals Details Fits the 'proportional subdistribution hazards' regression model described in Fine and Gray (1999). This model directly assesses the effect of covariates on the subdistribution of a particular type of failure in a competing risks setting. The method implemented here is described in the paper as the weighted estimating equation. While the use of model formulas is not supported, the model.matrix function can be used to generate suitable matrices of covariates from factors, eg model.matrix(~factor1+factor2)[,-1] will generate the variables for the factor coding of the factors factor1 and factor2. The final [,-1] removes the constant term from the output of model.matrix. The basic model assumes the subdistribution with covariates z is a constant shift on the complementary log log scale from a baseline subdistribution function. This can be generalized by including interactions of z with functions of time to allow the magnitude of the shift to change with follow-up time, through the cov2 and tfs arguments. For example, if z is a vector of covariate values, and uft is a vector containing the unique failure times for failures of the type of interest (sorted in ascending order), then the coefficients a, b and c in the quadratic (in time) model � � + � � � + � � 2 az+bzt+zt 2 can be fit by specifying cov1=z, cov2=cbind(z,z), tf=function(uft) cbind(uft,uft*uft). This function uses an estimate of the survivor function of the censoring distribution to reweight contributions to the risk sets for failures from competing causes. In a generalization of the methodology in the paper, the censoring distribution can be estimated separately within strata defined by the cengroup argument. If the censoring distribution is different within groups defined by covariates in the model, then validity of the method requires using separate estimates of the censoring distribution within those groups. The residuals returned are analogous to the Schoenfeld residuals in ordinary survival models. Plotting the jth column of res against the vector of unique failure times checks for lack of fit over time in the corresponding covariate (column of cov1). If variance=FALSE, then some of the functionality in summary.crr and print.crr will be lost. This option can be useful in situations where crr is called repeatedly for point estimates, but standard errors are not required, such as in some approaches to stepwise model selection. Value Returns a list of class crr, with components $coef the estimated regression coefficients $loglik log pseudo-liklihood evaluated at coef $score derivitives of the log pseudo-likelihood evaluated at coef $inf -second derivatives of the log pseudo-likelihood $var estimated variance covariance matrix of coef $res matrix of residuals giving the contribution to each score (columns) at each unique failure time (rows) $uftime vector of unique failure times $bfitj jumps in the Breslow-type estimate of the underlying sub-distribution cumulative hazard (used by predict.crr()) $tfs the tfs matrix (output of tf(), if used) $converged TRUE if the iterative algorithm converged $call The call to crr $n The number of observations used in fitting the model $n.missing The number of observations removed from the input data due to missing values $loglik.null The value of the log pseudo-likelihood when all the coefficients are 0 $invinf - inverse of second derivative matrix of the log pseudo-likelihood
最新发布
07-21
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值