BookmarkSubscribeRSS Feed
cvl
Calcite | Level 5 cvl
Calcite | Level 5
Can unequally space time interval be specified by models such as AR, ARMA or TOEP?
or I need to use SP(Pow)? If so, could anyone show me how to do it.

Another more fundamental question , is it necessary to include time effects anytime conducting longitudinal or time series data if time is not the interest.

Thank you
1 REPLY 1
lvm
Rhodochrosite | Level 12 lvm
Rhodochrosite | Level 12
If you collect data over time on the same experimental units, you need to account for the repeated measure in the statistical model, whether you care about time or not. If times are not equally spaced, you should normally use one of the of the "SP()()" structures in the repeated statement. You need a variable for time (let's call it time). Then, you could use
repeated / sub=subject type=sp(pow)(time);
where subject defines the experimental unit.

If the times are close to being equally spaced, it is probably a reasonable approximation to use ar(1), or one of the other ones.

sas-innovate-2024.png

Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.

Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.

 

Register now!

What is ANOVA?

ANOVA, or Analysis Of Variance, is used to compare the averages or means of two or more populations to better understand how they differ. Watch this tutorial for more.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 1 reply
  • 1379 views
  • 0 likes
  • 2 in conversation