Administrator
|
* Q. How can I compute the value of pi in SPSS?
. DATA LIST LIST/ x(F1). BEGIN DATA 1 END DATA. COMPUTE PI = 4*ARTAN(1). FORMATS PI (F20.18). LIST PI. * Source: http://www-01.ibm.com/support/docview.wss?uid=swg21476209. OUTPUT from the LIST command: PI 3.1415926535897930 ----- -- Bruce Weaver [hidden email] http://sites.google.com/a/lakeheadu.ca/bweaver/ "When all else fails, RTFM." NOTE: My Hotmail account is not monitored regularly. To send me an e-mail, please use the address shown above. -- Sent from: http://spssx-discussion.1045642.n5.nabble.com/ ===================== To manage your subscription to SPSSX-L, send a message to [hidden email] (not to SPSSX-L), with no body text except the command. To leave the list, send the command SIGNOFF SPSSX-L For a list of commands to manage subscriptions, send the command INFO REFCARD
--
Bruce Weaver bweaver@lakeheadu.ca http://sites.google.com/a/lakeheadu.ca/bweaver/ "When all else fails, RTFM." PLEASE NOTE THE FOLLOWING: 1. My Hotmail account is not monitored regularly. To send me an e-mail, please use the address shown above. 2. The SPSSX Discussion forum on Nabble is no longer linked to the SPSSX-L listserv administered by UGA (https://listserv.uga.edu/). |
Administrator
|
DEFINE !Pi ()
3.1415926535897932384626433832795028841971693993751058209749445923078164062862089986280348253421170679 !ENDDEFINE. 3.141592653589793*2 * Bruce Weaver wrote > * Q. How can I compute the value of pi in SPSS? > . > DATA LIST LIST/ x(F1). > BEGIN DATA > 1 > END DATA. > COMPUTE PI = 4*ARTAN(1). > FORMATS PI (F20.18). > LIST PI. > > * Source: http://www-01.ibm.com/support/docview.wss?uid=swg21476209. > > OUTPUT from the LIST command: > > > PI > > 3.1415926535897930 > > > > > ----- > -- > Bruce Weaver > bweaver@ > http://sites.google.com/a/lakeheadu.ca/bweaver/ > > "When all else fails, RTFM." > > NOTE: My Hotmail account is not monitored regularly. > To send me an e-mail, please use the address shown above. > > -- > Sent from: http://spssx-discussion.1045642.n5.nabble.com/ > > ===================== > To manage your subscription to SPSSX-L, send a message to > LISTSERV@.UGA > (not to SPSSX-L), with no body text except the > command. To leave the list, send the command > SIGNOFF SPSSX-L > For a list of commands to manage subscriptions, send the command > INFO REFCARD ----- Please reply to the list and not to my personal email. Those desiring my consulting or training services please feel free to email me. --- "Nolite dare sanctum canibus neque mittatis margaritas vestras ante porcos ne forte conculcent eas pedibus suis." Cum es damnatorum possederunt porcos iens ut salire off sanguinum cliff in abyssum?" -- Sent from: http://spssx-discussion.1045642.n5.nabble.com/ ===================== To manage your subscription to SPSSX-L, send a message to [hidden email] (not to SPSSX-L), with no body text except the command. To leave the list, send the command SIGNOFF SPSSX-L For a list of commands to manage subscriptions, send the command INFO REFCARD
Please reply to the list and not to my personal email.
Those desiring my consulting or training services please feel free to email me. --- "Nolite dare sanctum canibus neque mittatis margaritas vestras ante porcos ne forte conculcent eas pedibus suis." Cum es damnatorum possederunt porcos iens ut salire off sanguinum cliff in abyssum?" |
In reply to this post by Bruce Weaver
March 14, 1592 could have been an exciting day, a once in time event. I wonder if anybody noticed
-----Original Message----- From: SPSSX(r) Discussion <[hidden email]> On Behalf Of Bruce Weaver Sent: Wednesday, March 14, 2018 10:09 AM To: [hidden email] Subject: Happy Pi Day, 2018 * Q. How can I compute the value of pi in SPSS? . DATA LIST LIST/ x(F1). BEGIN DATA 1 END DATA. COMPUTE PI = 4*ARTAN(1). FORMATS PI (F20.18). LIST PI. * Source: http://www-01.ibm.com/support/docview.wss?uid=swg21476209. OUTPUT from the LIST command: PI 3.1415926535897930 ----- -- Bruce Weaver [hidden email] http://sites.google.com/a/lakeheadu.ca/bweaver/ "When all else fails, RTFM." NOTE: My Hotmail account is not monitored regularly. To send me an e-mail, please use the address shown above. -- Sent from: http://spssx-discussion.1045642.n5.nabble.com/ ===================== To manage your subscription to SPSSX-L, send a message to [hidden email] (not to SPSSX-L), with no body text except the command. To leave the list, send the command SIGNOFF SPSSX-L For a list of commands to manage subscriptions, send the command INFO REFCARD ===================== To manage your subscription to SPSSX-L, send a message to [hidden email] (not to SPSSX-L), with no body text except the command. To leave the list, send the command SIGNOFF SPSSX-L For a list of commands to manage subscriptions, send the command INFO REFCARD |
If you want answer as to whether Mar 14, 1592 was celebrated as Pi day the answer is a definite "maybe" though why it would have been celebrated because it was suchhttps://meangreenmath.com/2015/03/12/pi-day-in-1592/ |My first thought was that may not have been known to that many decimal |places in 1592. However, a quick check on Wikipedia (see also here), as well |as the book “ Unleashed,” verifies that my initial thought was wrong. |In China, 7 places of accuracy were obtained by the 5th century. |By the 14th century, was known to 13 decimal places in India. |In the 15th century, was calculated to 16 decimal places in Persia. How many people would have known what Pi was as well as why it was important? Plrobably very few. Today, however, my email from the journal Proceeding of the National Academy of Sciences boldly acknowledges Pi Day in it Subject line. And so does the electronics dealer NewEgg, as well as the makers of Mathematica that have sent to two emails on their special discounts on the home and student versions of Matlab, good to the end of the month, and other sources that I have deleted. So, if you have mathy/sciency connections, you're little to get a bunch of reminders that today is Pi day -- how many folks outside of this group would know it? Or are they more concerned with the election in Texas (the democrat won in a congreesional district that was Trump won with +20 more votes) or that Stephen Hawking has dies or what is the fallout of the "The Bachelor" show or whatever the hell the Kardashians are doing (outside of watching the new O.J. video) and so on. I don't know how exciting Mar 14, 1592 could have been (though there seems to be some celebrations on Mar 15).. A more interesting intellectual question, perhaps, is does one use the Julian or Gregorian calendar in reckoning the date. Quoting the Wikipedia on the year "1592": |1592 was a leap year starting on Wednesday of the Gregorian calendar |and a leap year starting on Saturday of the Julian calendar, the 1592nd |year of the Common Era (CE) and Anno Domini (AD) designations, the |592nd year of the 2nd millennium, the 92nd year of the 16th century, and |the 3rd year of the 1590s decade. As of the start of 1592, the Gregorian |calendar was 10 days ahead of the Julian calendar, which remained in |localized use until 1923 The Gregorian calendar date for Pi day is what we use today (as mentioned in the Wiki entry) but what about those following the Gregorian calendar (which most Orthodox Christians followed and still follow). And what about the Jewish calendar? Pi day comes way too early. Similarly, I believe for Chinese and the Indians. And what about the Mayans, eh? A lot of confusion, I think for Mar 14, 1592. I think most folks would be satisfied with celebrating 4/20 whenever possible. ;-) -Mike Palij New York University On Wed, Mar 14, 2018 at 2:24 PM, Maguin, Eugene <[hidden email]> wrote: March 14, 1592 could have been an exciting day, a once in time event. I wonder if anybody noticed |
Free forum by Nabble | Edit this page |