Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
SAS is a statistical software package. Use this tag for any on-topic question that (a) involves SAS either as a critical part of the question or expected answer, & (b) is not just about how to use SAS.
1
vote
1
answer
905
views
Survival analysis - time-dependent covariate with left truncation
I typically use R, but am using SAS here as you don't to convert the data to a counting process style. … *death_censor(0)=convert_tdc;
if convert_yrs>=death_time or convert_yrs=. then convert_tdc=0; else
convert_tdc=1;
run;
And here is what I understand to be the SAS code for left truncation. …
1
vote
0
answers
296
views
Survival analysis with multiple time-dependent covariates
I initially fit a Cox model in SAS as such, adjusting for age at transplant and whether the recipient was white:
proc phreg data=bk;
class white(ref='N');
model dcgs_yrs*dcgs_censor(0)=age_at_tx …