[R] Help needed

2011-01-27 Thread Ben Boyadjian
Hello I am trying to solve these problems and I am not allowed to use loops or ifs. 1st Question My first question is that I have generated 100 random numbers from the uniform distribution then A)add only the negative integers. B)add elements until the first appearance of a negative element.

[R] Writing program for these

2011-01-27 Thread Ben Boyadjian
Hello I am trying to solve these problems and I am not allowed to use loops or ifs. 1st Question My first question is that I have generated 100 random numbers from the uniform distribution then A)add only the negative integers. B)add elements until the first appearance of a negative element.

[R] I am doint this because I dont know if I can just reply to the person that responded to me.

2011-01-27 Thread Ben Boyadjian
I sent this to Siri Bjoner so I dont know if that is allowed or even if it went through. Simulate 1000 observations from the student-t distribution with 3 degrees of freedom and then calculate the truncated mean by excluding bottom 5% and top 5%. This is the question I had and I posted