Tag Archives: sas certification in pune

INTCK and INTNX: All about SAS Dates and Computing Intervals between Dates

INTCK-and-INTNX
 

The INTCK and INTNX functions in SAS helps you compute the time between events. This technical blog is based on the timeline of living US presidents, sourced from a Wikipedia table. The table data shows the number of years and days between events.

 

So, let’s start.

 

LivingPresidents2

Dexlab

What is Truly Efficient? Understanding Stratified Random Sample:

What is Truly Efficient?  Understanding Stratified Random Sample:

We have discussed several times the efficiency of various techniques for selecting a simple random sample from an expansive dataset. With PROC SURVEYSELECT will do the job easily…

proc surveyselect data=large out=sample
	 method=srs   /* simple random sample */
	 rate=.01;   /* 1% sample rate       */
run;

However, let us assume that our data includes a STATE variable, and one would want to guarantee that a random sample includes the precise proportion of observations from each of the states of America.

Dexlab