Help using Base SAS procedures

Proc Traj: what if not everyone’s observations were observed at the exact same time points?

Reply
Occasional Learner
Posts: 1

Proc Traj: what if not everyone’s observations were observed at the exact same time points?

Hi all, 

 

I'm starting to use Proc Traj. Does any one know how to deal with a dataset that not everyone’s observations were observed at the exact same time points? 

Respected Advisor
Posts: 4,927

Re: Proc Traj: what if not everyone’s observations were observed at the exact same time points?

I have no idea what proc traj does but you can always round SAS datetime values with something like:

 

newTime = round(time, '01:00:00't);

In this example, you would round to the nearest hour.

PG
Ask a Question
Discussion stats
  • 1 reply
  • 209 views
  • 0 likes
  • 2 in conversation