<?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: dataset optimization before reporting (get the pvalue on the 1st modality level) in SAS Data Management</title>
    <link>https://communities.sas.com/t5/SAS-Data-Management/dataset-optimization-before-reporting-get-the-pvalue-on-the-1st/m-p/553920#M16984</link>
    <description>&lt;P&gt;Thank you for your answer.&lt;BR /&gt;&lt;BR /&gt;It was enough to replace a word in the program...&lt;BR /&gt;Why try to make it complicated when you can make it simple...&amp;nbsp;&lt;img id="manlol" class="emoticon emoticon-manlol" src="https://communities.sas.com/i/smilies/16x16_man-lol.png" alt="Man LOL" title="Man LOL" /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 25 Apr 2019 11:30:32 GMT</pubDate>
    <dc:creator>Mic35</dc:creator>
    <dc:date>2019-04-25T11:30:32Z</dc:date>
    <item>
      <title>dataset optimization before reporting (get the pvalue on the 1st modality level)</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/dataset-optimization-before-reporting-get-the-pvalue-on-the-1st/m-p/553813#M16982</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;After doing a lot of research, and reading a lot of things on the forum, I wish a little help please...&lt;/P&gt;&lt;P&gt;I am looking to optimize my data set for reporting.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;The table is obtained after a lot of proc transposes and merges with different tables (which can vary according to the configuration of the macro: uni/bivariate analysis, OR, test,...).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Currently I have made a lot of progress on a lot of small things but there is still the problem of the p-value of var cat which is located at the last level of the modality.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried to act at the data stage before the merge in order to link the p-value to the 1st modality...&lt;BR /&gt;Then I tried to implement several techniques directly on the final dataset (reverse lag, try to assign to each modality the p-value initially given to one then apply an ARRAY /lag method to keep the 1st p-value appearing for each variable...).&amp;nbsp;&lt;BR /&gt;I think I missed something.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;The photo illustrates what I am getting now and what I want to get (p-value on the same line than the 1st modality,&amp;nbsp;in automated version)&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If anyone has an idea, I'm a subscriber.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I will be very grateful for yours answers&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Mic&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="image.jpg" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/29016iB39C74120063341B/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.jpg" alt="image.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 24 Apr 2019 23:38:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/dataset-optimization-before-reporting-get-the-pvalue-on-the-1st/m-p/553813#M16982</guid>
      <dc:creator>Mic35</dc:creator>
      <dc:date>2019-04-24T23:38:05Z</dc:date>
    </item>
    <item>
      <title>Re: dataset optimization before reporting (get the pvalue on the 1st modality level)</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/dataset-optimization-before-reporting-get-the-pvalue-on-the-1st/m-p/553819#M16983</link>
      <description>&lt;P&gt;You'd have to show us your code for us to be able to help here. We can call it using an example data set - I'm assuming you're writing a generic macro?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here's an example of something I did that's pretty similar, except for one way frequency tables via chi square. I've done logistic regression ones but that code's buried somewhere. If you search on lexjansen.com for clinical reports you'll find many code examples.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://gist.github.com/statgeek/0ff46bbd76bcc101e40945816b232303" target="_blank"&gt;https://gist.github.com/statgeek/0ff46bbd76bcc101e40945816b232303&lt;/A&gt;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/211498"&gt;@Mic35&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;After doing a lot of research, and reading a lot of things on the forum, I wish a little help please...&lt;/P&gt;
&lt;P&gt;I am looking to optimize my data set for reporting.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;The table is obtained after a lot of proc transposes and merges with different tables (which can vary according to the configuration of the macro: uni/bivariate analysis, OR, test,...).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Currently I have made a lot of progress on a lot of small things but there is still the problem of the p-value of var cat which is located at the last level of the modality.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I tried to act at the data stage before the merge in order to link the p-value to the 1st modality...&lt;BR /&gt;Then I tried to implement several techniques directly on the final dataset (reverse lag, try to assign to each modality the p-value initially given to one then apply an ARRAY /lag method to keep the 1st p-value appearing for each variable...).&amp;nbsp;&lt;BR /&gt;I think I missed something.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;The photo illustrates what I am getting now and what I want to get (p-value on the same line than the 1st modality,&amp;nbsp;in automated version)&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If anyone has an idea, I'm a subscriber.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I will be very grateful for yours answers&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Mic&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="image.jpg" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/29016iB39C74120063341B/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.jpg" alt="image.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 25 Apr 2019 00:08:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/dataset-optimization-before-reporting-get-the-pvalue-on-the-1st/m-p/553819#M16983</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2019-04-25T00:08:05Z</dc:date>
    </item>
    <item>
      <title>Re: dataset optimization before reporting (get the pvalue on the 1st modality level)</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/dataset-optimization-before-reporting-get-the-pvalue-on-the-1st/m-p/553920#M16984</link>
      <description>&lt;P&gt;Thank you for your answer.&lt;BR /&gt;&lt;BR /&gt;It was enough to replace a word in the program...&lt;BR /&gt;Why try to make it complicated when you can make it simple...&amp;nbsp;&lt;img id="manlol" class="emoticon emoticon-manlol" src="https://communities.sas.com/i/smilies/16x16_man-lol.png" alt="Man LOL" title="Man LOL" /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 25 Apr 2019 11:30:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/dataset-optimization-before-reporting-get-the-pvalue-on-the-1st/m-p/553920#M16984</guid>
      <dc:creator>Mic35</dc:creator>
      <dc:date>2019-04-25T11:30:32Z</dc:date>
    </item>
  </channel>
</rss>

