<?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: Left Join for uneven dataset in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/Left-Join-for-uneven-dataset/m-p/603015#M16892</link>
    <description>&lt;P&gt;Thanks I see what you meant. I had to go in my code and remove one line to make it all compatible.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Appreciate your rendered thoughts.&lt;/P&gt;</description>
    <pubDate>Sat, 09 Nov 2019 21:18:12 GMT</pubDate>
    <dc:creator>sas_apprenant</dc:creator>
    <dc:date>2019-11-09T21:18:12Z</dc:date>
    <item>
      <title>Left Join for uneven dataset</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Left-Join-for-uneven-dataset/m-p/602906#M16874</link>
      <description>&lt;P&gt;Hello, I am trying to left join two datasets but it is failing miserably! Can someone help rectify this? I attached the pics of before and after in a pdf format. In the pics, you can see the simple log reg output and the other is for multiple log reg. The issue comes when I try to combine the dataset to generate one output and my rows don't merge properly resulting in missing values for adjusted odd ratios and p-values.&lt;/P&gt;&lt;P&gt;Thank you for the help rendered.&lt;/P&gt;&lt;PRE&gt;proc sql;
	create table logit_table as
	select a.*, b.M_OddsRatios_CI , b.M_p_value, b.M_global_P_value
	from simplelog1 a left join  multilog1 b
	on a.Category=b.Category and 
	a.Demographic_Characteristics=b.Demographic_Characteristics
	order by f_order; quit;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 08 Nov 2019 21:52:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Left-Join-for-uneven-dataset/m-p/602906#M16874</guid>
      <dc:creator>sas_apprenant</dc:creator>
      <dc:date>2019-11-08T21:52:01Z</dc:date>
    </item>
    <item>
      <title>Re: Left Join for uneven dataset</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Left-Join-for-uneven-dataset/m-p/602908#M16875</link>
      <description>&lt;P&gt;Post log text like you posted your code. DO NOT post pictures. Post example data as code (data steps with datalines), so we can quickly, easily and accurately recreate your datasets for testing.&lt;/P&gt;
&lt;P&gt;To rectify your problem, follow Maxim 3: Know Your Data. Inspect your datasets for variable types, attributes and content. Be aware that leading blanks or non-displayable characters in or after the string values might throw off your intended matches.&lt;/P&gt;</description>
      <pubDate>Fri, 08 Nov 2019 21:59:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Left-Join-for-uneven-dataset/m-p/602908#M16875</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2019-11-08T21:59:38Z</dc:date>
    </item>
    <item>
      <title>Re: Left Join for uneven dataset</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Left-Join-for-uneven-dataset/m-p/602916#M16877</link>
      <description>&lt;P&gt;Thank you for the reply. I am aware of knowing my data, even though I'm relatively new to sas compared to R. I am using sas studio, Where can I print the log file to? I tried using the code below, but there was no file.&lt;/P&gt;&lt;PRE&gt;proc printto log=file.log;
run;&lt;/PRE&gt;</description>
      <pubDate>Fri, 08 Nov 2019 22:19:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Left-Join-for-uneven-dataset/m-p/602916#M16877</guid>
      <dc:creator>sas_apprenant</dc:creator>
      <dc:date>2019-11-08T22:19:20Z</dc:date>
    </item>
    <item>
      <title>Re: Left Join for uneven dataset</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Left-Join-for-uneven-dataset/m-p/602917#M16878</link>
      <description>&lt;P&gt;You will have to manually edit the variables Demographic_Characteristics and Category in the two input datasets so they match correctly. Then the join will work properly&lt;/P&gt;</description>
      <pubDate>Fri, 08 Nov 2019 22:19:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Left-Join-for-uneven-dataset/m-p/602917#M16878</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2019-11-08T22:19:49Z</dc:date>
    </item>
    <item>
      <title>Re: Left Join for uneven dataset</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Left-Join-for-uneven-dataset/m-p/602957#M16881</link>
      <description>&lt;P&gt;How do you reckon I go about doing that?&lt;/P&gt;</description>
      <pubDate>Sat, 09 Nov 2019 03:57:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Left-Join-for-uneven-dataset/m-p/602957#M16881</guid>
      <dc:creator>sas_apprenant</dc:creator>
      <dc:date>2019-11-09T03:57:52Z</dc:date>
    </item>
    <item>
      <title>Re: Left Join for uneven dataset</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Left-Join-for-uneven-dataset/m-p/602960#M16882</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/298894"&gt;@sas_apprenant&lt;/a&gt;&amp;nbsp; - By ensuring each of the two columns that you use to join the two tables have identical values for the rows that you want to match with each other. For example one of your columns contains missing values - these need to populated with the right values to match to the required column in the other table.&lt;/P&gt;</description>
      <pubDate>Sat, 09 Nov 2019 05:26:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Left-Join-for-uneven-dataset/m-p/602960#M16882</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2019-11-09T05:26:40Z</dc:date>
    </item>
    <item>
      <title>Re: Left Join for uneven dataset</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Left-Join-for-uneven-dataset/m-p/602961#M16883</link>
      <description>&lt;P&gt;Just copy/paste the log from SAS Studio to a window opened with the {i} button.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/298894"&gt;@sas_apprenant&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Thank you for the reply. I am aware of knowing my data, even though I'm relatively new to sas compared to R. I am using sas studio, Where can I print the log file to? I tried using the code below, but there was no file.&lt;/P&gt;
&lt;PRE&gt;proc printto log=file.log;
run;&lt;/PRE&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 09 Nov 2019 07:30:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Left-Join-for-uneven-dataset/m-p/602961#M16883</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2019-11-09T07:30:54Z</dc:date>
    </item>
    <item>
      <title>Re: Left Join for uneven dataset</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Left-Join-for-uneven-dataset/m-p/603015#M16892</link>
      <description>&lt;P&gt;Thanks I see what you meant. I had to go in my code and remove one line to make it all compatible.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Appreciate your rendered thoughts.&lt;/P&gt;</description>
      <pubDate>Sat, 09 Nov 2019 21:18:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Left-Join-for-uneven-dataset/m-p/603015#M16892</guid>
      <dc:creator>sas_apprenant</dc:creator>
      <dc:date>2019-11-09T21:18:12Z</dc:date>
    </item>
  </channel>
</rss>

