1. 10-14-2010
    Views:
    19,990
+ Post New Thread
Page 1 of 20 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 LastLast
Threads 1 to 60 of 1144

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-17-2012 11:34 PM
    2 Pages
    1 2
    • Replies: 19
    • Views: 5,039
    06-02-2014, 11:08 AM Go to last post
  1. Help plz proc_format

    Hi everyvody, I'm working with an alphanumeric variable, I applied a frequence proc on it and I want to know how to make a format function to...

    Started by Ihssanee‎, Yesterday 05:37 AM
    • Replies: 1
    • Views: 57
    Yesterday, 07:45 AM Go to last post
  2. MACRO variable inside MACRO

    I'm curious why the following code does not work: %LET mbr_list=1,2,3,4,5; %MACRO mbr_loop(mbr_values); %let...

    Started by lancearmstrong1313‎, 03-24-2015 02:33 PM
    • Replies: 3
    • Views: 130
    03-25-2015, 06:13 AM Go to last post
  3. Proc calis

    Anyone know a good source for learning to use this (I don't find SAS documentation particularly good for the first time you use a PROC). I need to...

    Started by noetsi‎, 03-23-2015 11:24 AM
    • Replies: 2
    • Views: 96
    03-23-2015, 02:07 PM Go to last post
  4. SAS 9.4: PROC IMPORT for .xlsx (what happened to F1, F2, F3, ...?)

    I am not liking SAS 9.4, wish I could stay with 9.2. Anyone have a workaround for these problems? Background on my .xlsx: column headings start...

    Started by Mean Joe‎, 03-16-2015 05:40 PM
    • Replies: 4
    • Views: 216
    03-23-2015, 11:19 AM Go to last post
  5. Using Proc Glimmix or NLMIXED

    Using proc glimmix

    Started by anne747‎, 03-12-2015 03:30 PM
    • Replies: 1
    • Views: 239
    03-18-2015, 06:46 AM Go to last post
  6. Extracting/Selecting observations of the last 20 mins of a SAS data set

    Hey guys, I hope anyone can help me on this. I have a data set, which is continuously updated. For each observation, I have the time and date...

    Started by plnc‎, 03-10-2015 06:25 PM
    • Replies: 4
    • Views: 342
    03-13-2015, 10:25 AM Go to last post
  7. Graphics in PROC GLIMMIX

    Hello, I'm looking to add graphs in SAS using PROC GLIMMIX. I've tried the statement: ods graphics on; before my programming statement...

    Started by compassion83‎, 04-14-2014 07:35 PM
    • Replies: 2
    • Views: 453
    03-09-2015, 06:58 PM Go to last post
  8. How to read a .wpd file inot sas data set?

    Hi, I am unable to read a .wpd (WPS) file into sas data set. Suppose there is a file Employee_Details.wpd stored at location z\:... Can I...

    Started by Shashank Prasad‎, 06-17-2014 06:18 AM
    • Replies: 1
    • Views: 640
    03-06-2015, 08:15 AM Go to last post
  9. Poissonness plot

    This is essentially the equivalent of a QQ plot for Poisson distribution, which can not use QQ plots since the distribution is of discrete data....

    Started by noetsi‎, 01-29-2015 08:08 AM
    2 Pages
    1 2
    • Replies: 15
    • Views: 578
    03-02-2015, 05:00 PM Go to last post
  10. Question Quick way to sum?

    I'm having trouble figuring out how to pick out the pieces of data that I need to then sum those pieces. So I have 3 areas ('east', 'west', and...

    Started by wernie07‎, 02-18-2015 04:00 AM
    • Replies: 5
    • Views: 323
    02-25-2015, 03:25 AM Go to last post
  11. SAS University Edition won't let me upload a large file

    Hi, I am doing a project for work with de-idenitifed secondary NHANES data. I have a .dat file and the SAS code for opening and labeling it. I...

    Started by alanend‎, 02-18-2015 10:08 AM
    • Replies: 4
    • Views: 274
    02-19-2015, 07:43 AM Go to last post
  12. Cool Performing multiple t-tests on different variables between the same two groups

    Hey everyone I would like to perform multiple t test on different variables ( let's say A B C D E ) in two different groups ( 1 2 ) and test if...

    Started by morgano‎, 02-17-2015 04:51 PM
    r help, sas data manipulation, ttest
    • Replies: 0
    • Views: 187
    02-17-2015, 04:51 PM Go to last post
  13. DO LOOP Creates a new variable that is the index I am using

    Hi, Sorry if this is a basic question but I have not been able to find a solution/answer. I am using a do loop with an array to process some...

    Started by Mike5‎, 02-12-2015 11:18 AM
    • Replies: 3
    • Views: 293
    02-12-2015, 01:25 PM Go to last post
  14. 4 categorical variables and 1 continuous varible (indep) analysis

    What stat analyses would be adviceble to run if you want to anayse the effects of 4 categorical variables on 1 continuous variable (indep)? var1 =...

    Started by vestllink‎, 02-10-2015 03:47 AM
    • Replies: 0
    • Views: 197
    02-10-2015, 03:47 AM Go to last post
  15. Specifying one age group? Proc genmod

    I'm trying to run a negative binomial (or poisson if it's saturated) model and have area and period as the class variables. I want to check if my...

    Started by wernie07‎, 02-03-2015 09:00 PM
    • Replies: 6
    • Views: 391
    02-04-2015, 09:43 PM Go to last post
  16. Interpreting proc genmod output

    I have hospitalization data (nsum) over a 17 year period for 3 different study areas (variables period and area). I have the log of the population as...

    Started by wernie07‎, 01-30-2015 08:33 PM
    • Replies: 0
    • Views: 242
    01-30-2015, 08:33 PM Go to last post
  17. Create excel sheet (from SAS) with Data Validation Options

    Hopefully this makes sense: So in excel you can use the Data Validation tool to create drop down lists to essentially force a user to have to...

    Started by lancearmstrong1313‎, 01-29-2015 08:46 AM
    • Replies: 1
    • Views: 185
    01-29-2015, 10:00 AM Go to last post
  18. Repeated Measures Nested Model in PROC Mixed?

    Hello, I'm looking for help analyzing data. Here's the experimental setup: 12 experimental plots, divided into 3 blocks. Each block...

    Started by MikeS‎, 01-29-2015 08:23 AM
    nested anova, proc mixed, repeated measures
    • Replies: 0
    • Views: 159
    01-29-2015, 08:23 AM Go to last post
  19. Negative binomial model - saturated?

    I am trying to run a model for cases (n) to see if area, period, and area*period are significant predictors. I am really only interested in the...

    Started by wernie07‎, 01-07-2015 04:40 PM
    • Replies: 2
    • Views: 388
    01-22-2015, 06:30 PM Go to last post
  20. interpretation for %DFTEST results

    Hello, I need to interpret the results of this macro %DFTEST: proc print data=sashelp.air;run; %dftest(sashelp.air, air, ar=1, dif=(1),...

    Started by Lubomir‎, 01-20-2015 11:42 AM
    %dftest, dftest, dickey fuller test, non-stationarity, stationarity
    • Replies: 0
    • Views: 197
    01-20-2015, 11:42 AM Go to last post
  21. SAS proceedings

    This is a gold mine both for stats, and other areas, and coding. I have only gone to the 2010 and 2014 sites and I have five pages of links that I...

    Started by noetsi‎, 01-13-2015 12:12 PM
    • Replies: 0
    • Views: 213
    01-13-2015, 12:12 PM Go to last post
  22. R and SAS book

    Anyone read this? It sounds interesting. http://sas-and-r.blogspot.com/2010/03/example-730-simulate-censored-survival.html I think this...

    Started by noetsi‎, 01-12-2015 02:48 PM
    • Replies: 0
    • Views: 359
    01-12-2015, 02:48 PM Go to last post
  23. Problems with matched sampling using SAS

    Hi, I tried to find matched control matches to multiple variables: 1) age +/- 10 years and 2) diabetes I used the codes as shown below...

    Started by biscodyl‎, 01-12-2015 06:08 AM
    matched controls, matched variables, matching
    • Replies: 1
    • Views: 361
    01-12-2015, 09:51 AM Go to last post
  24. Generating distributions for all variables in a data set.

    This is fairly simple, but I figured others might find this of value. https://communities.sas.com/thread/64329

    Started by noetsi‎, 01-08-2015 11:20 AM
    • Replies: 0
    • Views: 330
    01-08-2015, 11:20 AM Go to last post
  25. Question Summing observations for two different variables by two variables

    Hi, I have a data set that contains the variables: age sex n pop area period. So the initial dataset looks something like this: sex ...

    Started by wernie07‎, 01-03-2015 04:40 PM
    • Replies: 3
    • Views: 348
    01-07-2015, 05:41 PM Go to last post
  26. Case sensitivity

    I spent several hours today trying to figure out why code I was running was not working. I got no error messages, but there were no results from a...

    Started by noetsi‎, 01-05-2015 04:44 PM
    • Replies: 4
    • Views: 325
    01-06-2015, 02:22 PM Go to last post
  27. FedSQL

    I have never heard of this before, but it has some amazing functions . Apparently this just became available in Base Sas in the 9.4 release. I do not...

    Started by noetsi‎, 01-06-2015 10:17 AM
    • Replies: 0
    • Views: 201
    01-06-2015, 10:17 AM Go to last post
  28. Sgplot

    I am running PROC SGPLOT and getting the error ERROR: Procedure SQPLOT not found Which usually means you don't have that product. But the...

    Started by noetsi‎, 01-02-2015 03:50 PM
    • Replies: 3
    • Views: 353
    01-02-2015, 06:03 PM Go to last post
  29. Comparing data to a theoretical discrete distribution

    With continuous data you can test if your data meets a theoretical distribution with a QQ plot. However, SAS won't generate these for discrete...

    Started by noetsi‎, 12-29-2014 10:44 AM
    2 Pages
    1 2
    poisson
    • Replies: 18
    • Views: 631
    12-30-2014, 09:15 AM Go to last post
  30. [SOLVED] Problem with RAND code

    I am running this code (which should work and is pretty basic). %let N=10000; Data normal (keep=x); Call streaminit(4321); mu=0; sigma=1; Do...

    Started by noetsi‎, 12-22-2014 11:11 AM
    • Replies: 10
    • Views: 524
    12-29-2014, 10:38 AM Go to last post
  31. Plotting 2 x-axes which correctly "line up" using PROC SGPLOT

    I'm familiar with how to plot two difference x-axes in PROC SGPLOT, but it seems that, by default, for a given observation, values on one x-axis...

    Started by Disvengeance‎, 12-16-2014 08:49 PM
    • Replies: 10
    • Views: 599
    12-19-2014, 11:32 AM Go to last post
  32. SAS is better than R :)

    http://www.google.com/url?sa=t&rct=j&q=&esrc=s&frm=1&source=web&cd=11&ved=0CB0QFjAAOAo&url=http%3A%2F%2Fwww.researchgate.net%2Fpublication%2F49592431_...

    Started by noetsi‎, 12-16-2014 12:12 PM
    2 Pages
    1 2
    • Replies: 18
    • Views: 556
    12-17-2014, 02:24 AM Go to last post
  33. Do Loop with IF in Macro

    Hi, I've been struggling with a do loop in SAS and would be grateful for any assistance. This is the data I have: data have; input...

    Started by Mike5‎, 12-16-2014 10:49 AM
    %do, %if, loop, macro
    • Replies: 2
    • Views: 202
    12-16-2014, 07:11 PM Go to last post
  34. Overlay Histogram and Regression plot

    I'd like to overlay a histogram and plot of regression predictions with confidence bands, such as the figure I've attached (from Rayman MP Lancet....

    Started by Disvengeance‎, 12-12-2014 12:25 PM
    • Replies: 5
    • Views: 408
    12-13-2014, 10:12 PM Go to last post
  35. Simulations in SAS and R

    http://wuss.org/Proceedings13/128_Paper.pdf

    Started by noetsi‎, 12-09-2014 02:28 PM
    2 Pages
    1 2
    • Replies: 21
    • Views: 620
    12-10-2014, 12:52 PM Go to last post
  36. Proc surveylogistic

    Hello everyone. I am trying to make some analysis on survey data. I am working with the procedure SURVEYLOGISTIC where I am using also survey...

    Started by Zuzana‎, 12-03-2014 02:55 AM
    • Replies: 10
    • Views: 645
    12-05-2014, 06:38 PM Go to last post
  37. Cummulative Number

    Hi I am having trouble with cummulating by group. I tried to get the samples online but I kept getting an error message saying "By variable not...

    Started by Janoose‎, 11-24-2014 03:33 PM
    • Replies: 0
    • Views: 333
    11-24-2014, 03:33 PM Go to last post
  38. proc genmod/inverse gaussian

    Hello everyone, By estimating the count data (number of claims per insured) with an inverse Gaussian distribution by the GENMOD procedure SAS,...

    Started by nassima‎, 11-23-2014 02:22 PM
    poisson, tweedie distribution
    • Replies: 3
    • Views: 398
    11-23-2014, 03:32 PM Go to last post
  39. random number generator

    anyone know how to replicate random numbers that were generated in 9.2, using 9.3?

    Started by emancha‎, 11-21-2014 02:24 PM
    • Replies: 2
    • Views: 336
    11-21-2014, 09:16 PM Go to last post
  40. How to calculate Log Hazard Ratio in SAS

    proc phreg data = analysis ; class c diabetes /descending; model days*ind(0) = c diabetes id/ rl ; id= c *diabetes; hazardratio id; run; I am...

    Started by sandeep249‎, 11-04-2014 07:47 PM
    cox proportional hazard, phreg, sas, survival analysis
    • Replies: 6
    • Views: 598
    11-06-2014, 05:07 PM Go to last post
  41. Question Eigenvectors of SSE^-1*SSH

    I'm in my Multivariate Analysis class and I'm having a few difficulties with coding in SAS. Would anyone be able to point me in the right...

    Started by GaStatGuy‎, 11-02-2014 02:15 PM
    eigenvector, multivariate, proc iml
    • Replies: 0
    • Views: 98
    11-02-2014, 02:15 PM Go to last post
  42. SAS code

    Hello, I am trying to replicate this SAS code in STATA. I understand most of the commands, but I would like to know what org(upc) means. Is it...

    Started by jsaldain‎, 09-23-2014 10:41 AM
    nested
    • Replies: 8
    • Views: 912
    10-28-2014, 10:26 PM Go to last post
  43. Learning macros

    I am not awesome in code and am painfully learning SAS macros. Anyone know a easy, starting level source for this?

    Started by noetsi‎, 10-24-2014 09:51 AM
    • Replies: 2
    • Views: 369
    10-24-2014, 10:55 AM Go to last post
  44. SAS to STATA

    I am trying to replicate the following SAS code in STATA, using command xtmixed. Although I understand most of the SAS code, I am not entirely...

    Started by jsaldain‎, 10-23-2014 11:13 PM
    • Replies: 0
    • Views: 275
    10-23-2014, 11:13 PM Go to last post
  45. Exclamation Selecting Specific Entries

    Dear SAS Users, Hello SAS Users...I have two columns an sample of which is shown below.... ID NUMBER 35 ...

    Started by vradhak7‎, 10-23-2014 09:16 PM
    sas, sas data manipulation, sas enterprose guide, sas macro
    • Replies: 0
    • Views: 223
    10-23-2014, 09:16 PM Go to last post
  46. One sample t tes with aggregate data.

    I have found out how to do a two sample t test with aggregated data, but I can't seem to find how to do this with a one sample t test.

    Started by noetsi‎, 10-14-2014 12:50 PM
    • Replies: 4
    • Views: 550
    10-14-2014, 02:10 PM Go to last post
  47. Proc CLP - Error with scheddata

    Hi guys, I've been playing around with Proc CLP to help deal with constraint problems (efficient ways to allocate resources etc). However I am...

    Started by smg22‎, 03-23-2014 07:58 PM
    • Replies: 2
    • Views: 567
    10-14-2014, 01:41 PM Go to last post
  48. Exclamation sas developer

    Hi all, I have done bachelor's in computer applications in 2008 after which I changed my career into customer services and don't really have any IT...

    Started by munku‎, 10-04-2014 06:35 PM
    • Replies: 1
    • Views: 498
    10-04-2014, 08:14 PM Go to last post
  49. New date variable

    I'm trying to create a new date variable using values from other variables using several date functions. I want to use the month function and day...

    Started by greg6363‎, 09-29-2014 07:12 PM
    • Replies: 2
    • Views: 484
    09-29-2014, 09:14 PM Go to last post
  50. Grouped versus ungrouped data

    I run into this concept when I deal with overdispersion in GLM or logistic regression most commonly. I remain confused what the difference is between...

    Started by noetsi‎, 09-29-2014 10:02 AM
    • Replies: 3
    • Views: 486
    09-29-2014, 01:39 PM Go to last post
  51. How to pick subdirectories from a big directory?

    Dear all: I have a question. A parent directory has many many subdirectories. I just want to select partial subdirectories from the...

    Started by liufeng511‎, 09-22-2014 10:33 PM
    • Replies: 2
    • Views: 343
    09-29-2014, 09:02 AM Go to last post
  52. PROC NLIN Model Convergence Failures

    So I've been trying so solve this problem for a few weeks and am at my whit's end at this point. I've tried all the troubleshooting I can to no...

    Started by nebulus‎, 09-18-2014 05:57 PM
    • Replies: 0
    • Views: 427
    09-18-2014, 05:57 PM Go to last post
  53. proc gplot axis flipping

    hi everyone i am doing a proc gplot, and it's for a survival graph. my y axis goes from 1.00 on top to 0.00 at the bottom, and i want to flip it,...

    Started by nemo‎, 11-14-2011 12:52 PM
    • Replies: 2
    • Views: 1,107
    09-18-2014, 10:58 AM Go to last post
  54. Corrections for FW error in regression

    There are various approaches for dealing with family wise error in regression. Does anyone know how these are implemented in SAS (I know how they are...

    Started by noetsi‎, 09-09-2014 10:15 AM
    • Replies: 4
    • Views: 555
    09-09-2014, 01:44 PM Go to last post
  55. Indirect and direct effects with multiple imputation (MIANALYZE)

    Hi all, I'm using SAS, doing some SEM with multiple imputation (PROC MI).. I can pull out almost everything I need using PROC CALIS and the PATH...

    Started by SimonSchus‎, 09-07-2014 01:01 PM
    • Replies: 0
    • Views: 344
    09-07-2014, 01:01 PM Go to last post
  56. Modeling step by step in SAS

    Can anyone guide me in building a credit score model in SAS from beginning to end? Like how to get started with it and how to proceed?

    Started by kalyan‎, 09-05-2014 01:25 PM
    logistic regression, model building, sas
    • Replies: 1
    • Views: 338
    09-05-2014, 10:14 PM Go to last post
  57. Helo me to Importing flat file

    Hi i have a flat file around 100gb. it has 200 variables like company name, address..like that. In company name i have fields like google,ibm,tcs...

    Started by kalyan‎, 09-05-2014 01:41 PM
    dataset, import data, sas
    • Replies: 0
    • Views: 281
    09-05-2014, 01:41 PM Go to last post
  58. Discrete Choice Experiment - Canonical Correlations (HELP)

    Hi, I am planning a DCE and I have run into a problem of "canonical correlations" with the SAS macros. Has anyone ever found this problem of...

    Started by PedroR‎, 09-03-2014 02:40 PM
    • Replies: 0
    • Views: 279
    09-03-2014, 02:40 PM Go to last post
  59. Accounting for Different Levels of Twin Relatedness in SAS PROC MIXED

    I have a dataset with a number of identical twin pairs and fraternal twin pairs. I want to examine the relationship between an outcome variable...

    Started by StatsYay‎, 09-01-2014 05:08 PM
    • Replies: 0
    • Views: 342
    09-01-2014, 05:08 PM Go to last post
  60. Need ideas to modernize using SAS my data cleaning approach

    Hi, I have been given various large datasets that require a lot of time and effort cleaning incorrect codes (from a scanner that did not read the...

    Started by mht‎, 08-27-2014 12:47 PM
    automate, data cleaning, sas
    • Replies: 4
    • Views: 430
    08-28-2014, 11:15 AM Go to last post

+ Post New Thread
Page 1 of 20 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 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