<?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/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-7250560164292049291</id><updated>2011-04-21T15:58:59.626-07:00</updated><title type='text'>EPsy 8261 &amp; 8262: Guide to R</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://rguide.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7250560164292049291/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://rguide.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Chili</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>4</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-7250560164292049291.post-5402118044902621096</id><published>2008-03-04T07:42:00.000-08:00</published><updated>2008-03-04T08:30:21.652-08:00</updated><title type='text'>Repeated Measures</title><content type='html'>First, we will want to read our data into R. The data, called &lt;i&gt;ThreeTimePoint.sav&lt;/i&gt;, are in the SPSS (.sav) format. In order to read data in the .sav format into R, we need to use a function that is available in the &lt;p class="code" style="display:inline"&gt;foreign&lt;/p&gt; library. Load the library and read in the data using the following commands.&lt;br /&gt;&lt;p class="code"&gt;&lt;br /&gt;&amp;gt; library(foreign)&lt;br /&gt;&amp;gt; depression=read.spss("ThreeTimePoint.sav", to.data.frame=T)&lt;br /&gt;&amp;gt; attach(depression)&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;Next, we will examine the data.&lt;br /&gt;&lt;p class="code2"&gt;&lt;br /&gt;&lt;p class="code"&gt;&lt;br /&gt;&amp;gt; depression&lt;br /&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;BEFORE &lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;AFTER &lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;FOLLOWUP&lt;br /&gt;1 &lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;2 &lt;span class="Apple-tab-span" style="white-space:pre"&gt;   &lt;/span&gt;3 &lt;span class="Apple-tab-span" style="white-space:pre"&gt;  &lt;/span&gt;5&lt;br /&gt;2&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;4 &lt;span class="Apple-tab-span" style="white-space:pre"&gt;   &lt;/span&gt;7&lt;span class="Apple-tab-span" style="white-space:pre"&gt;  &lt;/span&gt;9&lt;br /&gt;3 &lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;6 &lt;span class="Apple-tab-span" style="white-space:pre"&gt;   &lt;/span&gt;8 &lt;span class="Apple-tab-span" style="white-space:pre"&gt;  &lt;/span&gt;8&lt;br /&gt;4 &lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;8 &lt;span class="Apple-tab-span" style="white-space:pre"&gt;   &lt;/span&gt;9 &lt;span class="Apple-tab-span" style="white-space:pre"&gt;  &lt;/span&gt;8&lt;br /&gt;5 &lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;10&lt;span class="Apple-tab-span" style="white-space:pre"&gt;   &lt;/span&gt;13&lt;span class="Apple-tab-span" style="white-space:pre"&gt;  &lt;/span&gt;15&lt;br /&gt;6 &lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;3 &lt;span class="Apple-tab-span" style="white-space:pre"&gt;   &lt;/span&gt;4 &lt;span class="Apple-tab-span" style="white-space:pre"&gt;  &lt;/span&gt;9&lt;br /&gt;7 &lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;6 &lt;span class="Apple-tab-span" style="white-space:pre"&gt;   &lt;/span&gt;9 &lt;span class="Apple-tab-span" style="white-space:pre"&gt;  &lt;/span&gt;8&lt;br /&gt;8 &lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;9 &lt;span class="Apple-tab-span" style="white-space:pre"&gt;   &lt;/span&gt;11 &lt;span class="Apple-tab-span" style="white-space:pre"&gt;  &lt;/span&gt;10&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7250560164292049291-5402118044902621096?l=rguide.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://rguide.blogspot.com/feeds/5402118044902621096/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7250560164292049291&amp;postID=5402118044902621096' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7250560164292049291/posts/default/5402118044902621096'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7250560164292049291/posts/default/5402118044902621096'/><link rel='alternate' type='text/html' href='http://rguide.blogspot.com/2008/03/repeated-measures.html' title='Repeated Measures'/><author><name>Chili</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7250560164292049291.post-4774731207577314010</id><published>2007-12-20T08:03:00.000-08:00</published><updated>2007-12-20T10:30:22.700-08:00</updated><title type='text'>Data Exploration: State Education Data</title><content type='html'>Again, we will want to read our data into R. The data, called &lt;i&gt;StateEducation.sav&lt;/i&gt;, are in the SPSS (.sav) format. In order to read data in the .sav format into R, we need to use a function that is available in the &lt;p class="code" style="display:inline"&gt;foreign&lt;/p&gt; library. Load the library and read in the data using the following commands.&lt;br /&gt;&lt;p class="code"&gt;&lt;br /&gt;&amp;gt; library(foreign)&lt;br /&gt;&amp;gt; education=read.spss("StateEducation.sav", to.data.frame=T)&lt;br /&gt;&amp;gt; attach(education)&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;Next, we will summarize the &lt;i&gt;B2005&lt;/i&gt; variable by finding the mean and median.&lt;br /&gt;&lt;p class="code"&gt;&lt;br /&gt;&amp;gt; mean(B2005)&lt;br /&gt;[1] 27.35098&lt;br /&gt;&amp;gt; median(B2005)&lt;br /&gt;[1] 25.8 &lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;To obtain the trimmed mean, we add the argument &lt;p class="code" style="display:inline"&gt;trim=x&lt;/p&gt; to the &lt;p class="code" style="display:inline"&gt;mean&lt;/p&gt; command, where &lt;i&gt;x&lt;/I&gt; is the fraction (0 to 0.5) of observations to be trimmed from each end of the data before the mean is computed.&lt;br /&gt;&lt;p class="code"&gt;&lt;br /&gt;&amp;gt; mean(B2005, trim=.2)&lt;br /&gt;[1] 26.84194&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;Unfortunately, R does not have a native function to compute the winsorized mean. To obtain the winsorized mean, we have to create our own function. You can copy and paste the following lines of code into R.&lt;br /&gt;&lt;p class="code"&gt;&lt;br /&gt;win&lt;-function(x,tr=.2){&lt;br /&gt;#&lt;br /&gt;#  Compute the gamma Winsorized mean for the data in the vector x.&lt;br /&gt;#  tr is the amount of Winsorization&lt;br /&gt;#&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;y&lt;-sort(x)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;n&lt;-length(x)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;ibot&lt;-floor(tr*n)+1&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;itop&lt;-length(x)-ibot+1&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;xbot&lt;-y[ibot]&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;xtop&lt;-y[itop]&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;y&lt;-ifelse(y&lt;=xbot,xbot,y)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;y&lt;-ifelse(y&gt;=xtop,xtop,y)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;win&lt;-mean(y)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;win&lt;br /&gt;}&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;To obtain the Winsorized mean we can now employ the function that we just put into R.&lt;br /&gt;&lt;p class="code"&gt;&lt;br /&gt;&amp;gt; win(B2005, tr=.20)&lt;br /&gt;[1] 26.94314&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;Both the variance and standard deviation can be obtained in R by using the following syntax.&lt;br /&gt;&lt;p class="code"&gt;&lt;br /&gt;&amp;gt; var(B2005)&lt;br /&gt;[1] 33.22055&lt;br /&gt;&amp;gt; sd(B2005)&lt;br /&gt;[1] 5.763727&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;To obtain a robust estimate of the variance of the trimmed mean - which can be based on the Winsorized sum of squared deviations - we will again copy and paste the following function into R.&lt;br /&gt;&lt;p class="code"&gt;&lt;br /&gt;winvar&lt;-function(x,tr=.2,na.rm=F){&lt;br /&gt;#&lt;br /&gt;#  Compute the gamma Winsorized variance for the data in the vector x.&lt;br /&gt;#  tr is the amount of Winsorization which defaults to .2.&lt;br /&gt;#&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;if(na.rm)x&lt;-x[!is.na(x)]&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;y&lt;-sort(x)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;n&lt;-length(x)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;ibot&lt;-floor(tr*n)+1&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;itop&lt;-length(x)-ibot+1&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;xbot&lt;-y[ibot]&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;xtop&lt;-y[itop]&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;y&lt;-ifelse(y&lt;=xbot,xbot,y)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;y&lt;-ifelse(y&gt;=xtop,xtop,y)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;winvar&lt;-var(y)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;winvar&lt;br /&gt;}&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;We can then find the Winsorized variance and for the &lt;i&gt;B2005&lt;/i&gt; data by using,&lt;br /&gt;&lt;p class="code"&gt;&lt;br /&gt;&amp;gt; winvar(B2005)&lt;br /&gt;[1] 8.514902&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;To get the standard error for the mean we can employ the formula from the notes as,&lt;br /&gt;&lt;p class="code"&gt;&lt;br /&gt;&amp;gt; sd(B2005)/sqrt(length(B2005))&lt;br /&gt;[1] 0.8070832&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;The robust estimate of the standard error for the trimmed mean can be obtained by again copying and pasting the following formula into R&lt;br /&gt;&lt;p class="code"&gt;&lt;br /&gt;trimse&lt;-function(x,tr=.2,na.rm=F){&lt;br /&gt;#&lt;br /&gt;#  Estimate the standard error of the gamma trimmed mean&lt;br /&gt;#  The default amount of trimming is tr=.2.&lt;br /&gt;#&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;if(na.rm)x&lt;-x[!is.na(x)]&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;trimse&lt;-sqrt(winvar(x,tr))/((1-2*tr)*sqrt(length(x)))&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;trimse&lt;br /&gt;}&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;Then entering the following command.&lt;br /&gt;&lt;p class="code"&gt;&lt;br /&gt;&amp;gt; trimse(B2005, tr=.2)&lt;br /&gt;[1] 0.68101&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;To obtain the mean plot and the mean plot with error bars, we need to use data that is in a different format. This data has been reformatted and is available as &lt;i&gt;StateEducationlongFormat.sav&lt;/i&gt;. Read in this data and load the &lt;p class="code" style="display:inline"&gt;gplots&lt;/p&gt; library using the following commands.&lt;br /&gt;&lt;p class="code"&gt;&lt;br /&gt;&amp;gt; education2=read.spss("StateEducationLongFormat.sav", to.data.frame=T)&lt;br /&gt;&amp;gt; library(gplots)&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;The mean plot can be obtained by entering,&lt;br /&gt;&lt;p class="code"&gt;&lt;br /&gt;&amp;gt; plotmeans(BACH~YEAR, data=education2, connect=T, p=0, n.label=F, xlab="Year", ylab="Percent", main="US Population Obtaining Bachelor's Degree")&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_m3UuoChcQgU/R2q0dJSYG5I/AAAAAAAAAA0/qmwaGHRKz20/s1600-h/Picture+1.png"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="http://1.bp.blogspot.com/_m3UuoChcQgU/R2q0dJSYG5I/AAAAAAAAAA0/qmwaGHRKz20/s320/Picture+1.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5146123937026415506" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;The mean plot with error bars can be obtained by modifying the &lt;p class="code" style="display:inline"&gt;p=0&lt;/p&gt; argument to &lt;p class="code" style="display:inline"&gt;p=.95&lt;/p&gt; as follows,&lt;br /&gt;&lt;p class="code"&gt;&lt;br /&gt;&amp;gt; plotmeans(BACH~YEAR, data=education2, connect=T, p=.95, n.label=F, xlab="Year", ylab="Percent", main="US Population Obtaining Bachelor's Degree")&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_m3UuoChcQgU/R2q0nZSYG6I/AAAAAAAAAA8/F0j0ruxM7d0/s1600-h/Picture+2.png"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="http://2.bp.blogspot.com/_m3UuoChcQgU/R2q0nZSYG6I/AAAAAAAAAA8/F0j0ruxM7d0/s320/Picture+2.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5146124113120074658" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7250560164292049291-4774731207577314010?l=rguide.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://rguide.blogspot.com/feeds/4774731207577314010/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7250560164292049291&amp;postID=4774731207577314010' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7250560164292049291/posts/default/4774731207577314010'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7250560164292049291/posts/default/4774731207577314010'/><link rel='alternate' type='text/html' href='http://rguide.blogspot.com/2007/12/data-exploration-state-education-data.html' title='Data Exploration: State Education Data'/><author><name>Chili</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_m3UuoChcQgU/R2q0dJSYG5I/AAAAAAAAAA0/qmwaGHRKz20/s72-c/Picture+1.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7250560164292049291.post-8714265425775803480</id><published>2007-12-18T13:39:00.000-08:00</published><updated>2007-12-19T19:33:12.897-08:00</updated><title type='text'>Data Exploration: Vietnamese Age Data</title><content type='html'>The first thing we will want to do is read our data into R. The data, called &lt;i&gt;VietnameseAgeData.xls&lt;/i&gt;, is in the Excel format. In order to read data in the .xls format into R, we need to use a function that is available in the &lt;p class="code" style="display:inline"&gt;gdata&lt;/p&gt; library. Load the library and read in the data using the following commands.&lt;br /&gt;&lt;p class="code"&gt;&lt;br /&gt;&amp;gt; library(gdata)&lt;br /&gt;&amp;gt; ages&lt;-read.xls("VietnameseAgeData.xls")&lt;br /&gt;&amp;gt; attach(ages)&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;The &lt;p class="code" style="display:inline"&gt;attach&lt;/p&gt; command attaches the dataset to the searchpath so that we only have to give the variable name rather than call the dataset each time. Next, we will examine the data.&lt;br /&gt;&lt;p class="code"&gt;&lt;br /&gt;&amp;gt; names(ages)&lt;br /&gt;[1] "age"&lt;br /&gt;&amp;gt; age[1:10]&lt;br /&gt; [1] 68 70 31 28 22  7 57 27 23  0&lt;br /&gt;&amp;gt; length(age)&lt;br /&gt;[1] 28633&lt;br /&gt;&amp;gt; summary(age)&lt;br /&gt;   Min. 1st Qu.  Median    Mean 3rd Qu.    Max. &lt;br /&gt;   0.00   12.00   23.00   28.14   41.00   99.00  &lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;Graphically, we want to examine a histogram of the data. The four histograms in the notes are replicated using the following commands&lt;br /&gt;&lt;p class="code"&gt;&lt;br /&gt;&amp;gt; par(mfrow=c(2,2))&lt;br /&gt;&amp;gt; hist(age, breaks=55)&lt;br /&gt;&amp;gt; hist(age, breaks=40)&lt;br /&gt;&amp;gt; hist(age, breaks=25)&lt;br /&gt;&amp;gt; hist(age, breaks=10)&lt;br /&gt;&amp;gt; par(mfrow=c(1,1))&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_m3UuoChcQgU/R2hPqpSYG3I/AAAAAAAAAAg/i4TjefmYWPo/s1600-h/Picture+1.png"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="http://1.bp.blogspot.com/_m3UuoChcQgU/R2hPqpSYG3I/AAAAAAAAAAg/i4TjefmYWPo/s320/Picture+1.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5145450168326822770" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;To obtain the plots of the kernel density estimates, the following R commands were used.&lt;br /&gt;&lt;p class="code"&gt;&amp;gt; par(mfrow=c(2,2))&lt;br /&gt;&amp;gt; plot(density(age, kernel="epanechnikov", bw=.5), main="")&lt;br /&gt;&amp;gt; plot(density(age, kernel="epanechnikov", bw=2.344), main="")&lt;br /&gt;&amp;gt; plot(density(age, kernel="epanechnikov", bw=5), main="")&lt;br /&gt;&amp;gt; plot(density(age, kernel="epanechnikov", bw=10), main="")&lt;br /&gt;&amp;gt; par(mfrow=c(1,1))&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_m3UuoChcQgU/R2hP9pSYG4I/AAAAAAAAAAo/E7ABlXnZMQI/s1600-h/Picture+2.png"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="http://1.bp.blogspot.com/_m3UuoChcQgU/R2hP9pSYG4I/AAAAAAAAAAo/E7ABlXnZMQI/s320/Picture+2.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5145450494744337282" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7250560164292049291-8714265425775803480?l=rguide.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://rguide.blogspot.com/feeds/8714265425775803480/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7250560164292049291&amp;postID=8714265425775803480' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7250560164292049291/posts/default/8714265425775803480'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7250560164292049291/posts/default/8714265425775803480'/><link rel='alternate' type='text/html' href='http://rguide.blogspot.com/2007/12/data-exploration.html' title='Data Exploration: Vietnamese Age Data'/><author><name>Chili</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_m3UuoChcQgU/R2hPqpSYG3I/AAAAAAAAAAg/i4TjefmYWPo/s72-c/Picture+1.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7250560164292049291.post-1413546201211437856</id><published>2007-12-18T11:38:00.000-08:00</published><updated>2007-12-18T13:39:03.570-08:00</updated><title type='text'>Introduction</title><content type='html'>This blog is intended to introduce students enrolled in EPsy 8261 and EPsy8262 to the statistical software R by working through the examples provided in the lecture notes. All of the data sets are available on the course websites for &lt;a href="http://www.tc.umn.edu/~zief0002/8261.htm"&gt;EPsy 8261&lt;/a&gt; and &lt;a href="http://www.tc.umn.edu/~zief0002/8262.htm"&gt;EPsy 8262&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;To obtain R and get started visit the &lt;a href="http://cran.r-project.org/"&gt;Comprehensive R Archive Network&lt;/a&gt;. The blog entries will primarily offer the code needed to replicate the results and figures in the class notes. As time permits, more exposition and direction may be added. There are many wonderful tutorials available on R floating about the web if you want additional information.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7250560164292049291-1413546201211437856?l=rguide.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://rguide.blogspot.com/feeds/1413546201211437856/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7250560164292049291&amp;postID=1413546201211437856' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7250560164292049291/posts/default/1413546201211437856'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7250560164292049291/posts/default/1413546201211437856'/><link rel='alternate' type='text/html' href='http://rguide.blogspot.com/2007/12/introduction.html' title='Introduction'/><author><name>Chili</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>
