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

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: 19
    • Views: 4,461
    06-02-2014, 12:08 PM Go to last post
  1. 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‎, Yesterday 09:33 PM
    • Replies: 0
    • Views: 47
    Yesterday, 09:33 PM Go to last post
  2. 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 09:08 AM
    • Replies: 12
    • Views: 141
    01-29-2015, 12:23 PM Go to last post
  3. 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 09:46 AM
    • Replies: 1
    • Views: 71
    01-29-2015, 11:00 AM Go to last post
  4. 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 09:23 AM
    nested anova, proc mixed, repeated measures
    • Replies: 0
    • Views: 48
    01-29-2015, 09:23 AM Go to last post
  5. 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 05:40 PM
    • Replies: 2
    • Views: 277
    01-22-2015, 07:30 PM Go to last post
  6. 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 12:42 PM
    %dftest, dftest, dickey fuller test, non-stationarity, stationarity
    • Replies: 0
    • Views: 125
    01-20-2015, 12:42 PM Go to last post
  7. 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 01:12 PM
    • Replies: 0
    • Views: 130
    01-13-2015, 01:12 PM Go to last post
  8. 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 03:48 PM
    • Replies: 0
    • Views: 216
    01-12-2015, 03:48 PM Go to last post
  9. 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 07:08 AM
    matched controls, matched variables, matching
    • Replies: 1
    • Views: 233
    01-12-2015, 10:51 AM Go to last post
  10. 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 12:20 PM
    • Replies: 0
    • Views: 243
    01-08-2015, 12:20 PM Go to last post
  11. 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 05:40 PM
    • Replies: 3
    • Views: 265
    01-07-2015, 06:41 PM Go to last post
  12. 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 05:44 PM
    • Replies: 4
    • Views: 204
    01-06-2015, 03:22 PM Go to last post
  13. 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 11:17 AM
    • Replies: 0
    • Views: 113
    01-06-2015, 11:17 AM Go to last post
  14. 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 04:50 PM
    • Replies: 3
    • Views: 266
    01-02-2015, 07:03 PM Go to last post
  15. 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 11:44 AM
    2 Pages
    1 2
    poisson
    • Replies: 18
    • Views: 517
    12-30-2014, 10:15 AM Go to last post
  16. [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 12:11 PM
    • Replies: 10
    • Views: 389
    12-29-2014, 11:38 AM Go to last post
  17. 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 09:49 PM
    • Replies: 10
    • Views: 441
    12-19-2014, 12:32 PM Go to last post
  18. 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 01:12 PM
    2 Pages
    1 2
    • Replies: 18
    • Views: 444
    12-17-2014, 03:24 AM Go to last post
  19. 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 11:49 AM
    %do, %if, loop, macro
    • Replies: 2
    • Views: 131
    12-16-2014, 08:11 PM Go to last post
  20. 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 01:25 PM
    • Replies: 5
    • Views: 296
    12-13-2014, 11:12 PM Go to last post
  21. Simulations in SAS and R

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

    Started by noetsi‎, 12-09-2014 03:28 PM
    2 Pages
    1 2
    • Replies: 21
    • Views: 430
    12-10-2014, 01:52 PM Go to last post
  22. 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 03:55 AM
    • Replies: 10
    • Views: 518
    12-05-2014, 07:38 PM Go to last post
  23. 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 04:33 PM
    • Replies: 0
    • Views: 267
    11-24-2014, 04:33 PM Go to last post
  24. 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 03:22 PM
    poisson, tweedie distribution
    • Replies: 3
    • Views: 269
    11-23-2014, 04:32 PM Go to last post
  25. 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 03:24 PM
    • Replies: 2
    • Views: 260
    11-21-2014, 10:16 PM Go to last post
  26. 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 08:47 PM
    cox proportional hazard, phreg, sas, survival analysis
    • Replies: 6
    • Views: 488
    11-06-2014, 06:07 PM Go to last post
  27. 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 03:15 PM
    eigenvector, multivariate, proc iml
    • Replies: 0
    • Views: 48
    11-02-2014, 03:15 PM Go to last post
  28. 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 11:41 AM
    nested
    • Replies: 8
    • Views: 805
    10-28-2014, 11:26 PM Go to last post
  29. 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 10:51 AM
    • Replies: 2
    • Views: 298
    10-24-2014, 11:55 AM Go to last post
  30. 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-24-2014 12:13 AM
    • Replies: 0
    • Views: 210
    10-24-2014, 12:13 AM Go to last post
  31. 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 10:16 PM
    sas, sas data manipulation, sas enterprose guide, sas macro
    • Replies: 0
    • Views: 167
    10-23-2014, 10:16 PM Go to last post
  32. 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 01:50 PM
    • Replies: 4
    • Views: 471
    10-14-2014, 03:10 PM Go to last post
  33. 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 08:58 PM
    • Replies: 2
    • Views: 505
    10-14-2014, 02:41 PM Go to last post
  34. 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 07:35 PM
    • Replies: 1
    • Views: 422
    10-04-2014, 09:14 PM Go to last post
  35. 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 08:12 PM
    • Replies: 2
    • Views: 400
    09-29-2014, 10:14 PM Go to last post
  36. 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 11:02 AM
    • Replies: 3
    • Views: 369
    09-29-2014, 02:39 PM Go to last post
  37. 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 11:33 PM
    • Replies: 2
    • Views: 283
    09-29-2014, 10:02 AM Go to last post
  38. 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 06:57 PM
    • Replies: 0
    • Views: 361
    09-18-2014, 06:57 PM Go to last post
  39. 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 01:52 PM
    • Replies: 2
    • Views: 1,019
    09-18-2014, 11:58 AM Go to last post
  40. 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 11:15 AM
    • Replies: 4
    • Views: 429
    09-09-2014, 02:44 PM Go to last post
  41. 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 02:01 PM
    • Replies: 0
    • Views: 281
    09-07-2014, 02:01 PM Go to last post
  42. 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 02:25 PM
    logistic regression, model building, sas
    • Replies: 1
    • Views: 279
    09-05-2014, 11:14 PM Go to last post
  43. 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 02:41 PM
    dataset, import data, sas
    • Replies: 0
    • Views: 217
    09-05-2014, 02:41 PM Go to last post
  44. 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 03:40 PM
    • Replies: 0
    • Views: 230
    09-03-2014, 03:40 PM Go to last post
  45. 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 06:08 PM
    • Replies: 0
    • Views: 287
    09-01-2014, 06:08 PM Go to last post
  46. 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 01:47 PM
    automate, data cleaning, sas
    • Replies: 4
    • Views: 360
    08-28-2014, 12:15 PM Go to last post
  47. Binary Logistic Regression Diagnostics

    Could anyone please refer me to a web page or text on doing logistic regression diagnostics in SAS? I cant say I am expert in logistic regression,...

    Started by Bio_Stat‎, 08-27-2014 12:22 PM
    • Replies: 2
    • Views: 309
    08-27-2014, 01:22 PM Go to last post
  48. How to convert/assign missing value into/to mean of the variable

    Hi, If I have a dataset as: Sno MinutesUsed1 MinutesUsed2 1 34 20 2 56 40 3 75 ...

    Started by Shashank Prasad‎, 08-24-2014 09:31 AM
    • Replies: 0
    • Views: 116
    08-24-2014, 09:31 AM Go to last post
  49. Thumbs up Merging three SAS table

    Hello, I would like to merge 3 sas tables in a "special" way. The first table looks like this : Class Color Size ...

    Started by roukyno1‎, 08-13-2014 08:04 AM
    • Replies: 3
    • Views: 432
    08-14-2014, 09:27 AM Go to last post
  50. Proc Logistic Contrasts with Interaction

    I'm having difficulty figuring out the appropriate contrasts including an interaction term. In my model: proc logistic data=data; class var1...

    Started by Disvengeance‎, 08-12-2014 10:38 PM
    • Replies: 10
    • Views: 487
    08-13-2014, 09:14 PM Go to last post
  51. SAS non-parametric results.

    I have spent a lot of time looking, but I can not find this. When SAS produces p values for non-parametric test (Kruscal Wallis, Wilcoxon, Friedman...

    Started by noetsi‎, 08-01-2014 01:32 PM
    • Replies: 14
    • Views: 561
    08-12-2014, 05:10 PM Go to last post
  52. Help Regarding Splitting Observation with Long String

    Can someone please help me with this: Here is raw data ID Term 1 1. Horse Riding 2. Fishing 3.Climbing 4. Jumping 5. Hiding 2 1) Horse...

    Started by indianboy‎, 08-10-2014 03:07 PM
    program, sas
    • Replies: 1
    • Views: 271
    08-11-2014, 02:00 PM Go to last post
  53. Test statement in Proc Logistic

    I'm not very familiar with the test statement in proc logistic, it seems straight forward but I keep receiving an error message. For example, for the...

    Started by Disvengeance‎, 08-01-2014 02:56 PM
    • Replies: 6
    • Views: 503
    08-05-2014, 10:39 PM Go to last post
  54. SAS help regarding putting observation Together. Please help

    Here is the raw data: name var1 var2 var3 startdate enddate jack x y z 01jan2012 01jan2012 jack x y z ...

    Started by indianboy‎, 08-05-2014 12:47 PM
    help me!, retain, sas, sas data manipulation
    • Replies: 1
    • Views: 238
    08-05-2014, 06:55 PM Go to last post
  55. Biased sampling in logistic regression

    Hi, I have 100,000 observations and my dependent variable is binary. I need to run logistic regression but my bad rate is too low(less than 1%). If...

    Started by nancy10‎, 07-28-2014 09:09 AM
    • Replies: 10
    • Views: 436
    08-01-2014, 10:42 AM Go to last post
  56. Reverse optimization model - possible in proc optmodel?

    Hi gang, tough question here that I cannot figure out... I have a sample of n0 subjects, m0 are events, n0-m0 are non events. I have three...

    Started by agp‎, 07-29-2014 07:06 AM
    • Replies: 0
    • Views: 238
    07-29-2014, 07:06 AM Go to last post
  57. Merging data with SAS

    Hello, I would like to merge two data tables : ID (unique) DATE COLOR STATE TYPE 165198165 ...

    Started by roukyno1‎, 07-28-2014 06:51 AM
    • Replies: 4
    • Views: 302
    07-28-2014, 09:28 AM Go to last post
  58. Dunn index and Davies-Bouldin index in Clustering

    Does SAS calculate Dunn Index or Davies-Bouldin Index? It relates to validation of different cluster algorithms... Thanks for any suggestions.

    Started by Lubomir‎, 07-23-2014 09:37 AM
    clustering, davies-bouldin index, dunn index
    • Replies: 0
    • Views: 381
    07-23-2014, 09:37 AM Go to last post
  59. Find average for specific rows

    I know how to do this in R but haven't been able to figure it out in SAS. I don't have access to PROC IML (not sure if that would have been the...

    Started by lancearmstrong1313‎, 07-22-2014 02:31 PM
    • Replies: 2
    • Views: 296
    07-23-2014, 06:51 AM Go to last post
  60. SAS versus R

    This link might take you to the PDF (or might not - I had problems with it). ...

    Started by noetsi‎, 07-18-2014 01:14 PM
    • Replies: 12
    • Views: 596
    07-22-2014, 10:17 AM Go to last post

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