Many people already know how to find the mean (average) of a sample of data by "adding all the numbers and
dividing by the number of values in the dataset." I need to describe, another method of finding the mean by using the sample space (list of possible values) and probabilities (the technique is in the book).I need to make a list of seven, 2-digit numbers (with no duplicates) and another set of seven probabilities (with no duplicates). The probabilities must add to 1.
I need to do this in R, and manually enter those numbers and their corresponding probabilities to calculate the mean using only addition and multiplication (in other words, enter only the numbers, the plus sign, and the * for multiplication, like on the bottom of Yakir, 2011, p. 57). Then I need to paste all the R output
I need to describe what my calculation is doing and what the answer means.