<?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: PROC TRANSREG AND ANOVA in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/PROC-TRANSREG-AND-ANOVA/m-p/581209#M28501</link>
    <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I ran the code and didn't get any negative values.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 14 Aug 2019 16:29:47 GMT</pubDate>
    <dc:creator>ANKH1</dc:creator>
    <dc:date>2019-08-14T16:29:47Z</dc:date>
    <item>
      <title>PROC TRANSREG AND ANOVA</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/PROC-TRANSREG-AND-ANOVA/m-p/580877#M28484</link>
      <description>&lt;P&gt;What would be the procedure equivalent to proc transreg for ANOVAS (categorical IV's)? We are looking to use boxcox transformations on a continuous DV.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Aug 2019 16:26:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/PROC-TRANSREG-AND-ANOVA/m-p/580877#M28484</guid>
      <dc:creator>ANKH1</dc:creator>
      <dc:date>2019-08-13T16:26:00Z</dc:date>
    </item>
    <item>
      <title>Re: PROC TRANSREG AND ANOVA [how to improve your question]</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/PROC-TRANSREG-AND-ANOVA/m-p/580913#M28485</link>
      <description>&lt;P&gt;Hello &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/226521"&gt;@ANKH1&lt;/a&gt;,&lt;/P&gt;&lt;BR /&gt; &lt;P&gt;Your question requires more details before experts can help.&amp;nbsp;Can you revise your question to include more information?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Review this checklist:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Specify a meaningful subject line for your topic.&amp;nbsp; Avoid generic subjects like "need help," "SAS query," or "urgent."&lt;/LI&gt;
&lt;LI&gt;When appropriate, provide sample data in text or DATA step format.&amp;nbsp; See &lt;A href="https://communities.sas.com/t5/SAS-Communities-Library/How-to-create-a-data-step-version-of-your-data-AKA-generate/ta-p/258712" target="_blank"&gt;this article for one method&lt;/A&gt;&amp;nbsp;you can use.&lt;/LI&gt;
&lt;LI&gt;If you're encountering an error in SAS, include the SAS log or a screenshot of the error condition.&amp;nbsp;Use the&amp;nbsp;&lt;STRONG&gt;Photos&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;button to include the image in your message.&lt;BR /&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" style="width: 279px;"&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/16608i91A52F817EAC9A69/image-dimensions/279x150?v=1.0" width="279" height="150" alt="use_buttons.png" title="use_buttons.png" /&gt;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;It also helps to include an example (table or picture) of the result that you're trying to achieve.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;To edit your original message, select the "blue gear" icon at the top of the message and select&amp;nbsp;&lt;STRONG&gt;Edit Message&lt;/STRONG&gt;.&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&lt;/STRONG&gt;From there you can adjust the title and add more details to the body of the message.&amp;nbsp; Or, simply reply to this message with any additional information you can supply.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" style="width: 229px;"&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/16605iAC020BC79315B045/image-size/large?v=1.0&amp;amp;px=600" alt="edit_post.png" title="edit_post.png" /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;SAS experts are eager to help -- help&amp;nbsp;&lt;EM&gt;them&lt;/EM&gt; by providing as much detail as you can.&lt;/P&gt; &lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-style:italic;font-size:smaller;"&gt;This prewritten response was triggered for you by fellow SAS Support Communities member &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/462"&gt;@PGStats&lt;/a&gt;&lt;/SPAN&gt;&lt;/P&gt;.</description>
      <pubDate>Tue, 13 Aug 2019 17:58:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/PROC-TRANSREG-AND-ANOVA/m-p/580913#M28485</guid>
      <dc:creator>Community_Guide</dc:creator>
      <dc:date>2019-08-13T17:58:20Z</dc:date>
    </item>
    <item>
      <title>Re: PROC TRANSREG AND ANOVA</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/PROC-TRANSREG-AND-ANOVA/m-p/580917#M28486</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/226521"&gt;@ANKH1&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;What would be the procedure equivalent to proc transreg for ANOVAS (categorical IV's)? We are looking to use boxcox transformations on a continuous DV.&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;You would want to use the CLASS transformation of the MODEL statement.&lt;/P&gt;</description>
      <pubDate>Tue, 13 Aug 2019 18:03:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/PROC-TRANSREG-AND-ANOVA/m-p/580917#M28486</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2019-08-13T18:03:02Z</dc:date>
    </item>
    <item>
      <title>Re: PROC TRANSREG AND ANOVA</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/PROC-TRANSREG-AND-ANOVA/m-p/580918#M28487</link>
      <description>Hi,&lt;BR /&gt;I tried the following:&lt;BR /&gt;74 proc transreg data = sample1;&lt;BR /&gt;75 model boxcox(DV)=class(CAT);&lt;BR /&gt;76 run;&lt;BR /&gt;&lt;BR /&gt;ERROR: 11 invalid values were encountered while attempting to transform variable DV.&lt;BR /&gt;&lt;BR /&gt;The 11 invalid values are from values=0. Moreover, when I write&lt;BR /&gt;&lt;BR /&gt;proc transreg data = sample1;&lt;BR /&gt;model boxcox(DV/lambda=1)=class(IV);&lt;BR /&gt;run;&lt;BR /&gt;&lt;BR /&gt;It shows exactly the same error.</description>
      <pubDate>Tue, 13 Aug 2019 18:08:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/PROC-TRANSREG-AND-ANOVA/m-p/580918#M28487</guid>
      <dc:creator>ANKH1</dc:creator>
      <dc:date>2019-08-13T18:08:27Z</dc:date>
    </item>
    <item>
      <title>Re: PROC TRANSREG AND ANOVA</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/PROC-TRANSREG-AND-ANOVA/m-p/580923#M28488</link>
      <description>&lt;P&gt;Are you sure that the error is not because you have negative values of DV?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please show us a portion of your data set SAMPLE1, following these instructions:&amp;nbsp;&lt;A href="https://communities.sas.com/t5/SAS-Communities-Library/How-to-create-a-data-step-version-of-your-data-AKA-generate/ta-p/258712" target="_blank"&gt;https://communities.sas.com/t5/SAS-Communities-Library/How-to-create-a-data-step-version-of-your-data-AKA-generate/ta-p/258712&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Aug 2019 18:51:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/PROC-TRANSREG-AND-ANOVA/m-p/580923#M28488</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2019-08-13T18:51:00Z</dc:date>
    </item>
    <item>
      <title>Re: PROC TRANSREG AND ANOVA</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/PROC-TRANSREG-AND-ANOVA/m-p/580929#M28489</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your answer.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We don't have negative values in that DV. I tried following the code you provided to show our data but I guess I couldn't figured out how since our data set is an imported excel file with approx 19900 rows and 80 columns.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried the code with another DV to see if it could be another reason, but again it showed an error for one value. I checked for that DV and that one value seems to be again coming from only one value = 0.&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;</description>
      <pubDate>Tue, 13 Aug 2019 19:20:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/PROC-TRANSREG-AND-ANOVA/m-p/580929#M28489</guid>
      <dc:creator>ANKH1</dc:creator>
      <dc:date>2019-08-13T19:20:10Z</dc:date>
    </item>
    <item>
      <title>Re: PROC TRANSREG AND ANOVA</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/PROC-TRANSREG-AND-ANOVA/m-p/580931#M28490</link>
      <description>&lt;P&gt;As an experiment, run the PROC TRANSREG on a data set which doesn't have 0 values for Y using&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;model boxcox(DV/lambda=1)=class(IV);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;and see if the error goes away.&lt;/P&gt;</description>
      <pubDate>Tue, 13 Aug 2019 19:25:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/PROC-TRANSREG-AND-ANOVA/m-p/580931#M28490</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2019-08-13T19:25:12Z</dc:date>
    </item>
    <item>
      <title>Re: PROC TRANSREG AND ANOVA</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/PROC-TRANSREG-AND-ANOVA/m-p/580934#M28491</link>
      <description>&lt;P&gt;It did run!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Aug 2019 19:29:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/PROC-TRANSREG-AND-ANOVA/m-p/580934#M28491</guid>
      <dc:creator>ANKH1</dc:creator>
      <dc:date>2019-08-13T19:29:13Z</dc:date>
    </item>
    <item>
      <title>Re: PROC TRANSREG AND ANOVA</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/PROC-TRANSREG-AND-ANOVA/m-p/580938#M28492</link>
      <description>&lt;P&gt;Okay, but I can't explain why 0 is considered an invalid value for Y in the Box-Cox transformation with&amp;nbsp;λ=1. Maybe&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/462"&gt;@PGStats&lt;/a&gt;&amp;nbsp;or&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13884"&gt;@ballardw&lt;/a&gt;&amp;nbsp;has some insight here. Or you could always talk to SAS tech support.&lt;/P&gt;</description>
      <pubDate>Tue, 13 Aug 2019 19:34:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/PROC-TRANSREG-AND-ANOVA/m-p/580938#M28492</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2019-08-13T19:34:19Z</dc:date>
    </item>
    <item>
      <title>Re: PROC TRANSREG AND ANOVA</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/PROC-TRANSREG-AND-ANOVA/m-p/580942#M28493</link>
      <description>Thank you!</description>
      <pubDate>Tue, 13 Aug 2019 19:42:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/PROC-TRANSREG-AND-ANOVA/m-p/580942#M28493</guid>
      <dc:creator>ANKH1</dc:creator>
      <dc:date>2019-08-13T19:42:18Z</dc:date>
    </item>
    <item>
      <title>Re: PROC TRANSREG AND ANOVA</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/PROC-TRANSREG-AND-ANOVA/m-p/580959#M28494</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/226521"&gt;@ANKH1&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you for your answer.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We don't have negative values in that DV. I tried following the code you provided to show our data but I guess I couldn't figured out how since our data set is an imported excel file with approx 19900 rows and 80 columns.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I tried the code with another DV to see if it could be another reason, but again it showed an error for one value. I checked for that DV and that one value seems to be again coming from only one value = 0.&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;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;How exactly did you check for negative values? Since you say that you "imported" and Excel file there are times when, depending on the display settings in Excel&amp;nbsp; very small magnitude negative value, such as -0.000001, could appear as 0.00 with the default 2 decimals in Excel and Proc Import might honor that setting or just not show if the value has a BEST format associated.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Consider:&lt;/P&gt;
&lt;PRE&gt;data example;
   x= -0.00001;
   format x best4.;
   put x= ;
run;&lt;/PRE&gt;
&lt;P&gt;The log will show x=0. As would a table view or proc print.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This may be&amp;nbsp;a long shot but "mystery" behaviors sometimes require examining the less common issues.&lt;/P&gt;</description>
      <pubDate>Tue, 13 Aug 2019 23:05:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/PROC-TRANSREG-AND-ANOVA/m-p/580959#M28494</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2019-08-13T23:05:09Z</dc:date>
    </item>
    <item>
      <title>Re: PROC TRANSREG AND ANOVA</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/PROC-TRANSREG-AND-ANOVA/m-p/581064#M28497</link>
      <description>&lt;P&gt;That's an interesting thought.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This implies that&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/226521"&gt;@ANKH1&lt;/a&gt;&amp;nbsp;ought to do something like&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc print data=sample1(where=(dv&amp;lt;0));&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 14 Aug 2019 12:03:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/PROC-TRANSREG-AND-ANOVA/m-p/581064#M28497</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2019-08-14T12:03:55Z</dc:date>
    </item>
    <item>
      <title>Re: PROC TRANSREG AND ANOVA</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/PROC-TRANSREG-AND-ANOVA/m-p/581097#M28499</link>
      <description>&lt;P&gt;Or use PROC MEANS to examine the minimum:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc means data=sample1 fw=18 macdec=16;
   var dv;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 14 Aug 2019 13:20:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/PROC-TRANSREG-AND-ANOVA/m-p/581097#M28499</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2019-08-14T13:20:50Z</dc:date>
    </item>
    <item>
      <title>Re: PROC TRANSREG AND ANOVA</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/PROC-TRANSREG-AND-ANOVA/m-p/581209#M28501</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I ran the code and didn't get any negative values.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 14 Aug 2019 16:29:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/PROC-TRANSREG-AND-ANOVA/m-p/581209#M28501</guid>
      <dc:creator>ANKH1</dc:creator>
      <dc:date>2019-08-14T16:29:47Z</dc:date>
    </item>
    <item>
      <title>Re: PROC TRANSREG AND ANOVA</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/PROC-TRANSREG-AND-ANOVA/m-p/581222#M28507</link>
      <description>&lt;P&gt;So, that's not it, but I don't really have any other suggestions about what might be causing this. I would still contact SAS Tech support to see if they have an explanation.&lt;/P&gt;</description>
      <pubDate>Wed, 14 Aug 2019 17:37:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/PROC-TRANSREG-AND-ANOVA/m-p/581222#M28507</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2019-08-14T17:37:00Z</dc:date>
    </item>
    <item>
      <title>Re: PROC TRANSREG AND ANOVA</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/PROC-TRANSREG-AND-ANOVA/m-p/581223#M28508</link>
      <description>Thank you!</description>
      <pubDate>Wed, 14 Aug 2019 17:41:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/PROC-TRANSREG-AND-ANOVA/m-p/581223#M28508</guid>
      <dc:creator>ANKH1</dc:creator>
      <dc:date>2019-08-14T17:41:11Z</dc:date>
    </item>
    <item>
      <title>Re: PROC TRANSREG AND ANOVA</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/PROC-TRANSREG-AND-ANOVA/m-p/581233#M28509</link>
      <description>&lt;P&gt;&lt;A href="https://go.documentation.sas.com/?docsetId=statug&amp;amp;docsetVersion=15.1&amp;amp;docsetTarget=statug_transreg_details02.htm&amp;amp;locale=en" target="_self"&gt;The documentation for the TRANSREG section on the Box-Cox transformation&lt;/A&gt; says,&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;"This family of transformations of the &lt;STRONG&gt;positive&lt;/STRONG&gt;&amp;nbsp;[emphasis added] dependent variable &lt;/SPAN&gt;&lt;SPAN class=" aa-mathtext"&gt;y&lt;/SPAN&gt;&lt;SPAN&gt; is controlled by the parameter ...&lt;/SPAN&gt;&lt;SPAN&gt;."&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;It also states that you can "specify the PARAMETER=c&amp;nbsp;transformation option when you want to shift the values of &lt;SPAN class=" aa-mathtext"&gt;y&lt;/SPAN&gt;, usually to avoid negatives." So when DV=0, you can to get rid of the error and apply the BC transformation by adding any positve value, such as the following (which adds 1):&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc transreg data=Have;
   model BoxCox(DV / lambda=1 parameter=1) = class(cat);
run;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 14 Aug 2019 18:00:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/PROC-TRANSREG-AND-ANOVA/m-p/581233#M28509</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2019-08-14T18:00:35Z</dc:date>
    </item>
    <item>
      <title>Re: PROC TRANSREG AND ANOVA</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/PROC-TRANSREG-AND-ANOVA/m-p/581244#M28510</link>
      <description>&lt;P&gt;Hi!&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks, by adding the parameter=1 it ran.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc transreg details data=sample1 ;&lt;BR /&gt;model boxcox(NFSDDFI / lambda = -3 to 3 by 0.25 parameter =1) = CLASS(ANIMALCAT);&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I looked in "Details" and this was the output:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/31751iC962DF3E4F90FA79/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.PNG" alt="Capture.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It recommends lambda=0. I log transformed but it didn't work since I have 11 zeros.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Below is the code:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;DATA sample2;&lt;BR /&gt;SET sample1;&lt;BR /&gt;TRANSFI=log(NFSDDFI);&lt;BR /&gt;RUN;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc glm data=sample2;&lt;BR /&gt;class ANIMALCAT;&lt;BR /&gt;model TRANSFI= ANIMALCAT;&lt;BR /&gt;output out = notrans r= resid;&lt;BR /&gt;run;&lt;BR /&gt;symbol1 i=sm70;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc univariate data=notrans noprint;&lt;BR /&gt;var resid;&lt;BR /&gt;histogram resid/normal kernel;&lt;BR /&gt;qqplot resid/normal (mu = est sigma=est);&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried using another DV that had no zeros but when I transformed the DV with the recommended lambda the DV was not normalized.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Am I reading the output from proc transreg correctly?&lt;/P&gt;</description>
      <pubDate>Wed, 14 Aug 2019 18:43:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/PROC-TRANSREG-AND-ANOVA/m-p/581244#M28510</guid>
      <dc:creator>ANKH1</dc:creator>
      <dc:date>2019-08-14T18:43:27Z</dc:date>
    </item>
    <item>
      <title>Re: PROC TRANSREG AND ANOVA</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/PROC-TRANSREG-AND-ANOVA/m-p/581259#M28511</link>
      <description>&lt;P&gt;Yes, you are reading the output correctly, but you need to incorporate the PARAMETER=1 information:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;DATA sample2;
SET sample1;
TRANSFI=log(NFSDDFI + 1);
RUN;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 14 Aug 2019 19:19:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/PROC-TRANSREG-AND-ANOVA/m-p/581259#M28511</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2019-08-14T19:19:31Z</dc:date>
    </item>
    <item>
      <title>Re: PROC TRANSREG AND ANOVA</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/PROC-TRANSREG-AND-ANOVA/m-p/581266#M28512</link>
      <description>&lt;P&gt;Perfect! But according to K-S the resids are still not normal, even though the histogram looks pretty normal to me. What should I do?&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/31754iA204CB275A79F385/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.PNG" alt="Capture.PNG" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture2.PNG" style="width: 560px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/31755i9623C23AC9F5C14D/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture2.PNG" alt="Capture2.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 14 Aug 2019 19:46:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/PROC-TRANSREG-AND-ANOVA/m-p/581266#M28512</guid>
      <dc:creator>ANKH1</dc:creator>
      <dc:date>2019-08-14T19:46:43Z</dc:date>
    </item>
  </channel>
</rss>

