Indeed!

>  pt(pi, df=6)
[1] 0.9899863

Simon.


On 31/05/11 14:38, MacQueen, Don wrote:
> I once knew someone who thought that a 1-sided upper 99% confidence limit
> for the mean with n=7 was calculated by multiplying the standard error of
> the mean by pi.
>
> -Don
>
> On 5/30/11 6:00 PM, "Bentley Coffey"<bentleygcof...@gmail.com>  wrote:
>
>> Pi is an irRATIOnal number, meaning that it is not equal to the ratio of
>> any
>> integers ("whole numbers"). Hence, 22/7 is ONLY an approximation. The
>> built-in value for pi in R is also just an approximation (pi has no
>> terminal
>> digit on the right of the decimal point so any finite number of digits
>> will
>> just be an approximation). Yet, the built-in value for pi in R is a more
>> precise approximation, which is usually preferred...
>> On May 30, 2011 2:02 AM, "Vincy Pyne"<vincy_p...@yahoo.ca>  wrote:
>>> Dear R helpers,
>>>
>>> I have one basic doubt about the value of pi. In school, we have learned
>> that
>>> pi = 22/7 (which is = 3.142857). However, if I type pi in R, I get pi =
>> 3.141593. So which value of pi should be considered?
>>> Regards
>>>
>>> Vincy
>>>
>>>
>>>
>>>
>>>
>>> [[alternative HTML version deleted]]
>>>
>>> ______________________________________________
>>> R-help@r-project.org mailing list
>>> https://stat.ethz.ch/mailman/listinfo/r-help
>>> PLEASE do read the posting guide
>> http://www.R-project.org/posting-guide.html
>>> and provide commented, minimal, self-contained, reproducible code.
>>      [[alternative HTML version deleted]]
>>
>> ______________________________________________
>> R-help@r-project.org mailing list
>> https://stat.ethz.ch/mailman/listinfo/r-help
>> PLEASE do read the posting guide
>> http://www.R-project.org/posting-guide.html
>> and provide commented, minimal, self-contained, reproducible code.
> ______________________________________________
> R-help@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.


-- 
Simon Blomberg, BSc (Hons), PhD, MAppStat.
Lecturer and Consultant Statistician
School of Biological Sciences
The University of Queensland
St. Lucia Queensland 4072
Australia
T: +61 7 3365 2506
email: S.Blomberg1_at_uq.edu.au
http://www.uq.edu.au/~uqsblomb/

Policies:
1.  I will NOT analyse your data for you.
2.  Your deadline is your problem

Statistics is the grammar of science - Karl Pearson.


        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to