<?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 tabulate : cv in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Proc-tabulate-cv/m-p/983551#M49268</link>
    <description>It is strange, but I have no output even for 1 variable :&lt;BR /&gt;29         proc tabulate data=bdd;&lt;BR /&gt;30         	class departement;&lt;BR /&gt;31         	var Nmbr_de_lgm;&lt;BR /&gt;32         	table departement, (Nmbr_de_lgm)*(cv);&lt;BR /&gt;33         run;&lt;BR /&gt;&lt;BR /&gt;WARNING: A logical page containing only missing values has been deleted from the output.&lt;BR /&gt;NOTE: There were 100 observations read from the data set WORK.BDD.&lt;BR /&gt;NOTE: PROCEDURE TABULATE used (Total process time):&lt;BR /&gt;      real time           0.03 seconds&lt;BR /&gt;      cpu time            0.03 seconds</description>
    <pubDate>Mon, 16 Feb 2026 16:34:11 GMT</pubDate>
    <dc:creator>SASdevAnneMarie</dc:creator>
    <dc:date>2026-02-16T16:34:11Z</dc:date>
    <item>
      <title>Proc tabulate : cv</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Proc-tabulate-cv/m-p/983549#M49266</link>
      <description>&lt;P&gt;Hello Experts,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm wondering if it is possible to calculate the cv wit proc tabulate for all variables.&lt;/P&gt;
&lt;P&gt;When i try my code it does not work :&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;
proc tabulate data=bdd;
	class departement;
	var _all_;
	table nom_departement, (_all_)*cv;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Thank you for your help!&lt;/P&gt;</description>
      <pubDate>Mon, 16 Feb 2026 16:05:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Proc-tabulate-cv/m-p/983549#M49266</guid>
      <dc:creator>SASdevAnneMarie</dc:creator>
      <dc:date>2026-02-16T16:05:14Z</dc:date>
    </item>
    <item>
      <title>Re: Proc tabulate : cv</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Proc-tabulate-cv/m-p/983550#M49267</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/286185"&gt;@SASdevAnneMarie&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;you can use&amp;nbsp;&amp;nbsp;_NUMERIC_ (not _ALL_) because variables listed in the VAR statement of PROC TABULATE must be numeric, and CV is a valid TABULATE statistic keyword.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;!--ScriptorStartFragment--&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;DIV class="scriptor-paragraph"&gt;&lt;SPAN&gt;proc tabulate data=bdd;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV class="scriptor-paragraph"&gt;&lt;SPAN&gt;&amp;nbsp; class nom_departement;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV class="scriptor-paragraph"&gt;&lt;SPAN&gt;&amp;nbsp; var _numeric_;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV class="scriptor-paragraph"&gt;&lt;SPAN&gt;&amp;nbsp; table nom_departement, (_numeric_)*(cv);&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV class="scriptor-paragraph"&gt;&lt;SPAN&gt;&lt;SPAN&gt;run;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;DIV&gt;Please consider the following documentation for additional details:&lt;/DIV&gt;
&lt;SPAN&gt;&lt;A href="https://www.sfu.ca/sasdoc/sashtml/proc/zormulas.htm" target="_blank"&gt;SAS Elementary Statistics Procedures : Keywords and Formulas&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://go.documentation.sas.com/doc/en/pgmsascdc/v_068/proc/p1g617vn5t3p39n0z9o601rw74jz.htm" target="_blank"&gt;SAS Help Center: Syntax: PROC TABULATE TABLE Statement&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Hope this helps you!&lt;!--ScriptorEndFragment--&gt;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;P&gt;&lt;LI-WRAPPER&gt;&lt;/LI-WRAPPER&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 16 Feb 2026 16:15:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Proc-tabulate-cv/m-p/983550#M49267</guid>
      <dc:creator>Sa_S</dc:creator>
      <dc:date>2026-02-16T16:15:13Z</dc:date>
    </item>
    <item>
      <title>Re: Proc tabulate : cv</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Proc-tabulate-cv/m-p/983551#M49268</link>
      <description>It is strange, but I have no output even for 1 variable :&lt;BR /&gt;29         proc tabulate data=bdd;&lt;BR /&gt;30         	class departement;&lt;BR /&gt;31         	var Nmbr_de_lgm;&lt;BR /&gt;32         	table departement, (Nmbr_de_lgm)*(cv);&lt;BR /&gt;33         run;&lt;BR /&gt;&lt;BR /&gt;WARNING: A logical page containing only missing values has been deleted from the output.&lt;BR /&gt;NOTE: There were 100 observations read from the data set WORK.BDD.&lt;BR /&gt;NOTE: PROCEDURE TABULATE used (Total process time):&lt;BR /&gt;      real time           0.03 seconds&lt;BR /&gt;      cpu time            0.03 seconds</description>
      <pubDate>Mon, 16 Feb 2026 16:34:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Proc-tabulate-cv/m-p/983551#M49268</guid>
      <dc:creator>SASdevAnneMarie</dc:creator>
      <dc:date>2026-02-16T16:34:11Z</dc:date>
    </item>
    <item>
      <title>Re: Proc tabulate : cv</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Proc-tabulate-cv/m-p/983552#M49269</link>
      <description>&lt;P&gt;You would get this message if your numeric variable,&amp;nbsp;Nmbr_de_lgm, has all missing values. To check, run the following:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc freq data=bdd;
tables Nmbr_de_lgm / missing;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 16 Feb 2026 16:42:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Proc-tabulate-cv/m-p/983552#M49269</guid>
      <dc:creator>Kathryn_SAS</dc:creator>
      <dc:date>2026-02-16T16:42:10Z</dc:date>
    </item>
    <item>
      <title>Re: Proc tabulate : cv</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Proc-tabulate-cv/m-p/983553#M49270</link>
      <description>I don't have the missing values in variables.</description>
      <pubDate>Mon, 16 Feb 2026 16:46:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Proc-tabulate-cv/m-p/983553#M49270</guid>
      <dc:creator>SASdevAnneMarie</dc:creator>
      <dc:date>2026-02-16T16:46:05Z</dc:date>
    </item>
    <item>
      <title>Re: Proc tabulate : cv</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Proc-tabulate-cv/m-p/983555#M49272</link>
      <description>&lt;P&gt;Can you send the results of the PROC FREQ I suggested?&lt;/P&gt;</description>
      <pubDate>Mon, 16 Feb 2026 16:58:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Proc-tabulate-cv/m-p/983555#M49272</guid>
      <dc:creator>Kathryn_SAS</dc:creator>
      <dc:date>2026-02-16T16:58:33Z</dc:date>
    </item>
    <item>
      <title>Re: Proc tabulate : cv</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Proc-tabulate-cv/m-p/983560#M49273</link>
      <description>&lt;P&gt;My data does not have the missing values, I can not understand why the proc tabulate does not work ( :&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" image-alt="SASdevAnneMarie_0-1771263787944.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/113195i24F357C5D55AD071/image-size/medium?v=v2&amp;amp;px=400" role="button" title="SASdevAnneMarie_0-1771263787944.png" alt="SASdevAnneMarie_0-1771263787944.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 16 Feb 2026 17:43:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Proc-tabulate-cv/m-p/983560#M49273</guid>
      <dc:creator>SASdevAnneMarie</dc:creator>
      <dc:date>2026-02-16T17:43:33Z</dc:date>
    </item>
    <item>
      <title>Re: Proc tabulate : cv</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Proc-tabulate-cv/m-p/983561#M49274</link>
      <description>&lt;P&gt;Please send your complete SAS log from the code below and the results of the PROC CONTENTS and PROC FREQ as attachments (not partial screenshots).&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc contents data=bdd;
run;

proc tabulate data=bdd;
class departement;
var Nmbr_de_lgm;
table departement, (Nmbr_de_lgm)*(cv);
run;

proc freq data=bdd;
tables Nmbr_de_lgm / missing;
run;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 16 Feb 2026 17:51:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Proc-tabulate-cv/m-p/983561#M49274</guid>
      <dc:creator>Kathryn_SAS</dc:creator>
      <dc:date>2026-02-16T17:51:53Z</dc:date>
    </item>
    <item>
      <title>Re: Proc tabulate : cv</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Proc-tabulate-cv/m-p/983563#M49276</link>
      <description>Thank you, Kathryn!</description>
      <pubDate>Mon, 16 Feb 2026 18:20:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Proc-tabulate-cv/m-p/983563#M49276</guid>
      <dc:creator>SASdevAnneMarie</dc:creator>
      <dc:date>2026-02-16T18:20:48Z</dc:date>
    </item>
    <item>
      <title>Re: Proc tabulate : cv</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Proc-tabulate-cv/m-p/983661#M49284</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/286185"&gt;@SASdevAnneMarie&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;I don't have the missing values in variables.&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;How about all 0 values for&amp;nbsp;Nmbr_de_lgm for one or more departement levels? The CV function has some issues with that I believe.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Feb 2026 23:59:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Proc-tabulate-cv/m-p/983661#M49284</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2026-02-17T23:59:50Z</dc:date>
    </item>
  </channel>
</rss>

