HDTenEightyP/NetNews huggingface dataset:
Newsgroups: bit.listserv.sas-l
Date:         Tue, 7 Apr 1992 10:31:05 CST
Reply-To:     "Randy Van Beek (605) 688-4679" <CC28@SDSUMUS.BITNET>
From:         "Randy Van Beek (605) 688-4679" <CC28@SDSUMUS.BITNET>
Subject:      MWSUG 92

Due to date conflicts the MidWest SAS User Group Conference has been
re-scheduled to Sept. 30 - Oct. 2, 1992. Please note this date change
on your calendar. The call for papers abstract deadline is April 30,    .
1992. If there are any questions about getting your abstract in on time
please contact Randy by phone, FAX, E-Mail.

Phone:  605-688-4679
FAX:    605-688-5822
BITNET: CC28@SDSUMUS

Please send your abstract to Randy by either FAX, E-Mail or Snail-Mail.

Snail-Mail:                  Randy Van Beek
                             South Dakota State University
                             Computing Services, Box 2201
                             Brookings, SD   57007-1598

For conference information please contact

                             Nancy J. Hill
                             HB221, Information Services
                             Central Missouri State University
                             Warrensburg, MO 64093
                     Phone:  816-543-4848
                     BITNET: HILL@CMSUVMA
Comments: Gated by NETNEWS@AUVM.AMERICAN.EDU
Newsgroups: bit.listserv.sas-l
Date:         Tue, 7 Apr 1992 13:59:43 EDT
Reply-To:     MACEVEDO@UGA.BITNET
From:         MACEVEDO@UGA.BITNET
Subject:      PROC REG: order of variables

A faculty member's research project (running SAS PC v.6.0.3) needs
to run a multiple regression model using 8 independent variables:
    A   Age
    E   Education level
    L   How long caring for children
    W   Workshops attended

    S   # of kinds of support received

    D   Direct parent involvement
    I   Indirect Parent Involvement

    M   Myth

and a single dependent variable:
    P   parent Communication

Out of these 8 predictors he wants to consider the first group of 4
variables for first entry into the model. Of the remaining variables there
is no theoretical bases for the order in which the variables should go in
next.
How can he safely introduce the remaining variables into the equation
without violating any statistical assumption/rule?

Is this what the BEST option in the MODEL statement will take care of?

    PROC REG:
    MODEL P = A E L W  S  D I  M /SELECTION= ? BEST=3;

If there is someone that can give us some help we really appreciate it.
Organization: Penn State University
Date: Monday, 6 Apr 1992 15:37:30 EDT
From: Daryl R. Hoffman <DRH4@psuvm.psu.edu>
Newsgroups: bit.listserv.sas-l
Subject: Re: Window program in SAS Observations

Comments: Gated by NETNEWS@AUVM.AMERICAN.EDU
Organization: Office of University Computing
Newsgroups: bit.listserv.sas-l
Date:         Mon, 6 Apr 1992 13:08:58 EST
Reply-To:     "Jim S." <JSTUKAS@IRISHVMA.BITNET>
From:         "Jim S." <JSTUKAS@IRISHVMA.BITNET>
Subject:      Macro Windows

Hello Netters:
   After reading the latest SAS Observations, I was asked to write an
application for which I thought the SAS Macro windows might do quite
nicely (we don't have AF or FSP anywhere here).  Anyway, I tried to go
through the example program given in the article using the 1040EZ (which
reminds me, I've got to do my taxes).  Anyway, the program doesn't seem
to work, in that I only get two of the windows to appear (the first and the
third) on a 9121 running CMS.  However, the same program works fine under
TSO and on my NeXTstation running Mach/UNIX.
   Can someone run the program on a CMS system and tell me if it works for
them, or if there is some CMS trick I need to know about?  Actually, I
suspect that this is to call SAS and see if there is a Zap, or usage note,
but I thought I'd see what the net could come up with first.  Below I include
the program for those who don't want to type it in, and then the SAS LOG.

I am note sure why, but when I changed the name of the window from NAME_ADD to
NAMEADD, the program executed properly.  I am running Version 6.07 of the SAS
System on VM/ESA 1.1.
Comments: Gated by NETNEWS@AUVM.AMERICAN.EDU
X-Envelope-to: sas-l@VTVM2.BITNET
X-VMS-To: IN%"sas-l@vtvm2.bitnet"
Newsgroups: bit.listserv.sas-l
Date:         Mon, 6 Apr 1992 09:33:00 EST
Reply-To:     DYER@WCUVAX1.BITNET
From:         DYER@WCUVAX1.BITNET
Subject:      unsubscribing

set sas-l off
usubscribe
From: U40C2@wvnvm.wvnet.edu
Newsgroups: bit.listserv.sas-l
Subject: DBF file types
Date: 15 Apr 92 19:47:34 GMT
Article-I.D.: wvnvm.92106.154735U40C2

Is there a utility which SAS has or sombody has written to convert DBF
type files which were written by FoxPro.  I now very little about DBF
file types and foxPro but would like to convert the data to SAS format.

Any help would be appreciated.
Comments: Gated by NETNEWS@AUVM.AMERICAN.EDU
Newsgroups: bit.listserv.sas-l
Date:         Wed, 15 Apr 1992 16:52:40 ECT
Reply-To:     Lary Jones <LJONES@BINGVMB.BITNET>
From:         Lary Jones <LJONES@BINGVMB.BITNET>
Subject:      Re: Median function in a sliding window
Comments: To: "Phil W. Miller x8335 1-e138" <pwm@MACAW.JHUAPL.EDU>,
              SAS List <SAS-L@UGA.BITNET>

Topic:     Median Smoothing
Platforms: All

Phil W. Miller asked about a way to do median smoothing in SAS.
Others may have responded with neat and tricky approaches.  What I
have to offer is a some data step programming which implements 5-span
median smoothing.  The data and approach are taken from Velleman &
Hoaglin, _A-B-Cs of EDA_.  This method consumes bunches of CPU time.
Corrections and improvements are encouraged.
__________________________________________________________________
Lary Jones...Computing Services...Binghamton Univ...(607) 777-2879
School of Management Research Support ...... LJones@BingVMB.Bitnet

  ~~~~~~~~~~~~~~~~~~~~~~~ CUT HERE ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
OPTIONS ls=72 NoCenter;

DATA Series;           /* Data from "A-B-Cs of EDA" p. 165 */
  INPUT chirps @@;
  CARDS;
  60 70 54 56 70 66 53 95 70 69 56 70 70 60 60 60
  50 50 48 59 50 60 70 54 46 57 57 51 51 59
 ;RUN;

DATA smoothed (keep= chirps   sm_chirp);
               /*  original & smoothed value  */
  ARRAY nums{5};
  DO i_ = 1 TO last_;     /* last_ is # of last observation */
                          /* initialized by NOBS= in SET    */

     SELECT (i_);     /* set length of series to be smmothed */
       WHEN (1)   DO; start=1; limit = 1; END;
       WHEN (2)   DO; start=1; limit = 3; END;
       WHEN (last_-1) DO;
          start =last_-2;
          limit = last_;
          END;
       WHEN (last_)   DO;
          start=last_;
          limit = last_;
          END;
       otherwise  DO;
          start = i_ - 2;
          limit = MIN(last_,i_+2);
          END;
     END; /* SELECT */

     index=1;               /* Accumulate Set of Values to Smooth */
     DO j_ = start to limit;
        SET series  POINT=j_ NOBS=last_;
        nums{index} = chirps;
        index+1;
     END;

     SELECT (i_);
       WHEN (1,last_) DO;    /* For obs. 1, N  smooth=value */
         chirps = nums1;
         sm_chirp = nums1;
         output;
         END;
       WHEN (2,last_ - 1) DO;  /* For obs. 2, N-1  smooth 3 values */
         chirps = nums2;
         miny = MIN(nums1,nums2,nums3);
         maxy = MAX(nums1,nums2,nums3);
         sumy = SUM(nums1,nums2,nums3);
         sm_chirp = sumy - miny - maxy;
         output;
         END;
       otherwise DO;
         chirps = nums3;          /* Otherwise, smooth 5 */
         DO j_ = 1 TO 4;
            DO k_ = j_ TO 5;
              IF nums{j_} > nums{k_} THEN DO;
                 temp = nums{j_};
                 nums{j_} = nums{k_};
                 nums{k_} = temp;
              END;
            END;
         END;
         sm_chirp = nums3;
         output;
       END;
     END;
  END;
  STOP;
 ;RUN;

Proc PRINT;
Comments: Gated by NETNEWS@AUVM.AMERICAN.EDU
Newsgroups: bit.listserv.sas-l
Date:         Fri, 17 Apr 1992 07:32:13 EDT
Reply-To:     andrew parks <OPK@NIHCU.BITNET>
From:         andrew parks <OPK@NIHCU.BITNET>
Subject:      SAS 6.03/6.04 & new QEMM

Hey now SAS-Lers!

Anyone have any experience running SAS 6.03/6.04 with QEMM v 6.x??
I'm longer using memory managers except in very limited
circumstances.  We've got users running SAS 6.03 under DOS 3.2,
3.3, 4.01, and 5.0, along with some previous versions of QEMM and
now some are using 6.whatever. I heard that SI was a little cooler
on this latest version of QEMM after strongly recommending
previous versions.  A couple of the machines I've looked at here
that are running the new version have done weird things when they
tangle with SAS:  spontaneous rebooting, getting hung up.

Anyone have some experience, good, bad, or indifferent, to relate?

TIA!!!

Andy Parks / opk@nihcu / opk@cu.nih.gov
Comments: Gated by NETNEWS@AUVM.AMERICAN.EDU
X-Organization: Duke University Medical Center, Durham NC, USA
X-Envelope-to: SAS-L@VTVM2.BITNET
X-VMS-To: IN%"SAS-L@VTVM2"
Newsgroups: bit.listserv.sas-l
Date:         Wed, 8 Apr 1992 20:55:00 EDT
Reply-To:     MUHLB001@DUKEMC.BITNET
From:         MUHLB001@DUKEMC.BITNET
Subject:      Re: filenames

Bob writes:
> Concatenating raw data files on input:  Was it not the case that in older
> versions of SAS (prior to 6.06) one could use a single filename statment
> to refer to multiple files? i.e. "filename a 'a.bat', b.dat'...;"  Now
> I find myself having to write out an explicit filename statemtent for each.
> Never thought I'd miss JCL but the ability to logically concatenate files
> in the old "DD" statement was OK.
> Running SAS 6.07 on aix, 6.06 VMS
> filename a 'a.dat';
> filename b 'b.dat';
> ...
> filename z 'z.dat';
> data all;
>   infile a; input id; output;
>   infile b; input id; output;
>   infile z; input id; output;
> thanks, Bob
>
Since your environment is Unix, you can use the PIPE option and the unix
cat command:

filename a pipe 'cat a.dat b.dat ... ';


Lawrence H. ('Doc') Muhlbaier           muhlb001@dukemc.mc.duke.edu
Assistant Research Professor            muhlb001@dukemc
Duke University Medical Center          919-286-3322 (office)
DUMC 3865                               919-286-9534 (home)
Durham, NC 27710-7510                   919-286-2947 (FAX)
Comments: Gated by NETNEWS@AUVM.AMERICAN.EDU
Newsgroups: bit.listserv.sas-l
Date:         Thu, 16 Apr 1992 07:23:53 -0700
Reply-To:     Haley Kaplowitz <haley@GENE.COM>
From:         Haley Kaplowitz <haley@GENE.COM>
Subject:      sas graph greplay axis question

Hi,
   I know I've come across this problem before and somehow managed to solve
it, but I cannot seem to remember how nor can I find any old code that did
it. Anyway, we have a greplat that uses the V2 template to replay 2 graphs
per page (vertically, in portrait).  However, the axis and titles are
coming out squished, for lack of a better word.  The length statement on
the axis doesn't help, nor do hsize and vsize (and this fact is actually
logical to me...wow).  Does anyone know what fixes this problem?

Thanks alot!

Haley Kaplowitz
Genentech, Inc.

P.S. No, I didn't send 700 lines of code this time!   :-)
Newsgroups: bit.listserv.sas-l
From: jmiller@alfred.carleton.ca (Jane Miller)
Subject: SAS/GRAPH question
Summary: How to use SAS/GRAPH GCHART VBAR to chart two summary variables.
Keywords: SAS/GRAPH GCHART VBAR GROUP SUBGROUP
Organization: Carleton University
Date: Fri, 10 Apr 1992 16:42:57 GMT

I'm using the GCHART procedure and VBAR to generate a graph, grouped
by a variable named GRP. The problem is I'd like to have two summary
variables plotted RT1 and RT2.

It seems that SAS/GRAPH will only do SUBGROUP's based on another
categorical variable. It doesn't seem very sympathetic to
within-subject comparisons.

I'd like to do something like the following, only SAS/GRAPH won't let
me specify two variable names for SUMVAR.

  proc gchart data=mydata;
       format group;
       format rt1 rt2;
 
       vbar group
          / sumvar=rt1 rt2   <====== two variables plotted (Not allowed)
            type=mean
            group=grp
            maxis=axis1 raxis=axis2 gaxis=axis3
            discrete;
   run;

Does anyone know if there's a way to get SAS/GRAPH to do this?
Please email directly to me, and I'll summarize for the net.

--
Dr. Jane Miller, Carleton University, Ottawa, Canada
Email: jmiller@ccs.carleton.ca


Comments: Gated by NETNEWS@AUVM.AMERICAN.EDU
Newsgroups: bit.listserv.sas-l
Date:         Fri, 10 Apr 1992 11:57:43 EDT
Reply-To:     "F.Joseph Kelley" <JKELLEY@UGA.BITNET>
From:         "F.Joseph Kelley" <JKELLEY@UGA.BITNET>
Subject:      Re: TSO Question

The problem of braces, etc is an old one and has not been properly
addressed by IBM (unless you regard their bizzare "digraphs" and
"trigraphs" for VS Pascal and C/370 as solutions) ... XEDIT on CMS
is bad on this (if you connect through a 7171, it seems ok through
telnet). I saw a partial solution on IBM-MAIN a few years ago
which required a special terminal definition table for ISPF/PDF....
it is called by setting the "terminal type" in panel 0.1 ....
We needed this for users who wanted to work with C and Pascal
(although SAS likes these as well).  My boss wrote the table for our
CMS version of ISPF where it is called "ASCII" ... He adapted a version
for MVS (ISPF/PDF on CMS is an older version than on MVS, so he had to
alter the assembly code somewhat).  We haven't done this on MVS as there
has been no need ... but I believe that will change.  VM/CMS users who
wish to use C, etc simply set their terminal type to ASCII.  Setting "hex on"
in the PDF editor is a frustrating workaround.

One thing you might use is the CHARCODE option.  This is pretty much
like the digraphs IBM uses with Pascal.  I'm not sure what the values
are anymore.

--Joe Kelley
Newsgroups: bit.listserv.sas-l
From: stetzer@csd4.csd.uwm.edu (Frank Stetzer)
Subject: Re: DBF file types
Originator: stetzer@csd4.csd.uwm.edu
Reply-To: stetzer@csd4.csd.uwm.edu
Organization: University of Wisconsin - Milwaukee
Date: Thu, 16 Apr 1992 15:56:05 GMT

From article <92106.154735U40C2@wvnvm.wvnet.edu>, by U40C2@wvnvm.wvnet.edu:
> Is there a utility which SAS has or sombody has written to convert DBF
> type files which were written by FoxPro.  I now very little about DBF
> file types and foxPro but would like to convert the data to SAS format.
> 
> Any help would be appreciated.
=========================================================================
Do you have Perl on your machine (probably not :-( ).  I've
got a Perl script which takes a .dbf file and writes out a flat file
and the SAS input line to read it.  Might have to be modified for
different byte order.  It handles date values, shortens long variable
names to unique 8 character names, etc.

An alternative is to use SAS-PC to make a transport file.  Beware
any field names >8 characters.  SAS just truncates them and they
may not be unique.

============================================================================
Frank Stetzer                                     stetzer@convex.csd.uwm.edu
Statistical Software Coordinator                  P.O. Box 413
Computing Services Division                       Milwaukee, WI 53201
University of Wisconsin - Milwaukee               (414)-229-4571



Comments: Gated by NETNEWS@AUVM.AMERICAN.EDU
X-Delivery-Notice:  SMTP MAIL FROM does not correspond to sender.
X-Envelope-to: sas-l@uga.BITNET
X-VMS-To: IN%"sas-l@uga"
Newsgroups: bit.listserv.sas-l
Date:         Wed, 15 Apr 1992 08:03:00 EST
Reply-To:     KITTY <LOSSMAN@NIEHS.BITNET>
From:         KITTY <LOSSMAN@NIEHS.BITNET>
Subject:      county fips codes

folks,
   i am using some nchs mortality data from 1979 and 1980 and have found
that the county codes used are not fips and since i need to merge this
mortality data with census data (which does use fips codes for counties)
i am left with a large job unless someone out there has a file they have
used in the past for such conversions.   i know that these files exist
- many years ago i used one such file at alliance technologies.
  thanks in advance for your help.
respectfully,
grace lossman
Newsgroups: bit.listserv.sas-l
Subject: Re: SAS...what's that means?
From: C.B.Christie@massey.ac.nz (C.B. Christie)
Date: Wed, 15 Apr 92 01:13:06 GMT
Organization: Massey University, Palmerston North, New Zealand
Summary: SAS
X-Reader: NETNEWS/PC Version 2c



Dont believe what all the gurus in this 'religious order' may have told
you. After 1.5 years of use you are still a noviciate. But take heart,
so are many of us mortals.

Only the really enlightened have been allowed to see the deep meaning
behind  SAS. Novices are only told the virtues of being allowed to walk
in the shadow of the North Carolina Institute for mental agility, and
for the rest, we have yet to run as we Stretch And Strain.

Another novice
From: sparap@jim.mscs.mu.edu (Rodney Sparapani)
Newsgroups: bit.listserv.sas-l
Subject: Re: county fips codes
Date: 15 Apr 92 18:09:37 GMT
Article-I.D.: spool.2855
Organization: Marquette University - Department MSCS

In article <01GIVAV3P8I88ZELDI@NIEHS.BITNET> KITTY <LOSSMAN@NIEHS.BITNET> writes:
>folks,
>   i am using some nchs mortality data from 1979 and 1980 and have found
>that the county codes used are not fips and since i need to merge this
>mortality data with census data (which does use fips codes for counties)
>i am left with a large job unless someone out there has a file they have
>grace lossman


There are many different government coding schemes for state and county.
The most widely used is FIPS.  Others are SSA and BEA.  No flames please
if this is not exact, but I have worked with these other heathen coding
schemes.  There is a "Crosswalk" between the FIPS and the rest.  The
file is available from the government with the appropriate clearance
and is entitled MSABEA.TXT.  Hope this help.
--
Never cheat on a woman, they hate that.

DISCLAIMER:  If you believe this message is offensive, illegal, immoral,
or otherwise politically incorrect, then you probably get my drift.
Newsgroups: bit.listserv.sas-l
From: jmiller@alfred.carleton.ca (Jane Miller)
Subject: Re: SAS/GRAPH question
Keywords: SAS/GRAPH GCHART VBAR GROUP SUBGROUP
Organization: Carleton University
Date: Fri, 10 Apr 1992 18:53:12 GMT

In <jmiller.702924177@cunews> jmiller@alfred.carleton.ca (Jane Miller) writes:

>I'm using the GCHART procedure and VBAR to generate a graph, grouped
>by a variable named GRP. The problem is I'd like to have two summary
>variables plotted RT1 and RT2.

I just found an answer to my question in the SAS/GRAPH manual, pages
254-255. You have to recode your dataset, changing it from a
within-subject to a between-subject format:

 data new;
      set mydata;
      rt=rt1; subgrp=1; grp=grp; output;
      rt=rt2; subgrp=2; grp=grp; output;
 run;

Then add the axis and legend commands, and use the following gchart
command:

 proc gchart data=new;
      format subgrp grp;
      format rt;
      vbar   subgrp
           / sumvar=rt
             type=mean
             group=grp
             subgroup=subgrp
             legend=legend1
             maxis=axis1 raxis=axis2 gaxis=axis3
             discrete;
 run;

--
Dr. Jane Miller, Carleton University, Ottawa, Canada
Email: jmiller@ccs.carleton.ca
Subject: (no subject given)
Organization: Penn State University
Date: Monday, 6 Apr 1992 15:42:32 EDT
From: Daryl R. Hoffman <DRH4@psuvm.psu.edu>
re:  Window program in Observations
Newsgroups: bit.listserv.sas-l

>Hello Netters:
>   After reading the latest SAS Observations, I was asked to write an
>application for which I thought the SAS Macro windows might do quite
>nicely (we don't have AF or FSP anywhere here).  Anyway, I tried to go
>through the example program given in the article using the 1040EZ (which
>reminds me, I've got to do my taxes).  Anyway, the program doesn't seem
>to work, in that I only get two of the windows to appear (the first and the
>third) on a 9121 running CMS.  However, the same program works fine under
>TSO and on my NeXTstation running Mach/UNIX.
>   Can someone run the program on a CMS system and tell me if it works for
>them, or if there is some CMS trick I need to know about?  Actually, I
>suspect that this is to call SAS and see if there is a Zap, or usage note,
> but I thought I'd see what the net could come up with first.  Below I include
>the program for those who don't want to type it in, and then the SAS LOG.

I am note sure why, but when I changed the name of the window from NAME_ADD to
NAMEADD, the program executed properly.  I am running Version 6.07 of the SAS
System on VM/ESA 1.1.
Comments: Gated by NETNEWS@AUVM.AMERICAN.EDU
Organization: U. Alabama School of Nursing
Newsgroups: bit.listserv.sas-l
Date:         Mon, 13 Apr 1992 13:43:40 CDT
Reply-To:     "Michael T. Weaver, RN Ph.D." <NURS036@UABDPO.DPO.UAB.EDU>
From:         "Michael T. Weaver, RN Ph.D." <NURS036@UABDPO.DPO.UAB.EDU>
Subject:      ? generate TIFF files from SAS/GRAPH (6.04 / PC/DOS)
Comments: To: SAS Discussion List <SAS-L@ohstvma.acs.ohio-state.edu>

Version: 6.04
Platform: PC / DOS
SAS/GRAPH

At my previous worksite, we had WORDPERFECT, and I had no problems directly
generating SAS/GRAPH files & reading them into documents.

Here, however, I've got to use MS/WORD for Windows, which
(as far as I can determine) expects TIFF graphics for importing into documents.

I could not see a TIFF driver in gdevice.devices, and only found suggestions
in the SAS-L archives for using another program (like Harvard Graphics) to
translate the graphics file.

Does anyone have a metagraphics driver that produces TIFF format files, or
a point that I've missed somewhere along the way to import SAS/GRAPH
into MS/Word-Windows?

- Thanks in Advance!

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Michael T. Weaver, RN Ph.D.
U. of Alabama at Birmingham       Internet: nurs036@uabdpo.dpo.uab.edu
School of Nursing                 Bitnet  : nurs036@uabdpo
UAB Station                       Radio   : kg8h
Birmingham, AL  35294-1210        Phone   : (205) 934-6913
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Comments: Gated by NETNEWS@AUVM.AMERICAN.EDU