You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now there are 2 cases when making a histogram for a categorical variable:
The user enters a list of bins, and the laplace mechanism is used
The user does NOT enter a list of bins, and the stability mechanism is used
We want to implement a third case:
3) the user enters a list of bins, but the list is a subset of the full list of levels the variable takes. So we add an NA bins to the list of bins, set all levels that were not entered in the list of bins to NA, and then use the stability mechanism
In implementing this third case, we will use the existing histogramCategoricalBins function in utilities-histogram.R