<?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: 2-way nonparametric factorial analysis with missing data in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/2-way-nonparametric-factorial-analysis-with-missing-data/m-p/373082#M19519</link>
    <description>&lt;P&gt;Thank you! I meant to post it in that forum but somehow didn't.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;That is a really good question. I'm not sure which type of model I am trying to create. That's probably the question I should have asked. I guess I'm looking for some type of nonparametric equivalent to the model I attached, if such a thing exists. I believe Kruskall-Wallis is applicable for 1-way analyses, but I'm trying to see if I can analyze the factors "trt" and "time" as well as the interaction of "trt*time."&lt;/P&gt;</description>
    <pubDate>Tue, 04 Jul 2017 19:46:06 GMT</pubDate>
    <dc:creator>cpd47</dc:creator>
    <dc:date>2017-07-04T19:46:06Z</dc:date>
    <item>
      <title>2-way nonparametric factorial analysis with missing data</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/2-way-nonparametric-factorial-analysis-with-missing-data/m-p/373062#M19517</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm not sure if it is possible to run a 2-way nonparametric analysis (a lot of sources on the internet say only 1-way is possible), but I have some response variables that fail the Shapiro-Wilk test for normality so I am trying to analyze them non parametrically. Below is a sample of my data and how I am analyzing variables that ARE normally distributed and have equal variances. However, this response variable (osmo) fails both Shapiro-Wilk and Levene's tests for normality and homogeneity of variance. I also attached a SAS file to this question (I am new here so am not sure which is preferred). If anyone has an idea of how to do this, I would greatly appreciate any help!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;data osmo;&lt;BR /&gt;input trt time tank osmo;&lt;BR /&gt;datalines;&lt;BR /&gt;1 0 1 297&lt;BR /&gt;1 0 1 293.5&lt;BR /&gt;1 0 2 301.5&lt;BR /&gt;1 0 2 298.5&lt;BR /&gt;1 0 3 299&lt;BR /&gt;1 0 3 314.5&lt;BR /&gt;1 20 1 297.5&lt;BR /&gt;1 20 1 .&lt;BR /&gt;1 20 2 291.5&lt;BR /&gt;1 20 2 298.5&lt;BR /&gt;1 20 3 290&lt;BR /&gt;1 20 3 299&lt;BR /&gt;1 60 1 305&lt;BR /&gt;1 60 1 297&lt;BR /&gt;1 60 2 .&lt;BR /&gt;1 60 2 295.5&lt;BR /&gt;1 60 3 291&lt;BR /&gt;1 60 3 298&lt;BR /&gt;1 120 1 295.5&lt;BR /&gt;1 120 1 298&lt;BR /&gt;1 120 2 296.5&lt;BR /&gt;1 120 2 293&lt;BR /&gt;1 120 3 299&lt;BR /&gt;1 120 3 305.5&lt;BR /&gt;1 360 1 329.5&lt;BR /&gt;1 360 1 287.5&lt;BR /&gt;1 360 2 291&lt;BR /&gt;1 360 2 303.5&lt;BR /&gt;1 360 3 297&lt;BR /&gt;1 360 3 290&lt;BR /&gt;1 1440 1 301&lt;BR /&gt;1 1440 1 294.5&lt;BR /&gt;1 1440 2 300.5&lt;BR /&gt;1 1440 2 291.5&lt;BR /&gt;1 1440 3 296&lt;BR /&gt;1 1440 3 303&lt;BR /&gt;2 0 1 299&lt;BR /&gt;2 0 1 307.25&lt;BR /&gt;2 0 2 299.5&lt;BR /&gt;2 0 2 326&lt;BR /&gt;2 0 3 295&lt;BR /&gt;2 0 3 310&lt;BR /&gt;2 20 1 .&lt;BR /&gt;2 20 1 291.5&lt;BR /&gt;2 20 2 .&lt;BR /&gt;2 20 2 291.5&lt;BR /&gt;2 20 3 292&lt;BR /&gt;2 20 3 .&lt;BR /&gt;2 60 1 313.5&lt;BR /&gt;2 60 1 305.5&lt;BR /&gt;2 60 2 310.5&lt;BR /&gt;2 60 2 .&lt;BR /&gt;2 60 3 306&lt;BR /&gt;2 60 3 300&lt;BR /&gt;2 120 1 316&lt;BR /&gt;2 120 1 .&lt;BR /&gt;2 120 2 287&lt;BR /&gt;2 120 2 286&lt;BR /&gt;2 120 3 282&lt;BR /&gt;2 120 3 300.5&lt;BR /&gt;2 360 1 304&lt;BR /&gt;2 360 1 298.5&lt;BR /&gt;2 360 2 306&lt;BR /&gt;2 360 2 .&lt;BR /&gt;2 360 3 299&lt;BR /&gt;2 360 3 312&lt;BR /&gt;2 1440 1 346.5&lt;BR /&gt;2 1440 1 286.5&lt;BR /&gt;2 1440 2 299.5&lt;BR /&gt;2 1440 2 337&lt;BR /&gt;2 1440 3 287&lt;BR /&gt;2 1440 3 309&lt;BR /&gt;3 0 1 305&lt;BR /&gt;3 0 1 302.5&lt;BR /&gt;3 0 2 308&lt;BR /&gt;3 0 2 322&lt;BR /&gt;3 0 3 316.5&lt;BR /&gt;3 0 3 335&lt;BR /&gt;3 20 1 298&lt;BR /&gt;3 20 1 296&lt;BR /&gt;3 20 2 299.5&lt;BR /&gt;3 20 2 306&lt;BR /&gt;3 20 3 291.5&lt;BR /&gt;3 20 3 302.5&lt;BR /&gt;3 60 1 304.5&lt;BR /&gt;3 60 1 312.5&lt;BR /&gt;3 60 2 303.5&lt;BR /&gt;3 60 2 292.5&lt;BR /&gt;3 60 3 301&lt;BR /&gt;3 60 3 294&lt;BR /&gt;3 120 1 306&lt;BR /&gt;3 120 1 303&lt;BR /&gt;3 120 2 .&lt;BR /&gt;3 120 2 .&lt;BR /&gt;3 120 3 304&lt;BR /&gt;3 120 3 324&lt;BR /&gt;3 360 1 304&lt;BR /&gt;3 360 1 312&lt;BR /&gt;3 360 2 306.5&lt;BR /&gt;3 360 2 308.5&lt;BR /&gt;3 360 3 306.5&lt;BR /&gt;3 360 3 318&lt;BR /&gt;3 1440 1 300.5&lt;BR /&gt;3 1440 1 293.5&lt;BR /&gt;3 1440 2 311&lt;BR /&gt;3 1440 2 266&lt;BR /&gt;3 1440 3 289&lt;BR /&gt;3 1440 3 297&lt;BR /&gt;;&lt;BR /&gt;proc print; run;&lt;/P&gt;&lt;P&gt;/*testing normality and variance*/&lt;BR /&gt;proc glm data=osmo;&lt;BR /&gt;class trt time;&lt;BR /&gt;model osmo = trt*time;&lt;BR /&gt;means trt*time/hovtest=levene (type=abs);&lt;BR /&gt;output out=outosmo r=resid;&lt;BR /&gt;run; quit;&lt;BR /&gt;proc univariate data=outosmo normal;&lt;BR /&gt;var resid;&lt;BR /&gt;run; quit;&lt;BR /&gt;proc univariate data=outosmo noprint;&lt;BR /&gt;histogram resid;&lt;BR /&gt;run; quit;&lt;/P&gt;&lt;P&gt;/*This is how I am analyzing my variables that pass normality and variance.&lt;BR /&gt;However, I have been unable to transform this and other variables to meet normality&lt;BR /&gt;and variance assumptions. Looking for a nonparametric way to analyze*/&lt;BR /&gt;proc glm data=osmo;&lt;BR /&gt;class trt time tank;&lt;BR /&gt;model osmo=trt time trt*time tank(trt);&lt;BR /&gt;test h=trt time trt*time e=tank(trt);&lt;BR /&gt;lsmeans trt time trt*time/pdiff adjust=tukey e=tank(trt) lines;&lt;BR /&gt;run; quit;&lt;/P&gt;</description>
      <pubDate>Tue, 04 Jul 2017 17:37:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/2-way-nonparametric-factorial-analysis-with-missing-data/m-p/373062#M19517</guid>
      <dc:creator>cpd47</dc:creator>
      <dc:date>2017-07-04T17:37:43Z</dc:date>
    </item>
    <item>
      <title>Re: 2-way nonparametric factorial analysis with missing data</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/2-way-nonparametric-factorial-analysis-with-missing-data/m-p/373068#M19518</link>
      <description>&lt;P&gt;I've moved your question to the Statistical Procedures forum so hopefully you get a better response.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm going to ask a dumb question here, what type of model are you trying to create and what are the assumptions behind that model?&lt;/P&gt;</description>
      <pubDate>Tue, 04 Jul 2017 17:56:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/2-way-nonparametric-factorial-analysis-with-missing-data/m-p/373068#M19518</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2017-07-04T17:56:57Z</dc:date>
    </item>
    <item>
      <title>Re: 2-way nonparametric factorial analysis with missing data</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/2-way-nonparametric-factorial-analysis-with-missing-data/m-p/373082#M19519</link>
      <description>&lt;P&gt;Thank you! I meant to post it in that forum but somehow didn't.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;That is a really good question. I'm not sure which type of model I am trying to create. That's probably the question I should have asked. I guess I'm looking for some type of nonparametric equivalent to the model I attached, if such a thing exists. I believe Kruskall-Wallis is applicable for 1-way analyses, but I'm trying to see if I can analyze the factors "trt" and "time" as well as the interaction of "trt*time."&lt;/P&gt;</description>
      <pubDate>Tue, 04 Jul 2017 19:46:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/2-way-nonparametric-factorial-analysis-with-missing-data/m-p/373082#M19519</guid>
      <dc:creator>cpd47</dc:creator>
      <dc:date>2017-07-04T19:46:06Z</dc:date>
    </item>
    <item>
      <title>Re: 2-way nonparametric factorial analysis with missing data</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/2-way-nonparametric-factorial-analysis-with-missing-data/m-p/373086#M19520</link>
      <description>&lt;P&gt;I think you should post what your data actually is and what your hypothesis is and we can make suggestions from there.&lt;/P&gt;</description>
      <pubDate>Tue, 04 Jul 2017 19:49:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/2-way-nonparametric-factorial-analysis-with-missing-data/m-p/373086#M19520</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2017-07-04T19:49:51Z</dc:date>
    </item>
    <item>
      <title>Re: 2-way nonparametric factorial analysis with missing data</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/2-way-nonparametric-factorial-analysis-with-missing-data/m-p/373380#M19530</link>
      <description>&lt;P&gt;The data I attached is from an experiment where I am measuring the stress response of 3 types of fish (trt: 1, 2, 3) over a 1440 minute (24 hour) time period. Fish were divided into 9 tanks (12 fish per tank, 3 tanks per fish type) and were chased for 1 minute using dip nets to elicit a stress response. At each time point since the chasing (time: 0, 20, 60, 120, 360, 1440 minutes) blood was sampled from 2 fish in each tank. I measured many response variables, but "osmo" (osmolality) is the one I provided in my post.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I hypothesize:&lt;/P&gt;&lt;P&gt;a) trt: 2 fish will exhibit significantly lower levels of osmo than trt: 1 and trt: 3 fish&lt;/P&gt;&lt;P&gt;b) trt: 1 fish will not differ from trt: 3 fish&lt;/P&gt;&lt;P&gt;c) there will be no interaction between trt and time&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Jul 2017 17:51:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/2-way-nonparametric-factorial-analysis-with-missing-data/m-p/373380#M19530</guid>
      <dc:creator>cpd47</dc:creator>
      <dc:date>2017-07-05T17:51:19Z</dc:date>
    </item>
    <item>
      <title>Re: 2-way nonparametric factorial analysis with missing data</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/2-way-nonparametric-factorial-analysis-with-missing-data/m-p/373482#M19542</link>
      <description>&lt;P&gt;If you serarch SAS Communities, you will find several older postings about rank-based analysis of factorials. Brunner and several colleagues have devleloped methods that can be done in SAS MIXED (with the &lt;STRONG&gt;right&lt;/STRONG&gt; options, after ranking the data). Don't confuse this with rank transformation method (where one just ranks data and proceeds with GLM). You need to choose other options for unequal variances. Old postings, including by me, give some code.&lt;/P&gt;</description>
      <pubDate>Thu, 06 Jul 2017 01:46:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/2-way-nonparametric-factorial-analysis-with-missing-data/m-p/373482#M19542</guid>
      <dc:creator>lvm</dc:creator>
      <dc:date>2017-07-06T01:46:10Z</dc:date>
    </item>
    <item>
      <title>Re: 2-way nonparametric factorial analysis with missing data</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/2-way-nonparametric-factorial-analysis-with-missing-data/m-p/373713#M19562</link>
      <description>&lt;P&gt;Thank you! I will search around and see what I can find.&lt;/P&gt;</description>
      <pubDate>Thu, 06 Jul 2017 16:53:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/2-way-nonparametric-factorial-analysis-with-missing-data/m-p/373713#M19562</guid>
      <dc:creator>cpd47</dc:creator>
      <dc:date>2017-07-06T16:53:04Z</dc:date>
    </item>
  </channel>
</rss>

