If a child of an intestate shall have been advanced by him, by settlement or portion, real or personal property, the value thereof must be reckoned for the purposes of descent and distribution as part of the real and personal property of the intestate descendible and to be distributed to his distributees; and if such advancement be equal to or greater than the amount of the share which such child would be entitled to receive of the estate of the deceased, such child and his descendants shall not share in the estate of the intestate; but if it be less than such share, such child and his descendants shall receive so much, only, of the personal property, and inherit so much only, of the real property, of the intestate, as shall be sufficient to make all the shares of all the children in the whole property, including the advancement, equal. The value of any real or personal property so advanced shall be deemed to be that, if any, which was acknowledged by the child by an instrument in writing; otherwise it must be estimated according to the worth of the property when given. Maintaining or educating a child, or giving him money without a view to a portion or settlement in life is not an advancement. An estate or interest given by a parent to a descendant by virtue of a beneficial power, or of a power in trust with a right of selection, is an advancement.