1. 10-14-2010
    Views:
    18,899
+ 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 1116

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,078
    06-02-2014, 12:08 PM Go to last post
  1. 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: 9
    • Views: 143
    Yesterday, 03:23 PM Go to last post
  2. 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: 303
    Yesterday, 03:24 AM Go to last post
  3. 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: 81
    12-16-2014, 08:11 PM Go to last post
  4. 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: 183
    12-13-2014, 11:12 PM Go to last post
  5. 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: 286
    12-10-2014, 01:52 PM Go to last post
  6. 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: 387
    12-05-2014, 07:38 PM Go to last post
  7. 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: 226
    11-24-2014, 04:33 PM Go to last post
  8. 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: 210
    11-23-2014, 04:32 PM Go to last post
  9. 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: 195
    11-21-2014, 10:16 PM Go to last post
  10. 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: 414
    11-06-2014, 06:07 PM Go to last post
  11. 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: 24
    11-02-2014, 03:15 PM Go to last post
  12. 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: 641
    10-28-2014, 11:26 PM Go to last post
  13. 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: 248
    10-24-2014, 11:55 AM Go to last post
  14. 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: 171
    10-24-2014, 12:13 AM Go to last post
  15. 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: 140
    10-23-2014, 10:16 PM Go to last post
  16. 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: 388
    10-14-2014, 03:10 PM Go to last post
  17. 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: 443
    10-14-2014, 02:41 PM Go to last post
  18. 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: 368
    10-04-2014, 09:14 PM Go to last post
  19. 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: 368
    09-29-2014, 10:14 PM Go to last post
  20. 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: 288
    09-29-2014, 02:39 PM Go to last post
  21. 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: 247
    09-29-2014, 10:02 AM Go to last post
  22. 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: 302
    09-18-2014, 06:57 PM Go to last post
  23. 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: 958
    09-18-2014, 11:58 AM Go to last post
  24. 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: 380
    09-09-2014, 02:44 PM Go to last post
  25. 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: 249
    09-07-2014, 02:01 PM Go to last post
  26. 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: 237
    09-05-2014, 11:14 PM Go to last post
  27. 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: 183
    09-05-2014, 02:41 PM Go to last post
  28. 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: 204
    09-03-2014, 03:40 PM Go to last post
  29. 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: 262
    09-01-2014, 06:08 PM Go to last post
  30. 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: 331
    08-28-2014, 12:15 PM Go to last post
  31. 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: 270
    08-27-2014, 01:22 PM Go to last post
  32. 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: 96
    08-24-2014, 09:31 AM Go to last post
  33. 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: 383
    08-14-2014, 09:27 AM Go to last post
  34. 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: 430
    08-13-2014, 09:14 PM Go to last post
  35. 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: 464
    08-12-2014, 05:10 PM Go to last post
  36. 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: 242
    08-11-2014, 02:00 PM Go to last post
  37. 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: 448
    08-05-2014, 10:39 PM Go to last post
  38. 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: 210
    08-05-2014, 06:55 PM Go to last post
  39. 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: 388
    08-01-2014, 10:42 AM Go to last post
  40. 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: 205
    07-29-2014, 07:06 AM Go to last post
  41. 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: 262
    07-28-2014, 09:28 AM Go to last post
  42. 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: 322
    07-23-2014, 09:37 AM Go to last post
  43. 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: 269
    07-23-2014, 06:51 AM Go to last post
  44. 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: 518
    07-22-2014, 10:17 AM Go to last post
  45. [SOLVED] Sas iml

    I have base SAS and all the SAS satistical modules including time series and quality add ons. A product I am thinking about buying uses SAS IML. I...

    Started by noetsi‎, 04-18-2014 04:15 PM
    • Replies: 12
    • Views: 860
    07-22-2014, 10:13 AM Go to last post
  46. Need help finding logic or coding errors

    Hi, I'm in urgent need of some help troubleshooting this code for any errors or problems? Any assistance would be greatly appreciated! Thanks. ...

    Started by amandahayden‎, 07-17-2014 11:22 AM
    • Replies: 0
    • Views: 311
    07-17-2014, 11:22 AM Go to last post
  47. How to convert character datetime to numeric datetime?

    I have a file in Excel that I use to import the data into SAS. The format of the data in the Excel is this: 28-05-2014 10:21:20 27-05-2014...

    Started by Janoose‎, 07-13-2014 10:17 PM
    • Replies: 1
    • Views: 408
    07-14-2014, 07:30 AM Go to last post
  48. SAS operations research

    It appears to me that SAS stats, SAS ETS (time series), and SAS QC (quality models) does not run operations research such as queing models, markov...

    Started by noetsi‎, 07-10-2014 04:39 PM
    2 Pages
    1 2
    • Replies: 16
    • Views: 594
    07-11-2014, 12:25 PM Go to last post
  49. Smile ARIMA and non-stationary ts

    Hello everyone! Can somebody suggests me, what you are doing in case that you have data table with 2 variables - date and for example number of...

    Started by icicle‎, 07-10-2014 05:46 PM
    • Replies: 1
    • Views: 282
    07-10-2014, 06:19 PM Go to last post
  50. VAR Granger Causality using Proc Varmax

    Hi, I am trying to do VAR Granger Causality using Proc Varmax by the below code: /*--- Causality Testing ---*/ proc varmax data=grunfeld; ...

    Started by boas3ad‎, 07-09-2014 09:16 AM
    • Replies: 3
    • Views: 443
    07-10-2014, 01:26 PM Go to last post
  51. Need help in understanding the output of SAS code!

    Hi, I help help in understanding the o/p of the SAS tabulate code: Example Here again are the boat data containing the name of each boat, its...

    Started by Shashank Prasad‎, 07-04-2014 09:00 AM
    • Replies: 1
    • Views: 323
    07-06-2014, 06:55 PM Go to last post
  52. Proc transpose help please

    Hi I have a patient data which is completely in Rows. I am to transpose the data. the data is somthing like this. please see the attached...

    Started by viveklsvivek‎, 06-30-2014 10:58 AM
    • Replies: 1
    • Views: 310
    07-02-2014, 11:39 AM Go to last post
  53. Need help with Analyzing Survey data

    Hello, I am working on creating descriptive analysis of the survey. Survey has 20 questions. coded as A1-A6, B1-B7....etc. So in the dataset I...

    Started by ntp0015‎, 06-24-2014 05:32 PM
    • Replies: 3
    • Views: 446
    07-01-2014, 11:45 AM Go to last post
  54. Hausman statistic cannot be calculated

    Hi folks, I tried running a panel procedure (RANTWO vcomp=fb), but the log shows the following error message: "Hausman statistic cannot be...

    Started by PJay‎, 06-30-2014 10:39 AM
    • Replies: 0
    • Views: 215
    06-30-2014, 10:39 AM Go to last post
  55. Proc arima

    When you specify a seasonal MA (1) term is this ESTIMATE Q=(12) ? Does this matter if you have an additive rather than a multiplicative model (in the...

    Started by noetsi‎, 06-27-2014 02:07 PM
    • Replies: 0
    • Views: 309
    06-27-2014, 02:07 PM Go to last post
  56. Exclamation SAS help!

    I am trying to download one of these datasets "http://wwwn.cdc.gov/nchs/nhanes/search/datapage.aspx?Component=Examination&CycleBeginYear=2003" but...

    Started by vonlack‎, 06-27-2014 09:25 AM
    • Replies: 2
    • Views: 370
    06-27-2014, 11:17 AM Go to last post
  57. Residual analysis Leverage and Influence

    Running a multiple linear regression I would like to analyse influence and leverage but a lot of the otherwise useful plots provided by SAS ods...

    Started by JesperHP‎, 06-26-2014 11:13 AM
    • Replies: 1
    • Views: 296
    06-26-2014, 12:04 PM Go to last post
  58. Reading data from Text File Turning it into Dataset

    Hi, I have a file that is in PDF and when I convert it into text format and even do the copy and paste this is what my data looks like: A 1 2 3...

    Started by Janoose‎, 06-20-2014 10:43 AM
    • Replies: 1
    • Views: 299
    06-23-2014, 10:40 AM Go to last post
  59. what is wrong with my code in Sas?

    I am learning how to draw univariable lowess smoothed logit versus predictor graph via http://www.ats.ucla.edu/stat/sas/examples/alr2/hlch4sas.htm ...

    Started by t.wang21@yahoo.com.au‎, 06-20-2014 02:44 AM
    • Replies: 3
    • Views: 492
    06-22-2014, 09:07 PM Go to last post
  60. 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 07:18 AM
    • Replies: 0
    • Views: 326
    06-17-2014, 07:18 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