I would like to find right banding to monitor the inflation by group.
I simulated dataset a. Dataset b is the 120% of dataset a.
Mean of dataset b is showing 120% of mean of a.
But when I found first group 0-559 for datasets a and b means. Both means are closed that I can’t see the inflation…. 20% ——————————-
set.seed(1999) a=rnorm(5000,1000,400) a=abs(a) mean(a) [1] 1004.025
b=a*1.2 mean(b) [1] 1204.83
(max(a)-min(a))/4 [1] 559.8347
first banding for a
c=as.data.frame(a) c=c %>% filter(a<559) mean(c$a) [1] 373.6803
first banding for b
c=as.data.frame(b) c=c %>% filter( b<559) mean(c$b) [1] 354.8201