I have a simple question. I would like to summarize two nonparametric distributions.
Here is an example. There are two cities in which there are 10 houses. we know the energy consumption for every home. (edited) I want to get the probability distribution of the sum of a random house selected from each city.
A1 <- c(1,2,3,3,3,4,4,5,6,7)
B1 <- c(11,13,15,17,17,18,18,19,20,22)
I have a probability distribution of A1 and B1, how can I get a probability distribution of A1 + B1? If I just use A1+B1in R, it gives 12 15 18 20 20 22 22 24 26 29. However, I do not think this is correct. Of course, there is no order in the houses.
When I change the order of the houses, it gives different results.
A1 <- c(1,2,3,3,3,4,4,5,6,7)
B1 <- c(11,13,15,17,17,18,18,19,20,22)
A2 <- c(7,6,5,4,4,3,3,3,2,1)
B2 <- c(22,20,19,18,18,17,17,15,13,11)
A3 <- c(3,3,3,4,4,5,6,7,1,2)
B3 <- c(17,17,18,18,19,13,20,11,22,15)
sum1 <- A1+B1; sum1
sum2 <- A1+B2; sum2
sum3 <- A3+B3; sum3

The red lines are sum1, sum2 and sum3. I am not sure how I can get the distribution of the sum of the two distributions. Please give me any ideas. Thanks!
( , , )