ZDNet UK


Skip to Main Content

  1. Home
  2. News
  3. Blogs
  4. Reviews
  5. Jobs
  6. Resources
  7. Community
  8. My ZDNet

 

ZDNet UK RSS Feeds


Application development Toolkit

Download now

Calculating Duration Via the Lagged Values of Variables

PublisherSAS Institute
Format68.0KB PDFDate added14 May 2007
Topics Programming Languages
Downloads15

Duration calculation is common in many SAS programming tasks. Whenever an event occurs between a start date and an end date, one may need to compute the elapsed duration (in seconds, minutes, days) for the said event. The programming challenge in SAS often arises from having to perform operations across many observations for the same person. As most books and papers about SAS have not fully explored the LAG function in the context of duration calculation, the author now wishes to leverage the LAG function and offer a different programming approach.

Download now

Did you find this white paper useful?
16 out of 31 users found this white paper useful


  • Trackback
  • Clip Link

Related white papers

ASP.NET-Beyond the Starter Kits, Creating Custom Modules (Part 1 of 2)-Level 200

This webcast will demonstrate how easy it is to use ASP.NET to extend popular web portal frameworks to meet custom needs. This webcast explains the DotNetNuke portal framework and shows...


Intro to Perl on Windows

Although Perl may have been born and raised in the Unix universe, the world's favorite practical extraction and reporting language has had, and has had for some time, an established...


Explore the Data Access Options in Visual Studio 2008: Visual Studio 2008 and .NET 3.5 Give Developers Substantially Increased Data Access Options

In Visual Studio 2008 running on the .NET framework 3.5, developers can not only create DataReaders and DataSets; Microsoft has also added LINQ to SQL, Entity Framework, and ADO.NET Data...


CmUML - A UML Based Framework for Formal Specification of Concurrent, Reactive Systems

Complex software systems possess concurrent and reactive behaviors requiring precise specifications prior to development. Lamport's transition axiom method is a formal specification method which combines axiomatic and operational approaches. On...


An Integrated-Documentation Tool for Oracle Databases

In an ideal world, all software and database systems would have clear documentation that is always up to date. In the real world, however, documentation usually is either non-existent or...


Creating Simple Firefox "Add-Ons" With Ubiquity: Developing Add-Ons for Firefox Can Be Tedious, But It's Not Hard

Making add-ons for Firefox is not hard, but development can be tedious, especially as there is no formal development IDE for making them (Venkman comes closest, but it's not very...


From Delegate to Lambda: The Key to Understanding Lambda Expressions Lies in Understanding Delegates

Delegates play a tremendously important role in developing applications for the .NET Framework, especially when using C# or Visual Basic. Events, a special application of delegates, are used all over...


White Paper

Featured White Paper

Video case study

Duncan Scott, CIO of DTZ, talks about their global email project and how Mimecast has helped them with their challenges operating as a multinational business

Download Now

Other White Papers

Software Configuration Management: The Foundation of Global Distributed Development Today

By distributing development, you can create a collaborative work environment staffed by the best...

Ten Things to Know About Grid Computing on Windows

This Oracle whitepaper offers insights into Oracle Grid. A grid allows a business to add capacity,...

See All White Papers