Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: PetrOtahal
  • Content: Threads
  • Order by date
  1. PetrOtahal

    Data setup for PHREG with time-varying covariates

    I am trying to run a Cox's proportional hazards regression with time-varying covariates. I have survival data on 360,000 subjects with anything from 1 to 60+ readings of a continuous variable that I want to incorporate into the model (time-varying covariate). As well as some baseline...
  2. PetrOtahal

    Using Proc Template to format Estimates from GLM/CLParm

    I'm running the following GLM code: proc glm data=shbg; model &modelDep = &BMImodelInd / solution clparm; run; And in order to format the number of decimal places in the output of the Parameter Estimates I use the following code: proc template; edit Common.ParameterEstimates.Estimate...
  3. PetrOtahal

    Squaring a macro variable

    I have a problem when trying to square the &B macro variable in the following code: data parmscalcs; array _YSSurv{5}; merge parms parmsmatrix; retain B; B=B; if Level=1 then do; B= 9 * &CumSurvFinal * (log(_YSSurv{1})+ log(_YSSurv{2}) + log(_YSSurv{3}) +...
  4. PetrOtahal

    ODS html output with graphics

    Need a little help with the following code: %macro RunModel; proc greplay igout=work.gseg tc=tempcat nofs; delete _all_; quit; *Delete all previous graphs; %do i = 1 %to 3 %by 1; %let modelDep=%scan(&Dependent,&i); goptions device=gif hsize=6 cm vsize=4 cm display...
  5. PetrOtahal

    Is this a Unix problem?

    Having a problem with the data step. The following code works on my windows machine running SAS 9.1: data CleanM; set Clean; if pathol ne "Burnie" then delete; run; But will not work on a Unix machine running SAS 9.1. The only difference is that the windows machine has a random subsample...

Part and Inventory Search

Back
Top