I do need to be able to create an R code to generate my solution unfortunately which is why I am getting confused with some parts. I did try to create a post to separate the issues but because I am new they will not let me post more than one time a day.
For my second question, I have been given a mean and standard deviation value which I am meant to somehow use R to generate the 25th and 75 percentiles and find the interquartile range. This data is different to the binomial data from my first question.
My last question may be more of a theoretical one but it has been hard to find the accurate information to get my head around what to do so that I can work out what R code to generate to get my answer. I know or am learning how to get the probability for the individual events but the probability I must calculate is based on two events. For example, the probability of getting heads for the first five times then getting heads a further 2 times within the sample.
For the question where I am given the mean and standard deviation of weight, I can calculate the probability of someone being within that weight. I need to then calculate the probability that says 3 out of 10 people from a random selection are within a defined weight category.
I suspect there might be some general rule which applies when trying to work out the probability of something occurring with those extra conditions but I am having trouble understanding exactly what the formula or rules are. I can only find very basic examples or something that is far too complicated to understand.