1. Announcement:
    Want access to a chatbox?
    Dason ‎(Devorador de queso)
    05-10-2017
    Views:
    2,792
+ Post New Thread
Page 4 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 181 to 240 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,825
    06-26-2015, 10:17 AM Go to last post
  1. 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: 1,903
    01-07-2015, 06:41 PM Go to last post
  2. 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: 2,058
    01-06-2015, 03:22 PM Go to last post
  3. 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: 3,429
    01-06-2015, 11:17 AM Go to last post
  4. 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: 3,355
    01-02-2015, 07:03 PM Go to last post
  5. 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: 4,098
    12-30-2014, 10:15 AM Go to last post
  6. [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: 2,692
    12-29-2014, 11:38 AM Go to last post
  7. 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: 4,700
    12-19-2014, 12:32 PM Go to last post
  8. 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: 3,630
    12-17-2014, 03:24 AM Go to last post
  9. 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: 2,859
    12-13-2014, 11:12 PM Go to last post
  10. 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: 2,878
    12-10-2014, 01:52 PM Go to last post
  11. 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: 3,632
    12-05-2014, 07:38 PM Go to last post
  12. 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: 1,270
    11-24-2014, 04:33 PM Go to last post
  13. 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: 5,531
    11-23-2014, 04:32 PM Go to last post
  14. 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: 1,764
    11-21-2014, 10:16 PM Go to last post
  15. 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: 2,468
    11-06-2014, 06:07 PM Go to last post
  16. 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: 1,269
    11-02-2014, 03:15 PM Go to last post
  17. 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: 2,517
    10-28-2014, 10:26 PM Go to last post
  18. 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: 1,443
    10-24-2014, 10:55 AM Go to last post
  19. 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: 2,192
    10-23-2014, 11:13 PM Go to last post
  20. 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: 1,248
    10-23-2014, 09:16 PM Go to last post
  21. 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: 2,234
    10-14-2014, 02:10 PM Go to last post
  22. 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: 2,289
    10-14-2014, 01:41 PM Go to last post
  23. 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: 1,609
    10-04-2014, 08:14 PM Go to last post
  24. 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: 1,714
    09-29-2014, 09:14 PM Go to last post
  25. 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: 3,192
    09-29-2014, 01:39 PM Go to last post
  26. 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: 1,820
    09-29-2014, 09:02 AM Go to last post
  27. 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: 2,501
    09-18-2014, 05:57 PM Go to last post
  28. 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: 3,651
    09-18-2014, 10:58 AM Go to last post
  29. 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: 2,298
    09-09-2014, 01:44 PM Go to last post
  30. 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: 2,859
    09-07-2014, 01:01 PM Go to last post
  31. 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: 1,463
    09-05-2014, 10:14 PM Go to last post
  32. 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: 1,068
    09-05-2014, 01:41 PM Go to last post
  33. 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: 1,199
    09-03-2014, 02:40 PM Go to last post
  34. 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: 1,143
    09-01-2014, 05:08 PM Go to last post
  35. 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: 1,971
    08-28-2014, 11:15 AM Go to last post
  36. 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 11:22 AM
    • Replies: 2
    • Views: 1,190
    08-27-2014, 12:22 PM Go to last post
  37. 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 08:31 AM
    • Replies: 0
    • Views: 1,271
    08-24-2014, 08:31 AM Go to last post
  38. 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 07:04 AM
    • Replies: 3
    • Views: 4,851
    08-14-2014, 08:27 AM Go to last post
  39. 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 09:38 PM
    • Replies: 10
    • Views: 4,064
    08-13-2014, 08:14 PM Go to last post
  40. 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 12:32 PM
    • Replies: 14
    • Views: 3,934
    08-12-2014, 04:10 PM Go to last post
  41. 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 02:07 PM
    program, sas
    • Replies: 1
    • Views: 1,530
    08-11-2014, 01:00 PM Go to last post
  42. 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 01:56 PM
    • Replies: 6
    • Views: 3,667
    08-05-2014, 09:39 PM Go to last post
  43. 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 11:47 AM
    help me!, retain, sas, sas data manipulation
    • Replies: 1
    • Views: 1,299
    08-05-2014, 05:55 PM Go to last post
  44. 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 08:09 AM
    • Replies: 10
    • Views: 3,983
    08-01-2014, 09:42 AM Go to last post
  45. 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 06:06 AM
    • Replies: 0
    • Views: 1,513
    07-29-2014, 06:06 AM Go to last post
  46. 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 05:51 AM
    • Replies: 4
    • Views: 1,619
    07-28-2014, 08:28 AM Go to last post
  47. 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 08:37 AM
    clustering, davies-bouldin index, dunn index
    • Replies: 0
    • Views: 4,150
    07-23-2014, 08:37 AM Go to last post
  48. 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 01:31 PM
    • Replies: 2
    • Views: 2,529
    07-23-2014, 05:51 AM Go to last post
  49. 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 12:14 PM
    • Replies: 12
    • Views: 4,249
    07-22-2014, 09:17 AM Go to last post
  50. [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 03:15 PM
    • Replies: 12
    • Views: 3,815
    07-22-2014, 09:13 AM Go to last post
  51. 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 10:22 AM
    • Replies: 0
    • Views: 1,579
    07-17-2014, 10:22 AM Go to last post
  52. 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 09:17 PM
    • Replies: 1
    • Views: 3,121
    07-14-2014, 06:30 AM Go to last post
  53. 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 03:39 PM
    2 Pages
    1 2
    • Replies: 16
    • Views: 3,680
    07-11-2014, 11:25 AM Go to last post
  54. 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 04:46 PM
    • Replies: 1
    • Views: 1,558
    07-10-2014, 05:19 PM Go to last post
  55. 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 08:16 AM
    • Replies: 3
    • Views: 3,885
    07-10-2014, 12:26 PM Go to last post
  56. 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 08:00 AM
    • Replies: 1
    • Views: 2,186
    07-06-2014, 05:55 PM Go to last post
  57. 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 09:58 AM
    • Replies: 1
    • Views: 2,014
    07-02-2014, 10:39 AM Go to last post
  58. 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 04:32 PM
    • Replies: 3
    • Views: 2,844
    07-01-2014, 10:45 AM Go to last post
  59. 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 09:39 AM
    • Replies: 0
    • Views: 3,396
    06-30-2014, 09:39 AM Go to last post
  60. 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 01:07 PM
    • Replies: 0
    • Views: 2,241
    06-27-2014, 01:07 PM Go to last post

+ Post New Thread
Page 4 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