Hi all,
is there a way to fill missing values in a column with a random choice from available values from the same column (with probabilities matching the original probabilities)?
For example
| Original | Imputed |
| A | A |
| A | A |
| A | A |
| [Null] | A |
| C | C |
| [Null] | A |
| B | B |
| A | A |
| B | B |
| A | A |
In this case for example missing values would be more often substituted by A than C.
Any help would be greatly appreciated.