A.tarcorskew()

Read(252) Label: sequence, correct skewness,

Description:

Correct skewness of a sequence of numeric target variables.

Syntax:

A.tarcorskew()

During the modelling process, correct skewness of a sequence A of numeric target variables, handle outliers, and return the result sequence of outcomes and the sequence of correction and handling records, represented by Rec

A.tarcorskew@r(Rec)

Get the restored values of score values according to Rec, the sequence of correction and handling records after model scoring

Note:

The external library (See External Library Guide) corrects skewness of a sequence of numeric target variables.

Parameter:

A

A sequence of numeric target variables

Rec

The sequence of correction and handling records

Option:

@c

Modify the original data to the corrected values after execution

Return value:

Sequence

Example:

 

A

 

1

=T("D://house_prices_train.csv")

 

2

=A1.(SalePrice)

A sequence of numeric target variables.

3

=A2.skew()

The skewness of original data.

4

=A2.tarcorskew@c()

Return the result of skewness correction and skewness correction records and modify the original data.

5

=A2.skew()

The corrected skewness.

6

=A2.tarcorskew@r(A4(2))

Recover the corrected data to their original values according to skewness correction records, usually in order to restore the score values.