Skip to content

Probability Question

3 messages · Matilda E. Gogos, Peter Dalgaard, David Winsemius

#
On Dec 28, 2011, at 05:11 , Matilda E. Gogos wrote:

            
We're not supposed to help with homework here, and neither is sci.stat.consult. However, since it is Christmas... 

This looks like a pen-and-paper (theory) exercise, not an R one. Are you sure that the R requirement is not intended to apply to exercises further down the list?  You might use expand.grid() to find the elements of the powerset, but I'm not sure that actually helps understanding.

  
    
#
On Dec 28, 2011, at 3:15 AM, peter dalgaard wrote:

            
I don't think I'm violating the no homework rule too much by pointing  
our that there is a powerset()  function in the sets package. Why one  
wouldn't do this one in their head is a bit beyond me,  but if it's  
really true that these need to be done in R, then maybe the author's  
intent ti to get that package installed and loaded?
David Winsemius, MD
West Hartford, CT