<?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 mi produces no log in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/proc-mi-produces-no-log/m-p/753973#M36689</link>
    <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm having a similar issue with a dataset with 750,000 observations.&amp;nbsp; I'm only imputing 6 variables, and I'm using REG for four of those.&amp;nbsp; However, I wanted to use REGPMM for two attendance rate (percentage) variables because using REG results in numbers over 100.&amp;nbsp; I've tried using the MAX option before but that didn't work.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is there anyway to increase the efficiency of this operation?&amp;nbsp; If not, is there a way to estimate the length of time that is needed?&amp;nbsp; I've tried gradually increasing the number of observations, but the effect on computation time doesn't seem linear.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Bill&lt;/P&gt;</description>
    <pubDate>Tue, 13 Jul 2021 22:58:47 GMT</pubDate>
    <dc:creator>whs278</dc:creator>
    <dc:date>2021-07-13T22:58:47Z</dc:date>
    <item>
      <title>proc mi produces no log</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/proc-mi-produces-no-log/m-p/599122#M29218</link>
      <description>&lt;P&gt;NOTE: Copyright (c) 2002-2012 by SAS Institute Inc., Cary, NC, USA.&lt;BR /&gt;NOTE: SAS (r) Proprietary Software 9.4 (TS1M2)&lt;/P&gt;&lt;P&gt;NOTE: This session is executing on the Linux 3.10.0-957.27.2.el7.x86_64 (LIN&lt;BR /&gt;X64) platform.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm trying to impute students' test scores across 3 different tests at 6 points in time. The missing data rate is no smaller than 2/3. I have 455,959 observations, and 18 variables. Here is the code I'm using:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc mi data=thedata out=theoutput ;
    var 
&amp;lt;list of variables&amp;gt;
        ;
     fcs     regpmm;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;When I run this I get a 0-length log file, 47234 lines of output in the lst file, no messages at the console. The output is produced during the first minute the program runs, and then stops in the middle of the output table. It was been like this for the last 51 hours. At the same time, the program continues to eat up CPU time. As of this time the SAS process has used up 1560 minutes of CPU time. Since there is no log file and no messages at the console, I have no idea how to even start figuring out what the problem is. I know it's not a log-redirection problem because when I run other SAS jobs, the log is produced as expected.&lt;/P&gt;&lt;P&gt;Can anyone give me some help?&lt;/P&gt;&lt;P&gt;TIA&lt;/P&gt;</description>
      <pubDate>Thu, 24 Oct 2019 18:20:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/proc-mi-produces-no-log/m-p/599122#M29218</guid>
      <dc:creator>lupp</dc:creator>
      <dc:date>2019-10-24T18:20:24Z</dc:date>
    </item>
    <item>
      <title>Re: proc mi produces no log</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/proc-mi-produces-no-log/m-p/599199#M29219</link>
      <description>&lt;P&gt;First thing I would try a subset of your data with fewer records, like maybe 1000.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;proc mi data=thedata (obs=1000) out=theoutput ;
    var 
&lt;/PRE&gt;
&lt;P&gt;and if that works increase the Obs value and see if the time increases.&lt;/P&gt;
&lt;P&gt;Are you running this in Batch or interactively?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Oct 2019 22:19:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/proc-mi-produces-no-log/m-p/599199#M29219</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2019-10-24T22:19:27Z</dc:date>
    </item>
    <item>
      <title>Re: proc mi produces no log</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/proc-mi-produces-no-log/m-p/599328#M29220</link>
      <description>&lt;P&gt;You have 18 variables on the VAR statement? For N=456,000, that is a very big imputation problem. It will take a long time with a big data set.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I cannot figure out why your lst file contains 47,234 lines. Can you post the EXACT PROC MI step that you are running, including all options? For the default tables, only the "Missing Data Patterns" table can be large, and only if you have a huge number of combinations of missing values among your variables.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;A possible work-around to your problem:&lt;/P&gt;
&lt;P&gt;The REGPMM method is a nearest-neighbor computation, which will be very expensive when used with a large data set. I suggest that you use a more efficient method such as FCS REG.&amp;nbsp; Using REG instead or REGPMM should be many times faster.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The current default number of imputations is 25, but I don't remember what the default was for SAS 9.4M2. If you want to know how long ONE imputation will take, set&lt;/P&gt;
&lt;P&gt;NIMPUTE=1&lt;/P&gt;
&lt;P&gt;on the PROC MI statement. As a rule of thumb, if you perform k imputations, it will take k times as long as a single imputation.&amp;nbsp; With a large, you might want to limit the number of imputations to NIMPUTE=5 .&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 25 Oct 2019 13:50:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/proc-mi-produces-no-log/m-p/599328#M29220</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2019-10-25T13:50:49Z</dc:date>
    </item>
    <item>
      <title>Re: proc mi produces no log</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/proc-mi-produces-no-log/m-p/753973#M36689</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm having a similar issue with a dataset with 750,000 observations.&amp;nbsp; I'm only imputing 6 variables, and I'm using REG for four of those.&amp;nbsp; However, I wanted to use REGPMM for two attendance rate (percentage) variables because using REG results in numbers over 100.&amp;nbsp; I've tried using the MAX option before but that didn't work.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is there anyway to increase the efficiency of this operation?&amp;nbsp; If not, is there a way to estimate the length of time that is needed?&amp;nbsp; I've tried gradually increasing the number of observations, but the effect on computation time doesn't seem linear.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Bill&lt;/P&gt;</description>
      <pubDate>Tue, 13 Jul 2021 22:58:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/proc-mi-produces-no-log/m-p/753973#M36689</guid>
      <dc:creator>whs278</dc:creator>
      <dc:date>2021-07-13T22:58:47Z</dc:date>
    </item>
    <item>
      <title>Re: proc mi produces no log</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/proc-mi-produces-no-log/m-p/754025#M36693</link>
      <description>&lt;P&gt;Please post your PROC MI statements.&lt;/P&gt;</description>
      <pubDate>Wed, 14 Jul 2021 10:22:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/proc-mi-produces-no-log/m-p/754025#M36693</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2021-07-14T10:22:00Z</dc:date>
    </item>
    <item>
      <title>Re: proc mi produces no log</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/proc-mi-produces-no-log/m-p/754063#M36694</link>
      <description>&lt;PRE class="language-sas"&gt;&lt;CODE&gt;PROC MI DATA = HSPSTUID(OBS = 50000) NIMPUTE =  1 OUT = HSPSTU_MI1;
	CLASS ETHCAT GENCAT OVERAGEG09 REGMTHP65G08P;
	FCS NBITER = 1 REGPMM ( ATTPCTROLG08MI);
	FCS NBITER = 1 REG (ELASSCZG08MI);
	FCS NBITER = 1 REG (MTHSSCZG07MI);
	FCS NBITER = 1 REGPMM ( ATTPCTROLG07MI);
	FCS NBITER = 1 REG (ELASSCZG07MI);
	FCS NBITER = 1 REG (MTHSSCZG08MI);
	VAR ETHCAT GENCAT OVERAGEG09 REGMTHP65G08P ATTPCTROLG08MI ELASSCZG08MI MTHSSCZG07MI ATTPCTROLG07MI ELASSCZG07MI MTHSSCZG08MI;
	WHERE IN_MI = 1;

RUN&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 14 Jul 2021 13:10:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/proc-mi-produces-no-log/m-p/754063#M36694</guid>
      <dc:creator>whs278</dc:creator>
      <dc:date>2021-07-14T13:10:46Z</dc:date>
    </item>
    <item>
      <title>Re: proc mi produces no log</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/proc-mi-produces-no-log/m-p/754117#M36699</link>
      <description>&lt;P&gt;How many levels are in the categorical variables&amp;nbsp;ETHCAT GENCAT OVERAGEG09 REGMTHP65G08P?&lt;/P&gt;
&lt;P&gt;Run&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;PROC freq DATA = HSPSTUID(OBS = 50000);
tables ETHCAT GENCAT OVERAGEG09 REGMTHP65G08P;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;or run PROC GLM with those explanatory variables and look at the ClassLevels table&lt;/P&gt;</description>
      <pubDate>Wed, 14 Jul 2021 15:29:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/proc-mi-produces-no-log/m-p/754117#M36699</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2021-07-14T15:29:52Z</dc:date>
    </item>
    <item>
      <title>Re: proc mi produces no log</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/proc-mi-produces-no-log/m-p/754134#M36702</link>
      <description>&lt;P&gt;ETHCAT has 5 and the other three variables have 2, so there are a total of 40 groups I suppose (5x2X2X2=40)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV class="branch"&gt;&lt;A name="IDX" target="_blank"&gt;&lt;/A&gt;
&lt;DIV class="l proctitle"&gt;The FREQ Procedure&lt;/DIV&gt;
&lt;DIV&gt;
&lt;DIV align="left"&gt;
&lt;TABLE class="table" summary="Procedure Freq: One-Way Frequencies" frame="box" rules="all" cellspacing="0" cellpadding="5"&gt;&lt;COLGROUP&gt; &lt;COL /&gt;&lt;/COLGROUP&gt; &lt;COLGROUP&gt; &lt;COL /&gt; &lt;COL /&gt; &lt;COL /&gt; &lt;COL /&gt;&lt;/COLGROUP&gt;
&lt;THEAD&gt;
&lt;TR&gt;
&lt;TH class="r b header" scope="col"&gt;ETHCAT&lt;/TH&gt;
&lt;TH class="r b header" scope="col"&gt;Frequency&lt;/TH&gt;
&lt;TH class="r b header" scope="col"&gt;Percent&lt;/TH&gt;
&lt;TH class="r b header" scope="col"&gt;Cumulative&lt;BR /&gt;Frequency&lt;/TH&gt;
&lt;TH class="r b header" scope="col"&gt;Cumulative&lt;BR /&gt;Percent&lt;/TH&gt;
&lt;/TR&gt;
&lt;/THEAD&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TH class="r rowheader" scope="row"&gt;2: ASIAN/PACIFIC ISLANDER&lt;/TH&gt;
&lt;TD class="r data"&gt;8496&lt;/TD&gt;
&lt;TD class="r data"&gt;16.99&lt;/TD&gt;
&lt;TD class="r data"&gt;8496&lt;/TD&gt;
&lt;TD class="r data"&gt;16.99&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TH class="r rowheader" scope="row"&gt;3: HISPANIC&lt;/TH&gt;
&lt;TD class="r data"&gt;19228&lt;/TD&gt;
&lt;TD class="r data"&gt;38.46&lt;/TD&gt;
&lt;TD class="r data"&gt;27724&lt;/TD&gt;
&lt;TD class="r data"&gt;55.45&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TH class="r rowheader" scope="row"&gt;4: BLACK, NON-HISPANIC&lt;/TH&gt;
&lt;TD class="r data"&gt;14359&lt;/TD&gt;
&lt;TD class="r data"&gt;28.72&lt;/TD&gt;
&lt;TD class="r data"&gt;42083&lt;/TD&gt;
&lt;TD class="r data"&gt;84.17&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TH class="r rowheader" scope="row"&gt;5: WHITE, NON-HISPANIC&lt;/TH&gt;
&lt;TD class="r data"&gt;7300&lt;/TD&gt;
&lt;TD class="r data"&gt;14.60&lt;/TD&gt;
&lt;TD class="r data"&gt;49383&lt;/TD&gt;
&lt;TD class="r data"&gt;98.77&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TH class="r rowheader" scope="row"&gt;8: OTHER RACE/ETH&lt;/TH&gt;
&lt;TD class="r data"&gt;617&lt;/TD&gt;
&lt;TD class="r data"&gt;1.23&lt;/TD&gt;
&lt;TD class="r data"&gt;50000&lt;/TD&gt;
&lt;TD class="r data"&gt;100.00&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;P&gt;&lt;BR /&gt;&lt;A name="IDX1" target="_blank"&gt;&lt;/A&gt;&lt;/P&gt;
&lt;DIV&gt;
&lt;DIV align="left"&gt;
&lt;TABLE class="table" summary="Procedure Freq: One-Way Frequencies" frame="box" rules="all" cellspacing="0" cellpadding="5"&gt;&lt;COLGROUP&gt; &lt;COL /&gt;&lt;/COLGROUP&gt; &lt;COLGROUP&gt; &lt;COL /&gt; &lt;COL /&gt; &lt;COL /&gt; &lt;COL /&gt;&lt;/COLGROUP&gt;
&lt;THEAD&gt;
&lt;TR&gt;
&lt;TH class="r b header" scope="col"&gt;GENCAT&lt;/TH&gt;
&lt;TH class="r b header" scope="col"&gt;Frequency&lt;/TH&gt;
&lt;TH class="r b header" scope="col"&gt;Percent&lt;/TH&gt;
&lt;TH class="r b header" scope="col"&gt;Cumulative&lt;BR /&gt;Frequency&lt;/TH&gt;
&lt;TH class="r b header" scope="col"&gt;Cumulative&lt;BR /&gt;Percent&lt;/TH&gt;
&lt;/TR&gt;
&lt;/THEAD&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TH class="r rowheader" scope="row"&gt;1: FEMALE&lt;/TH&gt;
&lt;TD class="r data"&gt;25793&lt;/TD&gt;
&lt;TD class="r data"&gt;51.59&lt;/TD&gt;
&lt;TD class="r data"&gt;25793&lt;/TD&gt;
&lt;TD class="r data"&gt;51.59&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TH class="r rowheader" scope="row"&gt;2: MALE&lt;/TH&gt;
&lt;TD class="r data"&gt;24207&lt;/TD&gt;
&lt;TD class="r data"&gt;48.41&lt;/TD&gt;
&lt;TD class="r data"&gt;50000&lt;/TD&gt;
&lt;TD class="r data"&gt;100.00&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;P&gt;&lt;BR /&gt;&lt;A name="IDX2" target="_blank"&gt;&lt;/A&gt;&lt;/P&gt;
&lt;DIV&gt;
&lt;DIV align="left"&gt;
&lt;TABLE class="table" summary="Procedure Freq: One-Way Frequencies" frame="box" rules="all" cellspacing="0" cellpadding="5"&gt;&lt;COLGROUP&gt; &lt;COL /&gt;&lt;/COLGROUP&gt; &lt;COLGROUP&gt; &lt;COL /&gt; &lt;COL /&gt; &lt;COL /&gt; &lt;COL /&gt;&lt;/COLGROUP&gt;
&lt;THEAD&gt;
&lt;TR&gt;
&lt;TH class="r b header" scope="col"&gt;OVERAGEG09&lt;/TH&gt;
&lt;TH class="r b header" scope="col"&gt;Frequency&lt;/TH&gt;
&lt;TH class="r b header" scope="col"&gt;Percent&lt;/TH&gt;
&lt;TH class="r b header" scope="col"&gt;Cumulative&lt;BR /&gt;Frequency&lt;/TH&gt;
&lt;TH class="r b header" scope="col"&gt;Cumulative&lt;BR /&gt;Percent&lt;/TH&gt;
&lt;/TR&gt;
&lt;/THEAD&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TH class="r rowheader" scope="row"&gt;0&lt;/TH&gt;
&lt;TD class="r data"&gt;39900&lt;/TD&gt;
&lt;TD class="r data"&gt;79.80&lt;/TD&gt;
&lt;TD class="r data"&gt;39900&lt;/TD&gt;
&lt;TD class="r data"&gt;79.80&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TH class="r rowheader" scope="row"&gt;100&lt;/TH&gt;
&lt;TD class="r data"&gt;10100&lt;/TD&gt;
&lt;TD class="r data"&gt;20.20&lt;/TD&gt;
&lt;TD class="r data"&gt;50000&lt;/TD&gt;
&lt;TD class="r data"&gt;100.00&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;P&gt;&lt;BR /&gt;&lt;A name="IDX3" target="_blank"&gt;&lt;/A&gt;&lt;/P&gt;
&lt;DIV&gt;
&lt;DIV align="left"&gt;
&lt;TABLE class="table" summary="Procedure Freq: One-Way Frequencies" frame="box" rules="all" cellspacing="0" cellpadding="5"&gt;&lt;COLGROUP&gt; &lt;COL /&gt;&lt;/COLGROUP&gt; &lt;COLGROUP&gt; &lt;COL /&gt; &lt;COL /&gt; &lt;COL /&gt; &lt;COL /&gt;&lt;/COLGROUP&gt;
&lt;THEAD&gt;
&lt;TR&gt;
&lt;TH class="r b header" scope="col"&gt;REGMTHP65G08P&lt;/TH&gt;
&lt;TH class="r b header" scope="col"&gt;Frequency&lt;/TH&gt;
&lt;TH class="r b header" scope="col"&gt;Percent&lt;/TH&gt;
&lt;TH class="r b header" scope="col"&gt;Cumulative&lt;BR /&gt;Frequency&lt;/TH&gt;
&lt;TH class="r b header" scope="col"&gt;Cumulative&lt;BR /&gt;Percent&lt;/TH&gt;
&lt;/TR&gt;
&lt;/THEAD&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TH class="r rowheader" scope="row"&gt;0&lt;/TH&gt;
&lt;TD class="r data"&gt;39062&lt;/TD&gt;
&lt;TD class="r data"&gt;78.12&lt;/TD&gt;
&lt;TD class="r data"&gt;39062&lt;/TD&gt;
&lt;TD class="r data"&gt;78.12&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TH class="r rowheader" scope="row"&gt;100&lt;/TH&gt;
&lt;TD class="r data"&gt;10938&lt;/TD&gt;
&lt;TD class="r data"&gt;21.88&lt;/TD&gt;
&lt;TD class="r data"&gt;50000&lt;/TD&gt;
&lt;TD class="r data"&gt;100.00&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Wed, 14 Jul 2021 17:20:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/proc-mi-produces-no-log/m-p/754134#M36702</guid>
      <dc:creator>whs278</dc:creator>
      <dc:date>2021-07-14T17:20:52Z</dc:date>
    </item>
    <item>
      <title>Re: proc mi produces no log</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/proc-mi-produces-no-log/m-p/754168#M36704</link>
      <description>&lt;P&gt;It does take a long time. For some simulated data, I predict (on my PC) that the 50k observations will take 107 seconds per missing value imputation. Here is the simulated data I used:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;/* simulate the data */
data HSPSTUID;
call streaminit(123);
do i = 1 to 50000;
   ETHCAT = rand("Table", 0.17, 0.38, 0.29, 0.14, 0.02);
   GENCAT = rand("Table", 0.51, 0.49);
   OVERAGEG09 = 100*rand("BERN", 0.2);
   REGMTHP65G08P = 100*rand("BERN", 0.22);
   
   ATTPCTROLG08MI = rand("Normal");
	ELASSCZG08MI   = rand("Normal");
	MTHSSCZG07MI   = rand("Normal");
	ATTPCTROLG07MI = rand("Normal");
	ELASSCZG07MI   = rand("Normal");
	MTHSSCZG08MI   = rand("Normal");

	NBITER = ETHCAT + GENCAT - OVERAGEG09/10 - REGMTHP65G08P/10
            + ATTPCTROLG08MI - ELASSCZG08MI + MTHSSCZG07MI - ATTPCTROLG07MI 
            + ELASSCZG07MI - MTHSSCZG08MI;
   /* now introduce missing at random */
   if rand("bern",0.1) then ATTPCTROLG08MI = .;
	if rand("bern",0.05) then ELASSCZG08MI   = .;
	if rand("bern",0.05) then MTHSSCZG07MI   = .;
	if rand("bern",0.07) then ATTPCTROLG07MI = .;
	if rand("bern",0.01) then ELASSCZG07MI   = .;
	if rand("bern",0.2) then MTHSSCZG08MI   = .;
   output;
end;
run;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;I then ran PROC MI for OBS=5000, OBS=10000, etc, until I got tired of waiting. The code I ran was&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;%let N = 5000;   /* change this numbe: 5000, 10000, 15000, ... */
PROC MI DATA = HSPSTUID(OBS = &amp;amp;N) NIMPUTE =  1 OUT = HSPSTU_MI1
     displaypattern=nomeans;
	CLASS ETHCAT GENCAT OVERAGEG09 REGMTHP65G08P;
	FCS NBITER = 1 REGPMM ( ATTPCTROLG08MI);
	FCS NBITER = 1 REG (ELASSCZG08MI);
	FCS NBITER = 1 REG (MTHSSCZG07MI);
	FCS NBITER = 1 REGPMM ( ATTPCTROLG07MI);
	FCS NBITER = 1 REG (ELASSCZG07MI);
	FCS NBITER = 1 REG (MTHSSCZG08MI);
	VAR ETHCAT GENCAT OVERAGEG09 REGMTHP65G08P ATTPCTROLG08MI ELASSCZG08MI MTHSSCZG07MI ATTPCTROLG07MI ELASSCZG07MI MTHSSCZG08MI;
RUN;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Here are the timings from my PC. The total time appears to be quadratic in the sample size:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;/* results of running PROC MI with different sample sizes */
data Timing;
input size Time;
datalines;
500  0.17
5000 1.33
8000 2.91
10000 4.52
15000 9.38
20000 16.69
25000 27.2
30000 38.23
40000 .
50000 .
;

proc glm data=Timing;
   model Time = size size*size;
   output out=GLMOut P=pred;
run; quit;

proc print data=GLMOut;run;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 14 Jul 2021 19:57:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/proc-mi-produces-no-log/m-p/754168#M36704</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2021-07-14T19:57:45Z</dc:date>
    </item>
    <item>
      <title>Re: proc mi produces no log</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/proc-mi-produces-no-log/m-p/755394#M36785</link>
      <description>Thanks, this was really helpful.  I always appreciate your help on SAS communities as well as your blog posts.</description>
      <pubDate>Tue, 20 Jul 2021 15:16:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/proc-mi-produces-no-log/m-p/755394#M36785</guid>
      <dc:creator>whs278</dc:creator>
      <dc:date>2021-07-20T15:16:26Z</dc:date>
    </item>
  </channel>
</rss>

