1. Announcement:
    Want access to a chatbox?
    Dason ‎(Devorador de queso)
    05-10-2017
    Views:
    2,807
+ Post New Thread
Page 12 of 22 FirstFirst 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 LastLast
Threads 661 to 720 of 1298

Forum: SAS

SAS usage and programming. SAS/Base, SAS/Stat, proc sql, SAS macro...

  1. Sticky Thread Sticky: Share your SAS tips

    Since SAS isn't as reliant on UDFs as much as R is, I thought a thread on tips/useful gems hidden in SAS documentation/stuff you learned would be...

    Started by Janus‎, 11-18-2012 12:34 AM
    2 Pages
    1 2
    • Replies: 22
    • Views: 28,840
    06-26-2015, 10:17 AM Go to last post
  1. Renaming multiple SAS filename

    I have many SAS filename that I wish to rename. For instance, I have over 25 sas datasets named Trades_28sep2008.sas7bdat Trades_29sep2008.sas7bdat...

    Started by Plug‎, 05-18-2012 12:14 AM
    • Replies: 0
    • Views: 1,850
    05-18-2012, 12:14 AM Go to last post
  2. Question Milliseconds into hour+ minute in SAS - having problems!

    I would like to transform a informat in milliseconds into hours and minutes. My data that is timestamped in milliseconds starts from midnight (of...

    Started by Plug‎, 05-08-2012 10:46 PM
    milliseconds time
    • Replies: 3
    • Views: 6,000
    05-18-2012, 12:06 AM Go to last post
  3. Recode variable entires

    Hi all again, I have the following dataset. DATA DEMOG; INPUT WEIGHT HEIGHT GENDER $; DATALINES; 155 68 M 98 60 F 202 72 M 280 75 M

    Started by pickslides‎, 05-17-2012 07:39 PM
    • Replies: 0
    • Views: 1,627
    05-17-2012, 07:39 PM Go to last post
  4. Chi square test

    Hi all I have the following information. Victoria 2002 2003 2004 Live Births ...

    Started by pickslides‎, 05-16-2012 05:40 PM
    • Replies: 8
    • Views: 3,566
    05-17-2012, 04:01 PM Go to last post
  5. Box Cox transformations Enterprise Guide

    I know few use that here, but what the heck:cool: Anyone know if EG will do box cox transformations? I know regular SAS does.

    Started by noetsi‎, 05-17-2012 02:25 PM
    • Replies: 1
    • Views: 3,458
    05-17-2012, 02:28 PM Go to last post
  6. Need help with basic SAS code

    Hi I am very new to SAS. Could you help me how I can solve this? My dataset has one column with student grade from 1-10. Based on this I have to...

    Started by Sas_new123‎, 05-09-2012 11:20 AM
    • Replies: 3
    • Views: 2,976
    05-10-2012, 07:06 PM Go to last post
  7. SAS complex sorting and exclusion

    I am given the following input for a dataset DATA BLOOD; LENGTH GROUP $ 1; INPUT ID GROUP $ TIME WBC RBC @@; DATALINES; 1 A 1 8000 4.5 1 A 2...

    Started by pickslides‎, 05-09-2012 05:59 PM
    • Replies: 1
    • Views: 1,397
    05-10-2012, 12:05 PM Go to last post
  8. Simple operations on a data set

    I gave the following data DATA Data_1; INPUT ID AGE Gender GPA CSCORE ; DATALINES; 1 18 M 3.7 650 2 18 F 2.0 490 3 19 F 3.3 580 4 23 M...

    Started by pickslides‎, 05-08-2012 05:58 PM
    • Replies: 7
    • Views: 3,232
    05-09-2012, 12:40 PM Go to last post
  9. Angry Help with cleaning up data set

    I am working with an interesting data set, however I am having difficulty cleaning it up due to certain imported formatting issues I am encountering....

    Started by slivingston‎, 05-07-2012 01:00 PM
    • Replies: 1
    • Views: 2,914
    05-07-2012, 04:15 PM Go to last post
  10. How to remove blanks and other stuff?

    Hi All, My name is Dilshad and I am trying to do the following with the code, and it seems I am having difficulty removing blanks in a...

    Started by Dilshad‎, 04-24-2012 07:57 AM
    • Replies: 5
    • Views: 3,988
    05-07-2012, 08:25 AM Go to last post
  11. On constructing 95% confidence ellipses for bivariate data in SAS - help!!

    Hi guys! I would very much like to plot / sketch / graph a 95% confidence ellipse using base SAS for a small data set I have, of size 9. I'm...

    Started by scrofungulus4‎, 04-28-2012 04:20 AM
    confidence, ellipse, interval, region, sas
    • Replies: 5
    • Views: 5,652
    05-07-2012, 08:15 AM Go to last post
  12. Dropping missing values.

    Hello, i have problem with dropping missing values. I were trying to use examples from SAS documentation, %dropmiss macro and generally everything...

    Started by bzykubd‎, 05-06-2012 03:45 AM
    • Replies: 5
    • Views: 5,112
    05-06-2012, 12:39 PM Go to last post
  13. Arrays and dates

    Hi! I have data in wide format Visit1, Visit2, ... , Visit200 that represents the dates that a student visited a health clinic. Every student has...

    Started by jamesmartinn‎, 05-04-2012 09:29 AM
    • Replies: 3
    • Views: 2,517
    05-04-2012, 10:48 AM Go to last post
  14. Lightbulb help with programming

    Hi I need help with programming. I have 2 different data sets with a long list of words. The first data set consist about 100.000 observations...

    Started by belling‎, 04-25-2012 05:36 AM
    • Replies: 11
    • Views: 3,879
    05-04-2012, 01:58 AM Go to last post
  15. 1-322: Assuming the symbol DATAROW was misspelled as datarows.

    wierd... i keep getting a warning even though i spell it right proc import datafile="C:\Users\George\Downloads\Extracts\FM593MO3T DRUG LIST...

    Started by geosun‎, 05-03-2012 07:02 PM
    • Replies: 4
    • Views: 5,590
    05-03-2012, 07:41 PM Go to last post
  16. Null is uninitialized

    What does that mean? All the nulls should be like this. value3=null; This is the msg I got NOTE: Variable null is uninitialized. Is it...

    Started by Janoose‎, 05-03-2012 09:46 AM
    • Replies: 4
    • Views: 2,569
    05-03-2012, 01:46 PM Go to last post
  17. SAS file variables with diff data types

    File is imported and the data type changed from char to numeric Actual data in file : Acct_Num 0001234567 0012345678 after import it to sas it...

    Started by sri‎, 05-02-2012 02:35 PM
    • Replies: 1
    • Views: 2,459
    05-02-2012, 03:35 PM Go to last post
  18. Call SAS program located in a different file

    Is there a way to call a SAS PROC located in a different file? For example, let's say I have the following code saved as a file called SAS1: proc...

    Started by lancearmstrong1313‎, 05-02-2012 11:18 AM
    • Replies: 1
    • Views: 2,029
    05-02-2012, 11:38 AM Go to last post
  19. Proc report

    First off, ignore all of the ..... - I just used them to help with spacing. I need some help creating a proc report output. Sorry I don't know how...

    Started by lancearmstrong1313‎, 04-30-2012 08:59 AM
    • Replies: 0
    • Views: 1,323
    04-30-2012, 08:59 AM Go to last post
  20. 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...

    Started by shel1234‎, 04-28-2012 06:09 PM
    help needed, sas program
    • Replies: 9
    • Views: 2,819
    04-29-2012, 06:40 PM Go to last post
  21. Calculating Scope of Numbers

    I have a dataset that looks something like the below: I need to find the minrate and maxrate for each state so I can calculate the scope. I...

    Started by JustSomeGuy‎, 04-28-2012 07:28 PM
    • Replies: 2
    • Views: 1,550
    04-29-2012, 01:26 PM Go to last post
  22. one big problem

    I have a data file extracted from an oracle data base but they seriously ****ed with it and I can't get it back to the original form. Here's a...

    Started by geosun‎, 04-27-2012 01:17 PM
    • Replies: 2
    • Views: 1,999
    04-28-2012, 04:16 PM Go to last post
  23. Proc Logistics - More decimals in Parameter Estimates, how?

    I've search for hours on this issue. I use Proc Logistics and only want more decimals in the Output (Parameter Estimates). How can this be...

    Started by inspire‎, 04-25-2012 03:25 AM
    • Replies: 2
    • Views: 4,149
    04-27-2012, 06:29 AM Go to last post
  24. Proc report

    I have a data set and one variable gives the dates a subject went to a hospital for a given week. For instance, it may look something like this: ...

    Started by lancearmstrong1313‎, 04-18-2012 04:18 PM
    • Replies: 7
    • Views: 2,727
    04-26-2012, 08:27 PM Go to last post
  25. Non-Inferiority Test for 2 proportions PROC POWER

    I need to do an equivalency test to determine if 2 proportions are equal but I'm not sure how to do it in PROC POWER? P1=.50 P2=.50 Alpha=.05...

    Started by suzyQ‎, 04-23-2012 11:45 AM
    • Replies: 1
    • Views: 6,930
    04-23-2012, 02:55 PM Go to last post
  26. Smile Clustering Zip Codes

    I have an assigment to build zip code clusters in cities all across the U.S. I don't have a set number of clusters I need for each city, so for...

    Started by PMaz‎, 04-22-2012 09:44 PM
    • Replies: 1
    • Views: 6,495
    04-23-2012, 09:51 AM Go to last post
  27. SAS User Defined Format

    I am trying to create user defined numeric format myfmt as shown below: libname mylib 'C:\Users\Public'; proc format lib = mylib; value myfmt...

    Started by arora.vinay‎, 04-21-2012 06:51 AM
    • Replies: 1
    • Views: 3,401
    04-22-2012, 12:41 AM Go to last post
  28. Generating Random Sample

    I know that SAS can easily generate random samples for know distributions - normal, exponential, uniform. But how can I generate a random sample from...

    Started by sandeep249‎, 04-18-2012 10:46 PM
    density function, numbers, probability, random
    • Replies: 1
    • Views: 1,437
    04-20-2012, 01:01 PM Go to last post
  29. Eliminating numeric characters from string

    Hello, I have a variable containing a variety of merchants and at the end of some I have some numbers of varying length: Best Buy Best Buy ...

    Started by PMaz‎, 04-17-2012 08:26 AM
    • Replies: 1
    • Views: 1,291
    04-17-2012, 10:35 PM Go to last post
  30. SAS ODS Converting data to a report.

    I need to write a SAS program that converts the SELECTED SOCIAL CHARACTERISTICS IN THE UNITED STATES more information 2006-2010 American...

    Started by BFG42‎, 04-17-2012 02:32 PM
    • Replies: 0
    • Views: 1,950
    04-17-2012, 02:32 PM Go to last post
  31. Choosing first few digits of the numeric variable

    Hi, Hi, I have 9 digit numeric variable like 121212120. The last digit is not necessary so that I want to eliminate them and only have...

    Started by jb2755‎, 04-12-2012 12:24 PM
    • Replies: 1
    • Views: 4,632
    04-17-2012, 03:12 AM Go to last post
  32. Help Please

    Hello All, I am trying to fix a error code but it seems no matter what I do, it still does not fix the problem. Here is what the code is: ...

    Started by Dilshad‎, 04-16-2012 12:33 PM
    • Replies: 0
    • Views: 2,318
    04-16-2012, 12:33 PM Go to last post
  33. proc corresp and proc cluster

    Hi, I am doing correspondence analysis and following that a cluster analysis. I did correspondence analysis using corresp command and after that i...

    Started by economit‎, 04-13-2012 07:36 AM
    • Replies: 0
    • Views: 3,257
    04-13-2012, 07:36 AM Go to last post
  34. SAS multidimensional loop

    I am trying to compute using two loops. But I am not very familiar with loop elements. Here is my data: data try; input rs t a b c; ...

    Started by kmon‎, 04-11-2012 02:02 PM
    sas loop
    • Replies: 1
    • Views: 2,360
    04-12-2012, 07:28 AM Go to last post
  35. Question need help with programming

    Hi I need help with programming. My data is looks like this Id date medcod 1 29/01/2001 C10AA01 1 29/01/2001 J05AE03 1 27/01/2001 N06AA04 1...

    Started by dinsya‎, 04-04-2012 09:20 AM
    • Replies: 2
    • Views: 2,111
    04-11-2012, 09:37 AM Go to last post
  36. output of proc corr in SAS

    How can I get the level of significance for my output for proc corr in sas appearing as asterisks(*,** and *** for p<0.05,p<0.01 and p<0.001...

    Started by Maxwell Asante‎, 04-10-2012 07:29 PM
    • Replies: 0
    • Views: 4,286
    04-10-2012, 07:29 PM Go to last post
  37. Proc GPlot Question

    I am using the syntax below, but the two graphs are not formatted the same. In particular, they X-axis for the two different graphs do not show the...

    Started by hlsmith‎, 04-10-2012 09:21 AM
    • Replies: 1
    • Views: 2,206
    04-10-2012, 10:23 AM Go to last post
  38. Help with Proc LIFETEST multiple comparison test results

    Can someone help me understand why my PROC LIFETEST results for multiple comparison tests are all significant given the Kaplan-Meier curves (in...

    Started by mostater‎, 04-09-2012 03:27 PM
    • Replies: 0
    • Views: 2,655
    04-09-2012, 03:27 PM Go to last post
  39. Graphing question (proc gplot)

    I know that in proc gplot I can use a plot2 option to essentially create a 2nd vertical axis. What if I want to create a 2nd horizontal axis...

    Started by lancearmstrong1313‎, 04-08-2012 05:53 PM
    • Replies: 0
    • Views: 1,669
    04-08-2012, 05:53 PM Go to last post
  40. Array Question

    So I have this data (here is a quick example of how it was given to me): Subject Time1 Time2 Time3 Time4 Time5 Time6 Time7 Time8 Time9 Time10 ...

    Started by lancearmstrong1313‎, 04-07-2012 11:46 AM
    • Replies: 4
    • Views: 2,026
    04-07-2012, 10:31 PM Go to last post
  41. selecting observations/ creating new dataset!

    Hi all :wave: I want to create a new dataset from datasets X and Y. Y is a subset of X. I want the new dataset to have all observations from Y...

    Started by praj‎, 04-05-2012 02:29 PM
    • Replies: 3
    • Views: 1,784
    04-06-2012, 01:39 AM Go to last post
  42. Question GARCH output basic question

    This is likely an absurdly basic question, but how are the parameter estimates in a GARCH(1,1) model interpreted...specifically the AR1, AR2, ARCH0,...

    Started by jacobkreider‎, 04-05-2012 04:54 PM
    garch, interpretation, sas
    • Replies: 2
    • Views: 6,099
    04-05-2012, 11:06 PM Go to last post
  43. if(1+ numerical variable)

    if (1+retrf3)*(1+retrf2)*(1+retrf1)-1>=0 then perf1 = retrf; else perf1 =-retrf; Hi, retrf = 1.051039159 and retrf3,retrf2,retrf1 has no...

    Started by victorycountry‎, 04-05-2012 01:59 AM
    • Replies: 2
    • Views: 2,224
    04-05-2012, 03:51 AM Go to last post
  44. SAS, grouping from latest month by 3 points moving back in time.

    Hi, Can someone help me. I'm trying to group my dataset using sums of 3 months, starting point being the latest month going backwork.creating a...

    Started by Thando03‎, 04-04-2012 09:16 AM
    • Replies: 0
    • Views: 2,372
    04-04-2012, 09:16 AM Go to last post
  45. restructuring SAS dataset

    Hi all, I am trying to restructure a SAS dataset which is in long format (single observation per subject). Column 1: patient name Column 2: date...

    Started by praj‎, 04-02-2012 02:01 PM
    • Replies: 2
    • Views: 1,940
    04-02-2012, 04:35 PM Go to last post
  46. Array problem

    Hello all! :wave: Thanks for any help you might have. I've got a dataset with repeated measures for each medical ICD-9 code, and I need to make...

    Started by AKG‎, 05-24-2011 01:36 PM
    array, repeated, sas
    • Replies: 8
    • Views: 3,743
    04-02-2012, 10:22 AM Go to last post
  47. Searching strings from right

    Another simple problem holding up a long analysis... I have a field that sometimes has 6 digits and sometimes 7 (because when they ran the...

    Started by noetsi‎, 03-31-2012 10:20 PM
    • Replies: 7
    • Views: 2,460
    04-01-2012, 11:23 PM Go to last post
  48. CDPS Chronic Disease Payment System Code from UCSD

    Is anyone working with this code that can answer some questions about the order of the code and why the code may run but no output data sets or...

    Started by diva_di_data‎, 03-29-2012 08:25 AM
    • Replies: 3
    • Views: 5,549
    03-29-2012, 07:11 PM Go to last post
  49. Never posted before- panel data question

    Hello all, I am trying to produce the within, between, and overall R-squared for four regressions from one data set- using PROC PANEL with /ranone,...

    Started by nobiggie‎, 03-18-2012 07:32 PM
    • Replies: 3
    • Views: 2,020
    03-28-2012, 02:08 AM Go to last post
  50. Looking at Progression patterns in SAS

    Hi All, I am wondering if someone might be able to advise me on the best method of looking at the progression of athletes over time. For example I...

    Started by aDOYLE‎, 03-23-2012 04:28 AM
    • Replies: 3
    • Views: 1,672
    03-28-2012, 01:28 AM Go to last post
  51. Equation

    Dear members, I have the following equation I want to wite it in SAS, and I am having some trouble, can anybody help: The risk can be calculated...

    Started by Hani Tamim‎, 03-27-2012 03:05 PM
    • Replies: 1
    • Views: 1,555
    03-28-2012, 01:26 AM Go to last post
  52. SAS base/server to SAS Eminer

    Hi everyone--I have models written in SAS server environment and want to convert code to EMiner--if there an easy way to do this?? Best regards...

    Started by hmanhertz‎, 03-27-2012 06:13 PM
    • Replies: 0
    • Views: 2,099
    03-27-2012, 06:13 PM Go to last post
  53. merging datasets

    Hi, I hope you can help me with my problem. I think it's not too difficult to solve but I have no idea what I could do. I have two datasets....

    Started by Ginaya‎, 03-22-2012 10:02 AM
    • Replies: 2
    • Views: 1,498
    03-26-2012, 01:08 AM Go to last post
  54. Calculating percentages with PROC REPORT

    proc report data=service_table out=outstndings_status missing headline; columns serv_month stat_cat nte01t_note_cpb rate count; define...

    Started by greg6363‎, 03-23-2012 12:53 PM
    • Replies: 0
    • Views: 1,858
    03-23-2012, 12:53 PM Go to last post
  55. Beyond first. last.

    Hi, I'm going to be working with some data soon that will be in long format. There will be multiple observations per ID. In particular, one...

    Started by jamesmartinn‎, 03-14-2012 03:08 PM
    • Replies: 1
    • Views: 2,389
    03-23-2012, 12:46 PM Go to last post
  56. PROC REPORT formatting question

    I wrote this proc report code in the attempt to produce a single page report but my output is ending up on two pages. I have 8 columns but when I...

    Started by greg6363‎, 03-22-2012 04:01 PM
    • Replies: 0
    • Views: 1,808
    03-22-2012, 04:01 PM Go to last post
  57. Sas Enterprise guide 4.2 error "No Connection to local server" help

    I am using Sas enterprise guide 4.2 and SAS 9.2 but I have a problem connecting to the local server in the Sas enterprise guide 4.2 thus it give me...

    Started by dockiss‎, 03-22-2012 06:14 AM
    • Replies: 0
    • Views: 7,986
    03-22-2012, 06:14 AM Go to last post
  58. do while and do until LOOPS

    I have a set of 10 survey questions completed by 5 subjects. Each question can have a response from 1 to 5. I need to write an array that uses...

    Started by lancearmstrong1313‎, 03-17-2012 10:33 AM
    • Replies: 1
    • Views: 1,909
    03-21-2012, 10:38 AM Go to last post
  59. Array Variable Names

    Sorry, another array question. I have some data: data test; input X Y Z; cards; 1 2 3 4 5 6 7 8 9

    Started by lancearmstrong1313‎, 03-17-2012 03:48 PM
    • Replies: 1
    • Views: 1,579
    03-21-2012, 10:31 AM Go to last post
  60. Real basic SAS question.

    I know I am going to be really embarassed when I get the answer....:shakehead I ran this query first (the count variable is how often someone hit...

    Started by noetsi‎, 02-29-2012 09:31 PM
    • Replies: 10
    • Views: 3,591
    03-19-2012, 08:21 PM Go to last post

+ Post New Thread
Page 12 of 22 FirstFirst 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 LastLast

Thread Display Options

Use this control to limit the display of threads to those newer than the specified time frame.

Allows you to choose the data by which the thread list will be sorted.

Order threads in...

Note: when sorting by date, 'descending order' will show the newest results first.

Icon Legend

Contains unread posts
Contains unread posts
Contains no unread posts
Contains no unread posts
More than 15 replies or 300 views
Hot thread with unread posts
More than 15 replies or 300 views
Hot thread with no unread posts
Closed Thread
Thread is closed
Thread Contains a Message Written By You
You have posted in this thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts






Advertise on Talk Stats