<?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: conversion Celsius to Fahrenheit in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/conversion-Celsius-to-Fahrenheit/m-p/751496#M236578</link>
    <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/327170"&gt;@Aexor&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;requirement was like this so remove missing value to something else.&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;I'm sorry this won't help you, but this requirement is sheer madness to replace a missing with a non-missing, just because. There are indeed cases where you have a specific analysis in mind, and you replace the missing with a mean or median or some imputed value, based upon some statistical reasoning and the intended analysis, but I can't see how that applies here.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So, I hope the lesson you learn from me (which again, I understand doesn't help you) is that replacing a missing with a non-missing just for no reason whatsoever is not a good thing to do, such a bad thing to do that I won't create SAS code to do it.&lt;/P&gt;</description>
    <pubDate>Thu, 01 Jul 2021 16:29:17 GMT</pubDate>
    <dc:creator>PaigeMiller</dc:creator>
    <dc:date>2021-07-01T16:29:17Z</dc:date>
    <item>
      <title>conversion Celsius to Fahrenheit</title>
      <link>https://communities.sas.com/t5/SAS-Programming/conversion-Celsius-to-Fahrenheit/m-p/751475#M236561</link>
      <description>&lt;P&gt;This Table has temperatures(temp1 to temp6)&amp;nbsp; in Celsius. I need convert it to Fahrenheit.&lt;/P&gt;
&lt;P&gt;I have this table&amp;nbsp;&lt;/P&gt;
&lt;P&gt;data temp;&lt;BR /&gt;input temp1 temp2 temp3 temp4 temp5 temp6;&lt;BR /&gt;datalines;&lt;BR /&gt;90 20 90 55 48 20&lt;BR /&gt;80 . 33 87 49 79&lt;BR /&gt;40 20 80 55 38 20&lt;BR /&gt;90 . 63 87 99 89&lt;BR /&gt;;&lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I want this conversion&amp;nbsp;&lt;I&gt;Temp1&lt;/I&gt;&lt;SPAN&gt;&amp;nbsp;=&amp;nbsp;&lt;/SPAN&gt;&lt;I&gt;Temp1&lt;/I&gt;&lt;SPAN&gt;&amp;nbsp;× 9/5 + 32 for every temp1 to temp6 and also for missing value we need to replace it with 99.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Please help me with this.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 01 Jul 2021 15:02:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/conversion-Celsius-to-Fahrenheit/m-p/751475#M236561</guid>
      <dc:creator>Aexor</dc:creator>
      <dc:date>2021-07-01T15:02:28Z</dc:date>
    </item>
    <item>
      <title>Re: conversion Celsius to Fahrenheit</title>
      <link>https://communities.sas.com/t5/SAS-Programming/conversion-Celsius-to-Fahrenheit/m-p/751477#M236562</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data temp;
input temp1 temp2 temp3 temp4 temp5 temp6;
datalines;
90 20 90 55 48 20
80 . 33 87 49 79
40 20 80 55 38 20
90 . 63 87 99 89
;
run;
data want;
     set temp;
     array t temp:;
     do i=1 to dim(t);
          t(i)=t(i)*1.8+32;
      end;
    drop i;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;I would strongly advice against replacing a missing with a non-missing in this case. So I am not going to code that. (Yes, in some modeling or other analyses, people impute a value for a missing, which is fine, but they don't replace missings with 99).&lt;/P&gt;</description>
      <pubDate>Thu, 01 Jul 2021 15:20:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/conversion-Celsius-to-Fahrenheit/m-p/751477#M236562</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2021-07-01T15:20:44Z</dc:date>
    </item>
    <item>
      <title>Re: conversion Celsius to Fahrenheit</title>
      <link>https://communities.sas.com/t5/SAS-Programming/conversion-Celsius-to-Fahrenheit/m-p/751479#M236564</link>
      <description>&lt;P&gt;I can't begin to tell you what a horrible idea it is to change missing values to 99.&amp;nbsp; What could you possibly gain by doing this?&amp;nbsp; You would definitely lose.&amp;nbsp; 99 is a perfectly viable temperature on a Fahrenheit scale.&amp;nbsp; How would you know whether 99 represents a missing value or an actual value?&amp;nbsp; How would you remove 99 when you want to compute the average temperature?&lt;/P&gt;</description>
      <pubDate>Thu, 01 Jul 2021 15:17:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/conversion-Celsius-to-Fahrenheit/m-p/751479#M236564</guid>
      <dc:creator>Astounding</dc:creator>
      <dc:date>2021-07-01T15:17:33Z</dc:date>
    </item>
    <item>
      <title>Re: conversion Celsius to Fahrenheit</title>
      <link>https://communities.sas.com/t5/SAS-Programming/conversion-Celsius-to-Fahrenheit/m-p/751481#M236566</link>
      <description>Correct! Thanks for pointing out!&lt;BR /&gt;Something like charioteer value will be apt fro this . &lt;BR /&gt;I just want to distinguish missing to something else.&lt;BR /&gt;Could you please help me with this</description>
      <pubDate>Thu, 01 Jul 2021 15:20:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/conversion-Celsius-to-Fahrenheit/m-p/751481#M236566</guid>
      <dc:creator>Aexor</dc:creator>
      <dc:date>2021-07-01T15:20:24Z</dc:date>
    </item>
    <item>
      <title>Re: conversion Celsius to Fahrenheit</title>
      <link>https://communities.sas.com/t5/SAS-Programming/conversion-Celsius-to-Fahrenheit/m-p/751482#M236567</link>
      <description>Can we have any option to replace missing to something else ?</description>
      <pubDate>Thu, 01 Jul 2021 15:21:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/conversion-Celsius-to-Fahrenheit/m-p/751482#M236567</guid>
      <dc:creator>Aexor</dc:creator>
      <dc:date>2021-07-01T15:21:09Z</dc:date>
    </item>
    <item>
      <title>Re: conversion Celsius to Fahrenheit</title>
      <link>https://communities.sas.com/t5/SAS-Programming/conversion-Celsius-to-Fahrenheit/m-p/751485#M236569</link>
      <description>&lt;P&gt;This would be a way:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;if temp1 = . then temp1 = .M;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;SAS supports 27 flavors of missing value for numerics, not just a dot.&amp;nbsp; So missing values will print as an M instead of a dot.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When assigning a special missing value, the dot before the M is correct.&lt;/P&gt;</description>
      <pubDate>Thu, 01 Jul 2021 15:24:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/conversion-Celsius-to-Fahrenheit/m-p/751485#M236569</guid>
      <dc:creator>Astounding</dc:creator>
      <dc:date>2021-07-01T15:24:54Z</dc:date>
    </item>
    <item>
      <title>Re: conversion Celsius to Fahrenheit</title>
      <link>https://communities.sas.com/t5/SAS-Programming/conversion-Celsius-to-Fahrenheit/m-p/751486#M236570</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/327170"&gt;@Aexor&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;&lt;BR /&gt;Something like charioteer value will be apt fro this . &lt;BR /&gt;I just want to distinguish missing to something else.&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can we have any option to replace missing to something else ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;I don't know what this means, or what you want here. Why isn't leaving it as missing acceptable? What is the need for something else?&lt;/P&gt;</description>
      <pubDate>Thu, 01 Jul 2021 15:29:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/conversion-Celsius-to-Fahrenheit/m-p/751486#M236570</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2021-07-01T15:29:12Z</dc:date>
    </item>
    <item>
      <title>Re: conversion Celsius to Fahrenheit</title>
      <link>https://communities.sas.com/t5/SAS-Programming/conversion-Celsius-to-Fahrenheit/m-p/751488#M236571</link>
      <description>requirement was like this  so remove missing value to something else.</description>
      <pubDate>Thu, 01 Jul 2021 15:31:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/conversion-Celsius-to-Fahrenheit/m-p/751488#M236571</guid>
      <dc:creator>Aexor</dc:creator>
      <dc:date>2021-07-01T15:31:16Z</dc:date>
    </item>
    <item>
      <title>Re: conversion Celsius to Fahrenheit</title>
      <link>https://communities.sas.com/t5/SAS-Programming/conversion-Celsius-to-Fahrenheit/m-p/751496#M236578</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/327170"&gt;@Aexor&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;requirement was like this so remove missing value to something else.&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;I'm sorry this won't help you, but this requirement is sheer madness to replace a missing with a non-missing, just because. There are indeed cases where you have a specific analysis in mind, and you replace the missing with a mean or median or some imputed value, based upon some statistical reasoning and the intended analysis, but I can't see how that applies here.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So, I hope the lesson you learn from me (which again, I understand doesn't help you) is that replacing a missing with a non-missing just for no reason whatsoever is not a good thing to do, such a bad thing to do that I won't create SAS code to do it.&lt;/P&gt;</description>
      <pubDate>Thu, 01 Jul 2021 16:29:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/conversion-Celsius-to-Fahrenheit/m-p/751496#M236578</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2021-07-01T16:29:17Z</dc:date>
    </item>
  </channel>
</rss>

