<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearch/1.1/' xmlns:georss='http://www.georss.org/georss' xmlns:thr='http://purl.org/syndication/thread/1.0' xmlns:gd='http://schemas.google.com/g/2005' gd:etag='W/&quot;A0AFRX87fyp7ImA9WhRREEQ.&quot;'><id>tag:blogger.com,1999:blog-5227641749699792424</id><updated>2011-11-23T17:55:14.107-08:00</updated><title>Alpha Beta Gamma</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://statbytaiwaree.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5227641749699792424/posts/default?redirect=false&amp;v=2'/><link rel='alternate' type='text/html' href='http://statbytaiwaree.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>serebii15</name><uri>http://www.blogger.com/profile/04164005088427649825</uri><email>noreply@blogger.com</email></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>7</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry gd:etag='W/&quot;A0AFRX85eCp7ImA9WhRREEQ.&quot;'><id>tag:blogger.com,1999:blog-5227641749699792424.post-5317126912061373752</id><published>2011-11-23T15:48:00.001-08:00</published><updated>2011-11-23T17:55:14.120-08:00</updated><app:edited xmlns:app='http://www.w3.org/2007/app'>2011-11-23T17:55:14.120-08:00</app:edited><title>Statistics of Turkeys  - Production, Measured in Dollars in 2010</title><content type='html'>&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://2.bp.blogspot.com/-7_zdMkkrXyY/Ts2gfFFJ6KI/AAAAAAAAJtU/xLA-BHnllLc/s1600/clip-art-turkey-81.jpeg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="200" src="http://2.bp.blogspot.com/-7_zdMkkrXyY/Ts2gfFFJ6KI/AAAAAAAAJtU/xLA-BHnllLc/s200/clip-art-turkey-81.jpeg" width="200" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div style="text-align: center;"&gt;
&lt;b&gt;&lt;span class="Apple-style-span" style="color: blue; font-size: large;"&gt;Happy Thanksgiving, everyone!&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
Tomorrow is Thanksgiving, Thursday, November 24, 2011. &amp;nbsp; I am having Thanksgiving with my friends in San Francisco. What about you guys?&lt;br /&gt;
I would like to relate Thanksgiving to Statistics. &amp;nbsp;So I came up an idea, looking at statistics of Turkeys- Production that measured in dollars. &amp;nbsp;I got the data set from&amp;nbsp;&lt;a href="http://quickstats.nass.usda.gov/#202F2C40-1ADA-33FE-ADA4-689C43CEFEA4"&gt;http://quickstats.nass.usda.gov/#202F2C40-1ADA-33FE-ADA4-689C43CEFEA4&lt;/a&gt;, and&amp;nbsp;made a bar chart and did the calculation from MS Excel. &amp;nbsp;According to the record, the highest value is&amp;nbsp;$736,819,000 from&amp;nbsp;the State of Minnesota, and the lowest value is $53,940,000 from the State of West Virginia.&lt;br /&gt;
&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://1.bp.blogspot.com/-GXs9hep418Q/Ts2GvbDEYsI/AAAAAAAAJtE/pzTYj7uN1Qk/s1600/Screen+Shot+2011-11-23+at+3.39.24+PM.png" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="440" src="http://1.bp.blogspot.com/-GXs9hep418Q/Ts2GvbDEYsI/AAAAAAAAJtE/pzTYj7uN1Qk/s640/Screen+Shot+2011-11-23+at+3.39.24+PM.png" width="640" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://4.bp.blogspot.com/-1txC9JUB_HM/Ts2HGo3y9BI/AAAAAAAAJtM/dHeQiZsofBI/s1600/Screen+Shot+2011-11-23+at+3.42.43+PM.png" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="368" src="http://4.bp.blogspot.com/-1txC9JUB_HM/Ts2HGo3y9BI/AAAAAAAAJtM/dHeQiZsofBI/s640/Screen+Shot+2011-11-23+at+3.42.43+PM.png" width="640" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Feel free to leave me a comment down below. Thank you!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5227641749699792424-5317126912061373752?l=statbytaiwaree.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://statbytaiwaree.blogspot.com/feeds/5317126912061373752/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://statbytaiwaree.blogspot.com/2011/11/statistics-of-turkeys-production.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5227641749699792424/posts/default/5317126912061373752?v=2'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5227641749699792424/posts/default/5317126912061373752?v=2'/><link rel='alternate' type='text/html' href='http://statbytaiwaree.blogspot.com/2011/11/statistics-of-turkeys-production.html' title='Statistics of Turkeys  - Production, Measured in Dollars in 2010'/><author><name>serebii15</name><uri>http://www.blogger.com/profile/04164005088427649825</uri><email>noreply@blogger.com</email></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/-7_zdMkkrXyY/Ts2gfFFJ6KI/AAAAAAAAJtU/xLA-BHnllLc/s72-c/clip-art-turkey-81.jpeg' height='72' width='72'/><thr:total>0</thr:total></entry><entry gd:etag='W/&quot;DkUNRHo_fip7ImA9WhRSGU4.&quot;'><id>tag:blogger.com,1999:blog-5227641749699792424.post-5824342510711931128</id><published>2011-11-21T19:37:00.001-08:00</published><updated>2011-11-21T19:58:15.446-08:00</updated><app:edited xmlns:app='http://www.w3.org/2007/app'>2011-11-21T19:58:15.446-08:00</app:edited><title>Print and Cat in R</title><content type='html'>&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://4.bp.blogspot.com/-MeW9jpN1iQQ/TssdTiV7CII/AAAAAAAAJsw/nWOxDuY9yBY/s1600/Screen+Shot+2011-11-21+at+7.54.32+PM.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="312" src="http://4.bp.blogspot.com/-MeW9jpN1iQQ/TssdTiV7CII/AAAAAAAAJsw/nWOxDuY9yBY/s400/Screen+Shot+2011-11-21+at+7.54.32+PM.png" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;br /&gt;&lt;/div&gt;
Print : we use print when we want R to print something.&lt;br /&gt;
Cat: &amp;nbsp;we can use the cat function as an alternative way to ask R to print something.&lt;br /&gt;
&lt;br /&gt;
&amp;gt; pi&lt;br /&gt;
[1] 3.141593&lt;br /&gt;
&lt;br /&gt;
&amp;gt; sqrt(2)&lt;br /&gt;
[1] 1.414214&lt;br /&gt;
&lt;br /&gt;
&amp;gt; print(pi)&lt;br /&gt;
[1] 3.141593&lt;br /&gt;
&lt;br /&gt;
&amp;gt; print(sqrt(2))&lt;br /&gt;
[1] 1.414214&lt;br /&gt;
&lt;br /&gt;
&amp;gt; print(matrix(c(1,2,3,4,5,6,7,8),4,4))&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp;[,1] [,2] [,3] [,4]&lt;br /&gt;
[1,] &amp;nbsp; &amp;nbsp;1 &amp;nbsp; &amp;nbsp;5 &amp;nbsp; &amp;nbsp;1 &amp;nbsp; &amp;nbsp;5&lt;br /&gt;
[2,] &amp;nbsp; &amp;nbsp;2 &amp;nbsp; &amp;nbsp;6 &amp;nbsp; &amp;nbsp;2 &amp;nbsp; &amp;nbsp;6&lt;br /&gt;
[3,] &amp;nbsp; &amp;nbsp;3 &amp;nbsp; &amp;nbsp;7 &amp;nbsp; &amp;nbsp;3 &amp;nbsp; &amp;nbsp;7&lt;br /&gt;
[4,] &amp;nbsp; &amp;nbsp;4 &amp;nbsp; &amp;nbsp;8 &amp;nbsp; &amp;nbsp;4 &amp;nbsp; &amp;nbsp;8&lt;br /&gt;
&lt;br /&gt;
&amp;gt; print(list("a","b","c"))&lt;br /&gt;
[[1]]&lt;br /&gt;
[1] "a"&lt;br /&gt;
&lt;br /&gt;
[[2]]&lt;br /&gt;
[1] "b"&lt;br /&gt;
&lt;br /&gt;
[[3]]&lt;br /&gt;
[1] "c"&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;gt; print("The zero occurs at"); print(2*pi); print("radians")&lt;br /&gt;
[1] "The zero occurs at"&lt;br /&gt;
[1] 6.283185&lt;br /&gt;
[1] "radians"&lt;br /&gt;
&lt;br /&gt;
&amp;gt; cat("the zero occurs at", 2*pi, "radians.", "\n") &amp;nbsp; # using (\n) to terminate the line&lt;br /&gt;
the zero occurs at 6.283185 radians.&lt;br /&gt;
&lt;br /&gt;
&amp;gt; x&amp;lt;-c(2, 3, 5, 7, 11, 13, 17, 19)&lt;br /&gt;
&amp;gt; cat("The prime numbers under 30 are:",x,"...\n")&lt;br /&gt;
The prime numbers under 30 are: 2 3 5 7 11 13 17 19 ...&lt;br /&gt;
&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5227641749699792424-5824342510711931128?l=statbytaiwaree.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://statbytaiwaree.blogspot.com/feeds/5824342510711931128/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://statbytaiwaree.blogspot.com/2011/11/print-and-cat-in-r.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5227641749699792424/posts/default/5824342510711931128?v=2'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5227641749699792424/posts/default/5824342510711931128?v=2'/><link rel='alternate' type='text/html' href='http://statbytaiwaree.blogspot.com/2011/11/print-and-cat-in-r.html' title='Print and Cat in R'/><author><name>serebii15</name><uri>http://www.blogger.com/profile/04164005088427649825</uri><email>noreply@blogger.com</email></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/-MeW9jpN1iQQ/TssdTiV7CII/AAAAAAAAJsw/nWOxDuY9yBY/s72-c/Screen+Shot+2011-11-21+at+7.54.32+PM.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry gd:etag='W/&quot;CEENQn8yeip7ImA9WhRSGU4.&quot;'><id>tag:blogger.com,1999:blog-5227641749699792424.post-2513663424094819860</id><published>2011-11-21T19:19:00.001-08:00</published><updated>2011-11-21T19:31:33.192-08:00</updated><app:edited xmlns:app='http://www.w3.org/2007/app'>2011-11-21T19:31:33.192-08:00</app:edited><title>Statistics VS Probability</title><content type='html'>&lt;span class="Apple-style-span" style="color: blue;"&gt;Statistics&lt;/span&gt; is the study of the collection, calculation, description, organization, analysis, classification and interpretation of numerical facts or data.&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: blue;"&gt;Probability&lt;/span&gt; is the branch of mathematics that studies the possible outcomes of given events together with the outcomes' relative likelihoods and distributions.&lt;br /&gt;
Let's say that statistics is dealing with data, but probability is all about chance.&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: Arial, Verdana, Helvetica, sans-serif;"&gt;&lt;span class="Apple-style-span" style="font-size: 12px; line-height: 18px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5227641749699792424-2513663424094819860?l=statbytaiwaree.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://statbytaiwaree.blogspot.com/feeds/2513663424094819860/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://statbytaiwaree.blogspot.com/2011/11/statistics-vs-probability.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5227641749699792424/posts/default/2513663424094819860?v=2'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5227641749699792424/posts/default/2513663424094819860?v=2'/><link rel='alternate' type='text/html' href='http://statbytaiwaree.blogspot.com/2011/11/statistics-vs-probability.html' title='Statistics VS Probability'/><author><name>serebii15</name><uri>http://www.blogger.com/profile/04164005088427649825</uri><email>noreply@blogger.com</email></author><thr:total>0</thr:total></entry><entry gd:etag='W/&quot;CE4NRXk7cSp7ImA9WhdWGUg.&quot;'><id>tag:blogger.com,1999:blog-5227641749699792424.post-5583203204976244891</id><published>2011-06-23T15:26:00.000-07:00</published><updated>2011-09-13T15:29:54.709-07:00</updated><app:edited xmlns:app='http://www.w3.org/2007/app'>2011-09-13T15:29:54.709-07:00</app:edited><title>PROC CONTENTS and Set Options for Outputs</title><content type='html'>&lt;p&gt;libname mozart 'C:\books\learning';&lt;br /&gt;data mozart.test_scores;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; length ID $ 3 ;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; input ID $ Score1-Score3 ;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; datalines;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1 90 95 98&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2 78 77 75&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3 88 91 92&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; run;&lt;br /&gt;title "The Descriptor Portion of Data Set TEST_SCORES";&lt;br /&gt;proc contents data = Mozart.test_scores;&lt;br /&gt;run;&lt;br /&gt;&lt;br /&gt;proc datasets;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;contents data=Mozart.test_scores;&lt;br /&gt;run;&lt;br /&gt;/*variable in creation order*/&lt;br /&gt;title "The Descriptor Portion of Data Set TEST_scores";&lt;br /&gt;proc contents data = Mozart.test_scores varnum;&lt;br /&gt;run;&lt;br /&gt;&lt;br /&gt;title "Listing All the SAS Data Sets in a Library";&lt;br /&gt;proc contents data = Mozart._all_ nods;&lt;br /&gt;run;&lt;br /&gt;&lt;br /&gt;proc contents data=Mozart.Sales;&lt;br /&gt;run;&lt;br /&gt;&lt;br /&gt;/* Using a SAS data set as in put to a DATA step*/&lt;br /&gt;data new;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; set mozart.test_scores;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; AveScore = mean(of score1-score3);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; run;&lt;br /&gt;title "Listing of Data Set NEW";&lt;br /&gt;proc print data = new;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; var ID Score1-Score3 AveScore;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; run;&lt;br /&gt;&lt;br /&gt;options nonumber nodate;&lt;br /&gt;proc print data = new;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; var ID Score1-Score3 AveScore;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; run;&lt;br /&gt;/*options nodate pageno=3;*/ &lt;br /&gt;&lt;br /&gt;/* The PAGESIZE= option specifies how many lines each page of output contains. In the following&lt;br /&gt;example, each page of the output that the PRINT procedure produces contains 15 lines (including&lt;br /&gt;those used by the title, date, and so on).&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; options pageno=1 pagesize=15;*/&lt;br /&gt;&lt;br /&gt;/*&amp;nbsp; The LINESIZE= option specifies the width of the print line for your procedure output and log.&lt;br /&gt;Observations that do not fit within the line size continue on a different line.&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; options pageno=1 linesize=64;*/&lt;br /&gt;&lt;br /&gt;/*using FIRSTOBS= and OBS= for Specific Data Sets&amp;nbsp; &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; OBS indicates row variables*/&lt;br /&gt;options firstobs=1 obs=2; &lt;br /&gt;proc print data=new;&lt;br /&gt;run;&lt;br /&gt;/*specifying FIRSTOBS =&amp;nbsp; and OBS= as data set options*/&lt;br /&gt;options firstobs=1 obs=2; &lt;br /&gt;proc print data=new(firstobs=1 obs=3);&lt;br /&gt;run;&lt;br /&gt;&lt;br /&gt;/*The OPTIONS Procedure displays the current setting of one or all SAS system options&lt;br /&gt;The results are displayed in the log*/&lt;br /&gt;proc options;&lt;br /&gt;run;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5227641749699792424-5583203204976244891?l=statbytaiwaree.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://statbytaiwaree.blogspot.com/feeds/5583203204976244891/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://statbytaiwaree.blogspot.com/2011/06/libname-mozart-cbookslearning-data.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5227641749699792424/posts/default/5583203204976244891?v=2'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5227641749699792424/posts/default/5583203204976244891?v=2'/><link rel='alternate' type='text/html' href='http://statbytaiwaree.blogspot.com/2011/06/libname-mozart-cbookslearning-data.html' title='PROC CONTENTS and Set Options for Outputs'/><author><name>serebii15</name><uri>http://www.blogger.com/profile/04164005088427649825</uri><email>noreply@blogger.com</email></author><thr:total>0</thr:total></entry><entry gd:etag='W/&quot;CE8GQnkzfyp7ImA9WhdWGUg.&quot;'><id>tag:blogger.com,1999:blog-5227641749699792424.post-2932454386675255243</id><published>2011-05-17T15:26:00.000-07:00</published><updated>2011-09-13T15:27:03.787-07:00</updated><app:edited xmlns:app='http://www.w3.org/2007/app'>2011-09-13T15:27:03.787-07:00</app:edited><title>Beta(b, b)</title><content type='html'>&lt;img src="http://media.tumblr.com/tumblr_llcc5uFslt1qgccii.png" /&gt;&lt;br /&gt;
For beta &amp;lt;1 the density is bathtub shaped. For beta = 1 the density is uniform between 0 and 1. For beta &amp;gt;1 the density has a mode at 0.5 and as beta increased the density is more concentrated around 0.5. &amp;nbsp;x~Beta(b, b)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5227641749699792424-2932454386675255243?l=statbytaiwaree.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://statbytaiwaree.blogspot.com/feeds/2932454386675255243/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://statbytaiwaree.blogspot.com/2011/09/betab-b.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5227641749699792424/posts/default/2932454386675255243?v=2'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5227641749699792424/posts/default/2932454386675255243?v=2'/><link rel='alternate' type='text/html' href='http://statbytaiwaree.blogspot.com/2011/09/betab-b.html' title='Beta(b, b)'/><author><name>serebii15</name><uri>http://www.blogger.com/profile/04164005088427649825</uri><email>noreply@blogger.com</email></author><thr:total>0</thr:total></entry><entry gd:etag='W/&quot;DkIMR30zeCp7ImA9WhdWGUg.&quot;'><id>tag:blogger.com,1999:blog-5227641749699792424.post-3260390758966600239</id><published>2011-04-30T21:00:00.000-07:00</published><updated>2011-09-13T15:56:26.380-07:00</updated><app:edited xmlns:app='http://www.w3.org/2007/app'>2011-09-13T15:56:26.380-07:00</app:edited><title>OpenBUGS or WinBUGS for MAC OX users</title><content type='html'>&lt;a href="http://4.bp.blogspot.com/-aDSRGd_-KW4/TitfEqb0UZI/AAAAAAAAJrw/tlyPUdAlPiI/s1600/229751_10150588025665188_843165187_18691773_1785023_n.jpeg"&gt;&lt;img alt="" border="0" id="BLOGGER_PHOTO_ID_5632700292672016786" src="http://4.bp.blogspot.com/-aDSRGd_-KW4/TitfEqb0UZI/AAAAAAAAJrw/tlyPUdAlPiI/s320/229751_10150588025665188_843165187_18691773_1785023_n.jpeg" style="cursor: hand; cursor: pointer; display: block; height: 231px; margin: 0px auto 10px; text-align: center; width: 320px;" /&gt;&lt;/a&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div style="font-family: 'lucida grande', tahoma, verdana, arial, sans-serif; font-size: 11px; line-height: 16px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;
I was having a hard time to install OpenBUGS. At first I didn't know how to install it. I found out that It is not compatible for Macintosh. I found this helpful website. &lt;/div&gt;
&lt;div style="font-family: 'lucida grande', tahoma, verdana, arial, sans-serif; font-size: 11px; line-height: 16px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;
So I followed it step by step. I installed completely it using Wine and WineBottler to call OpenBUGS. I am very excited about using it.&lt;/div&gt;
&lt;div style="font-family: 'lucida grande', tahoma, verdana, arial, sans-serif; font-size: 11px; line-height: 16px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;
I would like to share it with everyone. I hope it's helpful.&lt;/div&gt;
&lt;div style="font-family: 'lucida grande', tahoma, verdana, arial, sans-serif; font-size: 11px; line-height: 16px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;
Good luck&lt;/div&gt;
&lt;div style="font-family: 'lucida grande', tahoma, verdana, arial, sans-serif; font-size: 11px; line-height: 16px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;
Serebii&lt;/div&gt;
&lt;div style="font-family: 'lucida grande', tahoma, verdana, arial, sans-serif; font-size: 11px; line-height: 16px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="font-family: 'lucida grande', tahoma, verdana, arial, sans-serif; font-size: 11px; line-height: 16px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;
&lt;strong style="font-family: 'lucida grande', tahoma, verdana, arial, sans-serif; font-size: 11px; line-height: 16px;"&gt;Installing OpenBUGS or WinBUGS in Mac OS X using WineBottler&lt;/strong&gt;&lt;/div&gt;
&lt;div style="font-family: 'lucida grande', tahoma, verdana, arial, sans-serif; font-size: 11px; line-height: 16px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;
&lt;strong style="font-family: 'lucida grande', tahoma, verdana, arial, sans-serif; font-size: 11px; line-height: 16px;"&gt;Instructions&lt;/strong&gt;&lt;/div&gt;
&lt;ol style="font-family: 'lucida grande', tahoma, verdana, arial, sans-serif; font-size: 11px; line-height: 16px; margin-bottom: 10px; margin-left: 5px; margin-right: 0px; margin-top: 10px; padding-bottom: 0px; padding-left: 10px; padding-right: 0px; padding-top: 0px;"&gt;
&lt;li style="font-family: 'lucida grande', tahoma, verdana, arial, sans-serif; font-size: 11px; line-height: 16px;"&gt;Download and install Wine and WineBottler.&lt;/li&gt;
&lt;li style="font-family: 'lucida grande', tahoma, verdana, arial, sans-serif; font-size: 11px; line-height: 16px;"&gt;Download the OpenBUGS installer for Windows or the WinBUGS installer (direct link). I’ll refer to your download as xBUGS from here on in.&lt;/li&gt;
&lt;li style="font-family: 'lucida grande', tahoma, verdana, arial, sans-serif; font-size: 11px; line-height: 16px;"&gt;Open WineBottler and select “Create Custom Prefixes”.&lt;/li&gt;
&lt;li style="font-family: 'lucida grande', tahoma, verdana, arial, sans-serif; font-size: 11px; line-height: 16px;"&gt;Select the xBUGS installer you just downloaded as the Install File.&lt;/li&gt;
&lt;li style="font-family: 'lucida grande', tahoma, verdana, arial, sans-serif; font-size: 11px; line-height: 16px;"&gt;Check off “dcom98” in the Winetricks menu (as per instructions here).&lt;/li&gt;
&lt;li style="font-family: 'lucida grande', tahoma, verdana, arial, sans-serif; font-size: 11px; line-height: 16px;"&gt;Click “Install.” Call the file “xBUGS.app” or something similar. This is the Mac application that will be created.&lt;/li&gt;
&lt;li style="font-family: 'lucida grande', tahoma, verdana, arial, sans-serif; font-size: 11px; line-height: 16px;"&gt;Go through the install process.&lt;/li&gt;
&lt;li style="font-family: 'lucida grande', tahoma, verdana, arial, sans-serif; font-size: 11px; line-height: 16px;"&gt;At the end of it, WineBottler will ask for the executable to run on start-up. Select OpenBUGS.exe or WinBUGS14.exe.&lt;/li&gt;
&lt;li style="font-family: 'lucida grande', tahoma, verdana, arial, sans-serif; font-size: 11px; line-height: 16px;"&gt;Navigate to the newly-created xBUGS.app file and double-click it. You should (eventually) see the expected xBUGS interface.&lt;/li&gt;
&lt;/ol&gt;
&lt;div style="font-family: 'lucida grande', tahoma, verdana, arial, sans-serif; font-size: 11px; line-height: 16px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;
If you installed WinBUGS instead of OpenBUGS, you’ll have to go through the standard patching process described on the WinBUGS website.&lt;/div&gt;
&lt;div style="font-family: 'lucida grande', tahoma, verdana, arial, sans-serif; font-size: 11px; line-height: 16px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="font-family: 'lucida grande', tahoma, verdana, arial, sans-serif; font-size: 11px; line-height: 16px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;
You can also check the links below:&lt;/div&gt;
&lt;div style="font-family: 'lucida grande', tahoma, verdana, arial, sans-serif; font-size: 11px; line-height: 16px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;
http://www.openbugs.info/w/&lt;/div&gt;
&lt;div style="font-family: 'lucida grande', tahoma, verdana, arial, sans-serif; font-size: 11px; line-height: 16px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;
http://www.aidanfindlater.com/installing-openbugs-in-mac-os-x-using-winebottler&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;script type="text/javascript"&gt;
&lt;br /&gt;
&lt;br /&gt;  var _gaq = _gaq || [];
&lt;br /&gt;  _gaq.push(['_setAccount', 'UA-24721894-1']);
&lt;br /&gt;  _gaq.push(['_trackPageview']);
&lt;br /&gt;
&lt;br /&gt;  (function() {
&lt;br /&gt;    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
&lt;br /&gt;    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
&lt;br /&gt;    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
&lt;br /&gt;  })();
&lt;br /&gt;
&lt;br /&gt;
&lt;/script&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5227641749699792424-3260390758966600239?l=statbytaiwaree.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://statbytaiwaree.blogspot.com/feeds/3260390758966600239/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://statbytaiwaree.blogspot.com/2011/04/openbugs-or-winbugs-for-mac-ox-users.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5227641749699792424/posts/default/3260390758966600239?v=2'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5227641749699792424/posts/default/3260390758966600239?v=2'/><link rel='alternate' type='text/html' href='http://statbytaiwaree.blogspot.com/2011/04/openbugs-or-winbugs-for-mac-ox-users.html' title='OpenBUGS or WinBUGS for MAC OX users'/><author><name>serebii15</name><uri>http://www.blogger.com/profile/04164005088427649825</uri><email>noreply@blogger.com</email></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/-aDSRGd_-KW4/TitfEqb0UZI/AAAAAAAAJrw/tlyPUdAlPiI/s72-c/229751_10150588025665188_843165187_18691773_1785023_n.jpeg' height='72' width='72'/><thr:total>0</thr:total></entry><entry gd:etag='W/&quot;DkIDQ386fSp7ImA9WhdWGUg.&quot;'><id>tag:blogger.com,1999:blog-5227641749699792424.post-8852050033556792515</id><published>2011-01-11T01:21:00.000-08:00</published><updated>2011-09-13T15:56:12.115-07:00</updated><app:edited xmlns:app='http://www.w3.org/2007/app'>2011-09-13T15:56:12.115-07:00</app:edited><title>How to export R graph on OpenOffice.org</title><content type='html'>&lt;a href="http://4.bp.blogspot.com/-JX6rNXxg-VM/TiteQoN4VrI/AAAAAAAAJro/SgIIJeY4Cg8/s1600/166802_10150381716045188_843165187_17011673_86087_n.jpeg"&gt;&lt;img alt="" border="0" id="BLOGGER_PHOTO_ID_5632699398723491506" src="http://4.bp.blogspot.com/-JX6rNXxg-VM/TiteQoN4VrI/AAAAAAAAJro/SgIIJeY4Cg8/s320/166802_10150381716045188_843165187_17011673_86087_n.jpeg" style="cursor: hand; cursor: pointer; display: block; height: 200px; margin: 0px auto 10px; text-align: center; width: 320px;" /&gt;&lt;/a&gt;
&lt;br /&gt;
I was having a hard time to export R graphs  to OpenOffice.org on MAC OS. I did research it. I finally figured it out. 
&lt;br /&gt;
1), you wanna download Oracle PDF Import Extension (http://extensions.services.openoffice.org/project/pdfimport?intcmp=1549). This import plugin is now.  Yet, it seems to work well for importing R graphs saved in PDF 2). Here is how you use it.
&lt;br /&gt;
2) Import your PDF graph in OpenOffice once the PDF import plugin is installed. You graph is displayed in an OODraw window. You can easily post-process it there, if you like.
&lt;br /&gt;
3) select all of your graph and copy it.
&lt;br /&gt;
4) open or switch to a text document in OOWriter, or to a presentation in OOPresenter, and paste your graph there. This is a little long but has the advantage of allowing further edition of your graph in place, just by double-clicking in it!
&lt;br /&gt;
&lt;br /&gt;
Now I can easily use R to do project and OpenOffice.org on my MAC! hehe 
&lt;br /&gt;
&lt;br /&gt;
Good Luck,
&lt;br /&gt;
serebii&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;script type="text/javascript"&gt;
&lt;br /&gt;
&lt;br /&gt;  var _gaq = _gaq || [];
&lt;br /&gt;  _gaq.push(['_setAccount', 'UA-24721894-1']);
&lt;br /&gt;  _gaq.push(['_trackPageview']);
&lt;br /&gt;
&lt;br /&gt;  (function() {
&lt;br /&gt;    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
&lt;br /&gt;    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
&lt;br /&gt;    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
&lt;br /&gt;  })();
&lt;br /&gt;
&lt;br /&gt;
&lt;/script&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5227641749699792424-8852050033556792515?l=statbytaiwaree.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://statbytaiwaree.blogspot.com/feeds/8852050033556792515/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://statbytaiwaree.blogspot.com/2011/07/how-to-export-r-graph-on-openofficeorg.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5227641749699792424/posts/default/8852050033556792515?v=2'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5227641749699792424/posts/default/8852050033556792515?v=2'/><link rel='alternate' type='text/html' href='http://statbytaiwaree.blogspot.com/2011/07/how-to-export-r-graph-on-openofficeorg.html' title='How to export R graph on OpenOffice.org'/><author><name>serebii15</name><uri>http://www.blogger.com/profile/04164005088427649825</uri><email>noreply@blogger.com</email></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/-JX6rNXxg-VM/TiteQoN4VrI/AAAAAAAAJro/SgIIJeY4Cg8/s72-c/166802_10150381716045188_843165187_17011673_86087_n.jpeg' height='72' width='72'/><thr:total>0</thr:total></entry></feed>