Search results

  1. S

    Pricing Format Help Needed

    Hello. I have two numeric variables that are prices: package_price & unit_price. Package_price is 8 bytes wide and of the 8 spaces, the first 6 digits are the dollar amounts, decimal point, and the last 2 digits are the cents. Unit_price is 11 bytes wide and of the 11 spaces, the first 6...
  2. S

    Any way to read in a SAS dataset WITH an external format/catalog library?

    Hi, I posted this to the SAS forum as well. I have a large SAS dataset (v9.3) that carries a SAS format catalog/library (as a separate file). Is there any way to import the dataset with the formats (which is the SAS term for value labels here)? I am using Stata (v11/MP). The data moves...
  3. S

    How to move a SAS dataset with formats (stored in a sas7bcat library) to Stata ??

    Hi, How can I move a SAS dataset (all numeric variables) with formats (manually defined for 470 variables and saved within a SAS library file) to Stata ?? SAS Institute sent me this super-complex program called the "Autoformatter" and it just doesn't work. Even my trusty Stat/Transfer won't...
  4. S

    Need help with generating a line graph using means

    I'm new to Stata and using Stata's plotting function. I am in a fast hurry to generate a line graph as shown below. I have 6 time vars (numkidsintime1 ... numkidsintime6) and a var for agecategory (to be used as the by var). I need to generate: -- mean, sd, min max of each...
  5. S

    SAS programming help needed please!

    Hi, I am writing a SAS program that has too many IF THEN statements and it is getting overwhelmingly complicated. I am working with ages and placement of number of kids into "age buckets". Can you please take a look and try to figure out how to help with this (maybe with an array or a...