• No se han encontrado resultados

Especificaciones de evaluación relacionadas con las dimensiones de la competencia profesional

1. ESPECIFICACIONES DE EVALUACIÓN DE LA UNIDAD DE COMPETENCIA Dado que la evaluación de la competencia profesional se basa en la recopilación

1.1. Especificaciones de evaluación relacionadas con las dimensiones de la competencia profesional

IRR() returns the aggregated internal rate of return for a series of cash flows represented by the numbers in the expression given byvalue iterated over the chart dimensions.

These cash flows do not have to be even, as they would be for an annuity. However, the cash flows must occur at regular intervals, such as monthly or annually. The internal rate of return is the interest rate received for an investment consisting of payments (negative values) and income (positive values) that occur at regular periods. The function needs at least one positive and one negative value to calculate.

Syntax:

IRR([TOTAL [<fld {,fld}>]] value) Return data type: numeric

Arguments:

Argument Description

value The expression or field containing the data to be measured.

TOTAL If the wordTOTAL occurs before the function arguments, the calculation is made over all possible values given the current selections, and not just those that pertain to the current dimensional value, that is, it disregards the chart dimensions.

TheTOTAL qualifier may be followed by a list of one or more field names within angle brackets <fld>. These field names should be a subset of the chart dimension variables.

Limitations:

The expression must not contain aggregation functions, unless these inner aggregations contain theTOTAL qualifier. For more advanced nested aggregations, use the advanced aggregation functionAggr, in

combination with calculated dimensions.

Text values, NULL values and missing values are disregarded. Examples and results:

Example Result IRR

(Payments)

0.1634

The payments are assumed to be periodic in nature, for example monthly.

The Date field is used in the XIRR example where payments can be non- periodical as long as you provide the dates on which payments were made.

Data used in examples: Cashflow:

LOAD 2013 as Year, * inline [ Date|Discount|Payments

2013-03-01|0.1|3000 2013-10-30|0.1|4200 2014-02-01|0.2|6800 ] (delimiter is '|');

See also:

p XIRR - chart function (page 196) p Aggr - chart function (page 150)

NPV

NPV() returns the aggregated net present value of an investment based on a discount_rate per period and a series of future payments (negative values) and incomes (positive values), represented by the numbers in value, iterated over a number of records, as defined by a group by clause. The payments and incomes are assumed to occur at the end of each period.

Syntax:

NPV(discount_rate, value)

Return data type: numeric. The result has a default number format of money.

Arguments:

Argument Description

discount_rate discount_rate is the rate of discount over the length of the period. value The expression or field containing the data to be measured.

Limitations:

Text values, NULL values and missing values are disregarded. Examples and results:

Add the example script to your app and run it. Then add, at least, the fields listed in the results column to a sheet in your app to see the result.

Example Result Cashflow:

LOAD 2013 as Year, * inline [ Date|Discount|Payments 2013-01-01|0.1|-10000 2013-03-01|0.1|3000 2013-10-30|0.1|4200 2014-02-01|0.2|6800 ] (delimiter is '|'); Cashflow1:

LOAD Year,NPV(0.2, Payments) as NPV1_2013 Resident Cashflow Group By Year;

Year 2013

NPV1_2013 -$540.12

Given that the Cashflow table is loaded as in the previous example:

LOAD Year,NPV(Discount, Payments) as NPV2_2013 Resident Cashflow Group By Year, Discount;

Note that the Group By clause sorts the results by Year and Discount. The first argument, discount_rate, is given as a field (Discount), rather than a specific number, and therefore, a second sorting criterion is required. A field can contain a different values, so the aggregated records must be sorted to allow for different values of Year and Discount. Year 2013 2013 Discount 0.1 0.2 NPV2_2013 -$3456.05 $5666.67

NPV - chart function

NPV() returns the aggregated net present value of an investment based on a discount_rate per period and a series of future payments (negative values) and incomes (positive values,) represented by the numbers in value, iterated over the chart dimensions. The payments and incomes are assumed to occur at the end of each period.

Syntax:

NPV([TOTAL [<fld {,fld}>]] discount_rate, value)

Return data type: numeric The result has a default number format of money.

Arguments:

Argument Description discount_

rate

discount_rate is the rate of discount over the length of the period.

Argument Description

TOTAL If the wordTOTAL occurs before the function arguments, the calculation is made over all possible values given the current selections, and not just those that pertain to the current dimensional value, that is, it disregards the chart dimensions.

TheTOTAL qualifier may be followed by a list of one or more field names within angle brackets <fld>. These field names should be a subset of the chart dimension variables. TheTOTAL qualifier may be followed by a list of one or more field names within angle brackets. These field names should be a subset of the chart dimension variables. In this case, the calculation is made disregarding all chart dimension variables except those listed, that is, one value is returned for each combination of field values in the listed dimension fields. Also, fields that are not currently a dimension in a chart may be included in the list. This may be useful in the case of group dimensions, where the dimension fields are not fixed. Listing all of the variables in the group causes the function to work when the drill-down level changes.

Limitations:

discount_rate and value must not contain aggregation functions, unless these inner aggregations contain theTOTAL qualifier. For more advanced nested aggregations, use the advanced aggregation function Aggr, in combination with calculated dimensions.

Text values, NULL values and missing values are disregarded. Examples and results:

Example Result

NPV(Discount, Payments) -$540.12

Data used in examples: Cashflow:

LOAD 2013 as Year, * inline [ Date|Discount|Payments 2013-01-01|0.1|-10000 2013-03-01|0.1|3000 2013-10-30|0.1|4200 2014-02-01|0.2|6800 ] (delimiter is '|'); See also:

p XNPV - chart function (page 198) p Aggr - chart function (page 150)

XIRR

XIRR() returns the aggregated internal rate of return for a schedule of cash flows (that is not necessarily periodic) represented by paired numbers inpmt and date iterated over a number of records as defined by a group by clause. All payments are discounted based on a 365-day year.

Syntax:

XIRR(pmt, date ) Return data type: numeric

Arguments:

Argument Description

pmt Payments.The expression or field containing the cash flows corresponding to the payment schedule given indate.

date The expression or field containing the schedule of dates corresponding to the cash flow payments given in pmt.

Limitations:

Text values, NULL values and missing values in any or both pieces of a data-pair will result in the entire data- pair to be disregarded.

Examples and results:

Add the example script to your app and run it. Then add, at least, the fields listed in the results column to a sheet in your app to see the result.

Example Result

Cashflow:

LOAD 2013 as Year, * inline [ Date|Discount|Payments 2013-01-01|0.1|-10000 2013-03-01|0.1|3000 2013-10-30|0.1|4200 2014-02-01|0.2|6800 ] (delimiter is '|'); Cashflow1:

LOAD Year,XIRR(Payments, Date) as XIRR2013 Resident Cashflow Group By Year;

Year 2013

XIRR2013 0.5385