<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Replicate results from SPSS for repeated-measures ANOVA with one factor - Angry Birds vs. Tetris in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Replicate-results-from-SPSS-for-repeated-measures-ANOVA-with-one/m-p/540137#M27096</link>
    <description>&lt;P&gt;&amp;nbsp;My first question would be were you able to replicate the results using SPSS?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;While that may sound facetious there is method to that question. The&amp;nbsp; document only shows, at least from a quick scan, the point and click interface approach to getting tasks done. My experience with SPSS was that every release changed the menus and sometimes quite significantly. Significant =&amp;gt; completely rewrite steps for described processes, such as this paper, because things had been removed sometimes including the basic menu item.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Providing the SPSS code generated might help as that changes a bit slower than the point and click menus.&lt;/P&gt;</description>
    <pubDate>Mon, 04 Mar 2019 18:34:09 GMT</pubDate>
    <dc:creator>ballardw</dc:creator>
    <dc:date>2019-03-04T18:34:09Z</dc:date>
    <item>
      <title>Replicate results from SPSS for repeated-measures ANOVA with one factor - Angry Birds vs. Tetris</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Replicate-results-from-SPSS-for-repeated-measures-ANOVA-with-one/m-p/539960#M27095</link>
      <description>&lt;P&gt;I want to replicate the results of Task 4&amp;nbsp; (Page 24) in the following document:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://edge.sagepub.com/system/files/chapter15_1.pdf" target="_blank" rel="noopener"&gt;https://edge.sagepub.com/system/files/chapter15_1.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is the problem's statement.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Angry Birds is a video game in which you fire birds at pigs. Some daft people think this &lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;sort of thing makes people more violent. A (fabricated) study was set up in which people &lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;played Angry Birds and a control game (Tetris) over a two-year period (one year per &lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;game). They were put in a pen of pigs for a day before the study, and after 1 month, 6 &lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;months and 12 months. Their violent acts towards the pigs were counted. The data are in &lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;the file Angry Pigs.sav. Does playing Angry Birds make people more violent to pigs &lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;compared to a control game?&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have attached the data set.&amp;nbsp; This problem involves a repeated-measures ANOVA with one binary factor.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have 5 questions:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1) Can I get Figure 18 (Page 25) automatically from a statistical procedure, or do I have to use PROC SGPLOT to do it manually?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2) Is there a statistical procedure that provides Outputs 16 and 17 (Page 26)?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;3) I ran the following code:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;data v1;&lt;BR /&gt;retain id;&lt;BR /&gt;set h2;&lt;/P&gt;&lt;P&gt;if VideoGame = 'ExperimentalGroup-AngryBirdsVideoGame'&lt;BR /&gt;then VideoGame = 'ab';&lt;BR /&gt;else if VideoGame = 'ControlGroup-TerisVideoGame'&lt;BR /&gt;then VideoGame = 'tetris';&lt;/P&gt;&lt;P&gt;ID = _n_;&lt;/P&gt;&lt;P&gt;rename VideoGame = game&lt;BR /&gt;ViolentAct_Baseline = baseline&lt;BR /&gt;ViolentAct_Time1 = t1&lt;BR /&gt;ViolentAct_Time2 = t2&lt;BR /&gt;ViolentAct_Time3 = t3;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc glm&lt;BR /&gt;data = v1;&lt;BR /&gt;class game;&lt;BR /&gt;model baseline t1 t2 t3 = game / nouni;&lt;BR /&gt;means game / welch;&lt;BR /&gt;repeated time 4 / printe;&lt;BR /&gt;title 'Repeated-measures ANOVA';&lt;BR /&gt;title2 'Within-subjects factor: time';&lt;BR /&gt;title3 'Between-subjects factor: game';&lt;BR /&gt;quit;&lt;BR /&gt;title;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I got this output.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class="branch"&gt;&lt;DIV align="center"&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="sphericity.PNG" style="width: 503px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/27630i2D5CCEC31791F70B/image-size/large?v=v2&amp;amp;px=999" role="button" title="sphericity.PNG" alt="sphericity.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Why is it different from Output 18 on Page 26?&amp;nbsp; How can I replicate Output 18?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;4) How do I replicate the Levene's test of equality of error variances (Output 19, Page 27)?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;5) How do I replicate the contrasts in Output 22 on Page 28?&lt;/P&gt;</description>
      <pubDate>Mon, 04 Mar 2019 03:47:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Replicate-results-from-SPSS-for-repeated-measures-ANOVA-with-one/m-p/539960#M27095</guid>
      <dc:creator>UniformVariance</dc:creator>
      <dc:date>2019-03-04T03:47:44Z</dc:date>
    </item>
    <item>
      <title>Re: Replicate results from SPSS for repeated-measures ANOVA with one factor - Angry Birds vs. Tetris</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Replicate-results-from-SPSS-for-repeated-measures-ANOVA-with-one/m-p/540137#M27096</link>
      <description>&lt;P&gt;&amp;nbsp;My first question would be were you able to replicate the results using SPSS?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;While that may sound facetious there is method to that question. The&amp;nbsp; document only shows, at least from a quick scan, the point and click interface approach to getting tasks done. My experience with SPSS was that every release changed the menus and sometimes quite significantly. Significant =&amp;gt; completely rewrite steps for described processes, such as this paper, because things had been removed sometimes including the basic menu item.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Providing the SPSS code generated might help as that changes a bit slower than the point and click menus.&lt;/P&gt;</description>
      <pubDate>Mon, 04 Mar 2019 18:34:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Replicate-results-from-SPSS-for-repeated-measures-ANOVA-with-one/m-p/540137#M27096</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2019-03-04T18:34:09Z</dc:date>
    </item>
    <item>
      <title>Re: Replicate results from SPSS for repeated-measures ANOVA with one factor - Angry Birds vs. Tetris</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Replicate-results-from-SPSS-for-repeated-measures-ANOVA-with-one/m-p/540153#M27097</link>
      <description>&lt;P&gt;Hi ballardw,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You ask a very good question.&amp;nbsp; I don't have SPSS, so the best that I can do is look at this document and try to replicate the results in SAS.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Mar 2019 18:57:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Replicate-results-from-SPSS-for-repeated-measures-ANOVA-with-one/m-p/540153#M27097</guid>
      <dc:creator>UniformVariance</dc:creator>
      <dc:date>2019-03-04T18:57:30Z</dc:date>
    </item>
    <item>
      <title>Re: Replicate results from SPSS for repeated-measures ANOVA with one factor - Angry Birds vs. Tetris</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Replicate-results-from-SPSS-for-repeated-measures-ANOVA-with-one/m-p/540611#M27107</link>
      <description>&lt;P&gt;If you are in a University or similar environment perhaps you can find someone taking classes that use SPSS and can go through the menus and generate the code. After creating the data set of course.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My SPSS is very rusty but someone may be able to help with SPSS to SAS code.&lt;/P&gt;</description>
      <pubDate>Tue, 05 Mar 2019 22:28:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Replicate-results-from-SPSS-for-repeated-measures-ANOVA-with-one/m-p/540611#M27107</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2019-03-05T22:28:26Z</dc:date>
    </item>
  </channel>
</rss>

