Administrator
|
DATA LIST LIST / junk(F1).
BEGIN DATA 1 END DATA. COMPUTE pi = 4*ARTAN(1). FORMATS pi (F16.14). LIST pi. pi 3.14159265358979 Number of cases read: 1 Number of cases listed: 1 https://www.ibm.com/support/pages/using-value-pi-spss-transformation-commands ----- -- 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/). |
begin program python3. from mpmath import mp mp.dps=1000 print(mp.pi) end program. 3.1415926535897932384626433832795028841971693993751058209749445923078164062862089986280348253421170679821480865132823066470938446095505822317253594081284811174502841027019385211055596446229489549303819644288109756659334461284756482337867831652712019091456 485669234603486104543266482133936072602491412737245870066063155881748815209209628292540917153643678925903600113305305488204665213841469519415116094330572703657595919530921861173819326117931051185480744623799627495673518857527248912279381830119491298336733 624406566430860213949463952247371907021798609437027705392171762931767523846748184676694051320005681271452635608277857713427577896091736371787214684409012249534301465495853710507922796892589235420199561121290219608640344181598136297747713099605187072113499 99998372978049951059731732816096318595024459455346908302642522308253344685035261931188171010003137838752886587533208381420617177669147303598253490428755468731159562863882353787593751957781857780532171226806613001927876611195909216420199 On Sun, Mar 14, 2021 at 8:28 AM Bruce Weaver <[hidden email]> wrote: DATA LIST LIST / junk(F1). |
Administrator
|
Show off! ;-)
Jon Peck wrote > begin program python3. > from mpmath import mp > mp.dps=1000 > print(mp.pi) > end program. > > 3.1415926535897932384626433832795028841971693993751058209749445923078164062862089986280348253421170679821480865132823066470938446095505822317253594081284811174502841027019385211055596446229489549303819644288109756659334461284756482337867831652712019091456 > 485669234603486104543266482133936072602491412737245870066063155881748815209209628292540917153643678925903600113305305488204665213841469519415116094330572703657595919530921861173819326117931051185480744623799627495673518857527248912279381830119491298336733 > 624406566430860213949463952247371907021798609437027705392171762931767523846748184676694051320005681271452635608277857713427577896091736371787214684409012249534301465495853710507922796892589235420199561121290219608640344181598136297747713099605187072113499 > 99998372978049951059731732816096318595024459455346908302642522308253344685035261931188171010003137838752886587533208381420617177669147303598253490428755468731159562863882353787593751957781857780532171226806613001927876611195909216420199 > > On Sun, Mar 14, 2021 at 8:28 AM Bruce Weaver < > bruce.weaver@ > > > wrote: > >> DATA LIST LIST / junk(F1). >> BEGIN DATA >> 1 >> END DATA. >> COMPUTE pi = 4*ARTAN(1). >> FORMATS pi (F16.14). >> LIST pi. >> >> >> pi >> >> 3.14159265358979 >> >> >> Number of cases read: 1 Number of cases listed: 1 >> >> >> https://www.ibm.com/support/pages/using-value-pi-spss-transformation-commands >> >> >> >> >> ----- >> -- >> 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 >> > > > -- > Jon K Peck > jkpeck@ > > ===================== > 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 ----- -- 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/). |
Well Bruce, at least your solution is good enough for government work,
https://www.jpl.nasa.gov/edu/news/2016/3/16/how-many-decimals-of-pi-do-we-really-need/. ----- Andy W [hidden email] http://andrewpwheeler.wordpress.com/ -- 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 |
What the article doesn't mention - and this is a more practical consideration - is the accuracy of the modeling data that pi might be applied to. Most measurements in practice are probably not good to more than four or five significant figures, if that, at least in the social sciences. I used to give students as an exercise to add a random digit at the accuracy limit and see how it affected their model estimates. Throw in a little multicollinearity and there you are. See the famous Morgenstern book A Perspective on the Accuracy of Economic Observations on JSTOR and some updates (behind a paywall, unfortunately) On Mon, Mar 15, 2021 at 9:38 AM Andy W <[hidden email]> wrote: Well Bruce, at least your solution is good enough for government work, |
Administrator
|
“Did you know that 87.166253% of all statistics claim a precision of results
that is not justified by the method employed?” — Anonymous https://www.wyliecomm.com/writing-tips/readability/how-to-write-about-statistics/quotes-on-writing-with-statistics/ Jon Peck wrote > What the article doesn't mention - and this is a more practical > consideration - is the accuracy of the modeling data that pi might be > applied to. Most measurements in practice are probably not good to more > than four or five significant figures, if that, at least in the social > sciences. I used to give students as an exercise to add a random digit at > the accuracy limit and see how it affected their model estimates. Throw > in > a little multicollinearity and there you are. > > See the famous Morgenstern book A Perspective on the Accuracy of Economic > Observations on JSTOR <https://www.jstor.org/stable/1403345?seq=1> > and > some updates (behind a paywall, unfortunately) > > On Mon, Mar 15, 2021 at 9:38 AM Andy W < > apwheele@ > > wrote: > >> Well Bruce, at least your solution is good enough for government work, >> >> https://www.jpl.nasa.gov/edu/news/2016/3/16/how-many-decimals-of-pi-do-we-really-need/ >> . >> >> >> >> ----- >> Andy W >> > apwheele@ >> http://andrewpwheeler.wordpress.com/ >> -- >> 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 >> > > > -- > Jon K Peck > jkpeck@ > > ===================== > 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 ----- -- 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/). |
From my undergrad days as a philosophy major.
"It is the mark of an educated man to look for precision in each class of things just so far as the nature of the subject admits." /Nicomachean Ethics/ Aristotle (circa 350 B.C.E.) ----- Art Kendall Social Research Consultants -- 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
Art Kendall
Social Research Consultants |
Since we're on (Covid) memory lane: "I'm playing . . all the right notes, but not necessarily in the right order!" as Eric Morecambe famously declared to André Prévin in the brilliant 1971 sketch Grieg's Piano Concerto (8'04''). https://www.youtube.com/watch?v=r7yb-JncKow (For some reason Youtube thinks my computer is still in France: if you can't get round the BBC copyright block, it's available on https://www.dailymotion.com/video/xds7am ) . -----Original Message----- From my undergrad days as a philosophy major. "It is the mark of an educated man to look for precision in each class of things just so far as the nature of the subject admits." /Nicomachean Ethics/ Aristotle (circa 350 B.C.E.) ----- Art Kendall Social Research Consultants -- 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 |
Free forum by Nabble | Edit this page |