Re: [R] One-sample test for p

2008-10-16 Thread rr400
her than a technical one. Thanks again for your help. R. Duncan Murdoch-2 wrote: > > On 10/16/2008 7:35 AM, Peter Dalgaard wrote: >> rr400 wrote: >>> Hi, i am doing a statistics course and am having trouble with an >>> exercise >>> where i need to determi

[R] One-sample test for p

2008-10-16 Thread rr400
Hi, i am doing a statistics course and am having trouble with an exercise where i need to determine whether my success rate at something is higher than 80%. I was successful in 29 out of 60 trials, so these were the commands i entered into R: >n=60 >p.hat=29/n >p.0=0.8 >se.0=sqrt(p.0*(1-p.0)/n) >

Re: [R] Finding a probability

2008-08-27 Thread rr400
Thank you so much, at least i got that part right. But what is the meaning of the e-11 at the end?? Thanks again You commands are correct and the interpretation is that the probability that a normal random variable with mean 1454.190 and standard deviation 162.6301 achieves a value of 417 or le

Re: [R] Error producing density curve

2008-08-27 Thread rr400
This was exactly the problem. It has worked a treat this time around. Thank you so much! -- View this message in context: http://www.nabble.com/Error-producing-density-curve-tp19173403p19176280.html Sent from the R help mailing list archive at Nabble.com. __

[R] Finding a probability

2008-08-26 Thread rr400
Hi, i am trying to determine a certain probability and i am unsure if the commands i have entered into R are correct. I am trying to determine how unusual it would be to find something with the value 417 for a set of numbers with mean 1454.190 and standard deviation 162.6301. The command i entere

[R] Error producing density curve

2008-08-26 Thread rr400
Hi, i have never really used R before and i need to produce a density curve for use in an assignment. Following the instructions in the manual provided with my course i keep getting this error message: "Error in plot.xy(xy, type, ...) : invalid plot type '1'" The commands i have entered are: >x=s