<?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: Less data on output than on input in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/Less-data-on-output-than-on-input/m-p/642850#M21900</link>
    <description>&lt;P&gt;Show us your code?&lt;/P&gt;</description>
    <pubDate>Sat, 25 Apr 2020 09:45:39 GMT</pubDate>
    <dc:creator>PeterClemmensen</dc:creator>
    <dc:date>2020-04-25T09:45:39Z</dc:date>
    <item>
      <title>Less data on output than on input</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Less-data-on-output-than-on-input/m-p/642849#M21899</link>
      <description>Hi,&lt;BR /&gt;I run CALMAR macro, my code is run, and I get results, but I get less observations of the input.&lt;BR /&gt;For example on input I have a table with 7313 observations and my output is 7311.&lt;BR /&gt;&lt;BR /&gt;Does anybody have any clue??</description>
      <pubDate>Sat, 25 Apr 2020 09:44:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Less-data-on-output-than-on-input/m-p/642849#M21899</guid>
      <dc:creator>KaterinaELSTAT</dc:creator>
      <dc:date>2020-04-25T09:44:20Z</dc:date>
    </item>
    <item>
      <title>Re: Less data on output than on input</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Less-data-on-output-than-on-input/m-p/642850#M21900</link>
      <description>&lt;P&gt;Show us your code?&lt;/P&gt;</description>
      <pubDate>Sat, 25 Apr 2020 09:45:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Less-data-on-output-than-on-input/m-p/642850#M21900</guid>
      <dc:creator>PeterClemmensen</dc:creator>
      <dc:date>2020-04-25T09:45:39Z</dc:date>
    </item>
    <item>
      <title>Re: Less data on output than on input</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Less-data-on-output-than-on-input/m-p/642861#M21901</link>
      <description>&lt;P&gt;yes sure..&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;libname wDB090 'I:\......\DB090_16_ROT1';&lt;/P&gt;&lt;P&gt;libname CALM 'C:\CALMAR';&lt;BR /&gt;options mstored sasmstore=CALM;&lt;/P&gt;&lt;P&gt;libname in xlsx 'I:\....\SD19016.xlsx';&lt;/P&gt;&lt;P&gt;proc copy inlib=in outlib=wDB090;&lt;BR /&gt;run;&lt;BR /&gt;&lt;BR /&gt;data wDB090.totalsDB0902016;&lt;BR /&gt;input var $ N mar1 mar2 mar3 mar4 mar5 mar6 mar7 mar8 mar9 mar10 mar11 mar12 mar13;&lt;BR /&gt;cards;&lt;BR /&gt;M100 0 846142 . . . . . . . . . . . .&lt;BR /&gt;M101 0 213819 . . . . . . . . . . . .&lt;BR /&gt;M102 0 234908 . . . . . . . . . . . .&lt;BR /&gt;.....&lt;BR /&gt;M109 0 364136 . . . . . . . . . . . .&lt;BR /&gt;M110 0 298676 . . . . . . . . . . . .&lt;BR /&gt;M111 0 333727 . . . . . . . . . . . .&lt;BR /&gt;M112 0 206663 . . . . . . . . . . . .&lt;BR /&gt;&lt;BR /&gt;F205 0 421135 . . . . . . . . . . . .&lt;BR /&gt;F206 0 392654 . . . . . . . . . . . .&lt;BR /&gt;F207 0 434513 . . . . . . . . . . . .&lt;BR /&gt;......&lt;BR /&gt;F213 0 605045 . . . . . . . . . . . .&lt;BR /&gt;NUTSII_N 13 237113 720371 101411 267473 240914 206461 216873 1510848 80739 128899 247056&lt;BR /&gt;TS_N 2 3262026 906758 . . . . . . . . . . .&lt;BR /&gt;HS_N 4 1070362 1228561 824692 1045169 . . . . . . . . .&lt;BR /&gt;;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PROC SQL ;&lt;BR /&gt;DROP TABLE wDB090.Final_weights;&lt;BR /&gt;QUIT;&lt;/P&gt;&lt;P&gt;/********************Call to CALMAR********************************/&lt;BR /&gt;%CALMAR(&lt;BR /&gt;DATA=wDB090.Sd19016,&lt;BR /&gt;POIDS=INW,&lt;BR /&gt;IDENT=keycode,&lt;BR /&gt;DATAMAR=wDB090.Totalsdb0902016,&lt;BR /&gt;M=3,&lt;BR /&gt;LO=0.2,&lt;BR /&gt;UP=1.2,&lt;BR /&gt;EDITPOI=OUI,&lt;BR /&gt;OBSELI=OUI,&lt;BR /&gt;SEUIL=0.0000001,&lt;BR /&gt;MAXITER=100,&lt;BR /&gt;DATAPOI=wDB090.Final_weights,&lt;BR /&gt;POIDSFIN=FinWeight,&lt;BR /&gt;LABELPOI=FinWeight)&lt;BR /&gt;proc print data=wDB090.Final_weights;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;PROC EXPORT DATA= wDB090.Final_weights&lt;BR /&gt;OUTFILE= 'I:\....\DB090_16_ROT1\'&lt;BR /&gt;DBMS=EXCEL REPLACE;&lt;BR /&gt;RUN;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;my keycode has 7313 observations and finally I get Final weights 7311.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Why is this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Katerina&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 25 Apr 2020 11:08:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Less-data-on-output-than-on-input/m-p/642861#M21901</guid>
      <dc:creator>KaterinaELSTAT</dc:creator>
      <dc:date>2020-04-25T11:08:58Z</dc:date>
    </item>
    <item>
      <title>Re: Less data on output than on input</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Less-data-on-output-than-on-input/m-p/642867#M21902</link>
      <description>&lt;P&gt;We don't know what the CALMAR macro does.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;A wild guess, perhaps the output excludes records that have missing values.&lt;/P&gt;</description>
      <pubDate>Sat, 25 Apr 2020 11:40:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Less-data-on-output-than-on-input/m-p/642867#M21902</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2020-04-25T11:40:29Z</dc:date>
    </item>
    <item>
      <title>Re: Less data on output than on input</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Less-data-on-output-than-on-input/m-p/642869#M21903</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;thanks, I ve just realised that one of my variables on my main table had NA. I never expected to have on that variable NA.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;Katerina&lt;/P&gt;</description>
      <pubDate>Sat, 25 Apr 2020 11:47:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Less-data-on-output-than-on-input/m-p/642869#M21903</guid>
      <dc:creator>KaterinaELSTAT</dc:creator>
      <dc:date>2020-04-25T11:47:29Z</dc:date>
    </item>
  </channel>
</rss>

