SAS 9.1 Language Reference Dictionary, Volumes 1, 2 and 3

DACCTAB Function

Returns the accumulated depreciation from specified tables

Category: Financial

Syntax

DACCTAB ( p,v,t1, ...,tn )

Arguments

p

v

t1,t2, ...,tn

Details

The DACCTAB function returns the accumulated depreciation by using user -specified tables. The formula for this function is

click to expand

For a given p , only the arguments t 1 , t 2 ,..... t k need to be specified with k=ceil(p) .

Examples

An asset has a depreciable initial value of $1000 and a five-year lifetime. Using a table of the annual depreciation rates of .15, .22, .21, .21, and .21 during the first, second, third, fourth, and fifth years , respectively, the accumulated depreciation throughout the third year can be expressed as

y3=dacctab(3,1000,.15,.22,.21,.21,.21);

The value that is returned is 580.00. The fourth rate, .21, and the fifth rate, .21, can be omitted because they are not needed in the calculation.

Категории