1. 10-14-2010
    Views:
    24,469
+ Post New Thread
Page 1 of 21 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 1214

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: 8,899
    06-26-2015, 11:17 AM Go to last post
  1. Issue defining ordinal variables in SAS

    Hello All, I am developing a Logistic Regression model in SAS and I have one of the independent variables as Age. I do not have exact age but I...

    Started by rags140684‎, 02-12-2016 10:59 PM
    ordinal variable, sas
    • Replies: 5
    • Views: 122
    Yesterday, 03:17 PM Go to last post
  2. Help with datepart

    Hi, Please help me with this.. I have a column in my data TYPE: Number FORMAT: datetime20. Im using using proc sql and need to remove the...

    Started by itshere‎, 02-02-2016 02:11 PM
    • Replies: 1
    • Views: 322
    02-03-2016, 12:26 AM Go to last post
  3. Simple effects for interaction term: Proc Reg

    By simple effects I mean analyzing the impact of a main effect at some specific level of the other variables in the model. I use it, in other...

    Started by noetsi‎, 01-28-2016 04:28 PM
    • Replies: 11
    • Views: 416
    02-01-2016, 09:19 AM Go to last post
  4. Problem with Java

    I have never experienced this problem before and I have used this system for 6 years. Anyone know how to fix this? Error: Unable to load the Java...

    Started by noetsi‎, 01-26-2016 02:15 PM
    • Replies: 9
    • Views: 326
    01-26-2016, 04:40 PM Go to last post
  5. White's test for linear regression

    I think the following performs White's test for heteroskedacity and generates WHITE robust SE, but I am not sure. ODS graphics on; PROC REG...

    Started by noetsi‎, 01-25-2016 02:18 PM
    • Replies: 2
    • Views: 149
    01-25-2016, 02:33 PM Go to last post
  6. Using %cutpoint macro in SAS

    Hello, I am trying to find out optimal cut-points for my continuous variable of smoking using an outcome based method. I came across a SAS macro...

    Started by Akhil‎, 01-19-2016 06:49 AM
    2 Pages
    1 2
    • Replies: 21
    • Views: 575
    01-21-2016, 01:14 PM Go to last post
  7. Creating Graphs from Survival Analysis Outcome

    If I run a survival analysis, how can I graph the output/outcome? I.e. if I run age group and incidence of a certain disease ('cancer'), and get a...

    Started by kgilpin‎, 01-13-2016 05:44 PM
    graphing, research, sas, survival analysis
    • Replies: 4
    • Views: 558
    01-14-2016, 10:56 AM Go to last post
  8. ANCOVA help -Parameter Estimate Zero

    Hi everyone, I just ran ANCOVA. One of my covariates in the final model gives be a parameter estimate as : Parameter Estimate Standard Error ...

    Started by sas13‎, 01-11-2016 07:43 PM
    • Replies: 2
    • Views: 266
    01-11-2016, 08:09 PM Go to last post
  9. Trend analysis with non-binary variable

    Hi, I have a data set where I have a number of organs that fall into 5 treatment groups. These treatment groups can be organized based on increasing...

    Started by zihuatanejo‎, 01-07-2016 04:54 PM
    trend analysis
    • Replies: 3
    • Views: 346
    01-08-2016, 12:31 PM Go to last post
  10. ANOVA 2-way all subgroup combinations

    Hello - I am wanting to do 2-way ANOVA tests in SAS. I am having trouble getting results against all the subgroups I want to. It is best explained...

    Started by Silvertreetops‎, 01-04-2016 04:54 AM
    anova, proc gls
    • Replies: 3
    • Views: 340
    01-05-2016, 09:21 AM Go to last post
  11. Question How to edit this forest plot code to accommodate a non-log scale?

    I want to create a version of the forest plot here: http://support.sas.com/kb/42/867.html Unfortunately, the scale isn't useful for the values I...

    Started by j4ne‎, 11-30-2015 07:13 AM
    • Replies: 3
    • Views: 1,230
    12-02-2015, 02:06 PM Go to last post
  12. Help - Logistc regression in SAS Enterprise

    Dear all, i would like to ask your help because i need to be able to reproduce in SAS enterprise the same results as these ones from the book "An...

    Started by davidmoreira‎, 11-25-2015 09:55 AM
    • Replies: 7
    • Views: 600
    11-25-2015, 10:45 AM Go to last post
  13. Help with Summary calculations

    hi, I am working from the file attached. I would like to create a summary by last_touch_channel for all customers who purchased more than once...

    Started by ahart‎, 11-24-2015 11:08 AM
    • Replies: 1
    • Views: 316
    11-24-2015, 01:17 PM Go to last post
  14. HP Linear Regression

    This is apparently different software rather than a different method. Has anyone worked with it.

    Started by noetsi‎, 11-13-2015 11:50 AM
    • Replies: 5
    • Views: 548
    11-13-2015, 09:21 PM Go to last post
  15. Proc SQL

    I can't believe this never came up before... Can you compare two variables (columns) in a Where cause? This is common in SQL, but I can't find how...

    Started by noetsi‎, 11-05-2015 03:37 PM
    • Replies: 10
    • Views: 708
    11-10-2015, 11:57 AM Go to last post
  16. changing the reference variable value in class statement

    Hi, I am trying to run an analysis with the variable "histgr" (for histology group) and the values for histgr are 1, 2, 3, 4 and 5. How can I change...

    Started by kungfupanda‎, 11-05-2015 09:31 PM
    class, reference variable, sas
    • Replies: 1
    • Views: 257
    11-05-2015, 10:04 PM Go to last post
  17. Angry How to get scientific notation display in PROC TABULATE?

    Hi! I have a dataset that includes a few p-values that are very small (eg 2.5E-17). When I build a table using PROC TABULATE the values are only...

    Started by RuthB‎, 11-05-2015 10:24 AM
    • Replies: 1
    • Views: 215
    11-05-2015, 03:36 PM Go to last post
  18. Replacing or remove data

    Hi guys, I need your help. I have a quite large database. It contains names of companies (observations) a its financial ratios. As you know, database...

    Started by russel2000‎, 11-02-2015 10:44 AM
    • Replies: 1
    • Views: 318
    11-03-2015, 07:53 AM Go to last post
  19. SAS Tips and Tricks

    I publish a free e-magazine for programming tips in SAS, R, SQL, etc. I would like to both invite everyone to take a look, as there are some good...

    Started by cjohnson‎, 11-02-2015 01:54 PM
    • Replies: 0
    • Views: 293
    11-02-2015, 01:54 PM Go to last post
  20. 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 06:40 PM
    • Replies: 8
    • Views: 1,715
    10-29-2015, 05:39 PM Go to last post
  21. How to create a table of values

    hi I am looking at summarizing the attached data set (book1) in SAS from my original proc sql statement. I want to adapt this with a summary of...

    Started by ahart‎, 10-15-2015 05:29 AM
    • Replies: 0
    • Views: 408
    10-15-2015, 05:29 AM Go to last post
  22. Input NHAMCS data, 2003-2009

    Hello all, I am wondering if anyone knows how to input NHAMCS data into SAS. For a project, I am to reproduce Table 1 from the following article:...

    Started by alexhua1873‎, 10-12-2015 11:08 PM
    • Replies: 0
    • Views: 396
    10-12-2015, 11:08 PM Go to last post
  23. Merging files where errors exist in Log file

    hi, I am executing a specific set of actions as follows from the attached desktop zip files ; - read in the file Adobe may 1) I am looking...

    Started by ahart‎, 10-12-2015 10:14 AM
    • Replies: 0
    • Views: 351
    10-12-2015, 10:14 AM Go to last post
  24. Reading in a csv file into SAS

    hi guys I am trying to read in the attached csv file (in the zip folder attached) I started with data Adobe may; infile...

    Started by ahart‎, 10-12-2015 05:13 AM
    • Replies: 2
    • Views: 409
    10-12-2015, 09:58 AM Go to last post
  25. Different degree of freedom and P-value from SAS proc mixed and SPSS mixed

    Hello, I am doing a repeated measure analysis using mixed model. However, SAS (9.4) and SPSS (23.0) have some difference: 1. They have different...

    Started by fengyuwuzu‎, 10-02-2015 02:36 PM
    • Replies: 2
    • Views: 607
    10-02-2015, 06:15 PM Go to last post
  26. need code help

    background. a process is designed as below to automate the data quality checks for a certain dataset on a number of rules using SAS macros. the...

    Started by arien‎, 09-28-2015 02:04 AM
    • Replies: 0
    • Views: 545
    09-28-2015, 02:04 AM Go to last post
  27. SAS code help

    data prb; title'Prb 2'; input vartype $1-11 stat1 12-16 stat2 18-23; datalines; numeric 25.5 12.7 character 36 34.4 numeric 150 ...

    Started by isumo‎, 09-22-2015 10:29 PM
    • Replies: 1
    • Views: 669
    09-23-2015, 08:54 AM Go to last post
  28. Exclamation subsetting data with criteria involving multiple variables/combinations of variables

    Hi, I am trying to create a subset of data of “high intermediate risk” group of entries as defined by a criteria based on age and number of risk...

    Started by kungfupanda‎, 09-05-2015 04:00 PM
    dataset, subsetting, variables
    • Replies: 10
    • Views: 1,382
    09-14-2015, 01:48 AM Go to last post
  29. Unhappy Post-hoc Tukey with Mixed rANOVA in SAS

    Hi all, I am working on the analyses for my dissertation. My study uses a split-block design, and I have performed a Mixed rANOVA (one between...

    Started by konglaoshi‎, 09-08-2015 08:17 PM
    solved
    • Replies: 3
    • Views: 581
    09-10-2015, 04:37 AM Go to last post
  30. Proc MI fully conditional specification

    Hi everybody, I'm using multiple imputation with the fully conditional specification (fcs) method in SAS (proc mi, fcs statement) to replace...

    Started by PhMortier‎, 09-05-2015 11:44 AM
    fcs, mle may not exist, multiple imputation, pro mi
    • Replies: 1
    • Views: 393
    09-05-2015, 12:17 PM Go to last post
  31. Exclamation how to use characters when calling values for a variable?

    Hi, I have a database with a variable "stage" with the following values: 1, 2, 1A, 1B, 2A, 2B. I am trying to trim my data by finding all the...

    Started by kungfupanda‎, 09-01-2015 04:25 PM
    character, delete variables, sas, variable
    • Replies: 4
    • Views: 557
    09-05-2015, 01:29 AM Go to last post
  32. Exclamation how to select for multiple codes for a given variable?

    Hi, One of my variables, "histology" has about 200 unique codes. I want to create a dataset looking at just 10 of them that are "carcinomas", but...

    Started by kungfupanda‎, 09-05-2015 01:22 AM
    indicator variable
    • Replies: 0
    • Views: 240
    09-05-2015, 01:22 AM Go to last post
  33. fractional spline regression model

    hi all i am trying to fit a fractional spline model with degree 3.5 or 2.1 in sas but i am unable to do it can anybody help me with the code? i...

    Started by saira esar‎, 08-26-2015 01:45 AM
    • Replies: 0
    • Views: 491
    08-26-2015, 01:45 AM Go to last post
  34. Plz help in understanding what below lines of code do in SAS in perl script.

    print QUERY "libname datasets '/home/viii';\n"; print QUERY "\n"; print QUERY "\%gdefault;\n"; print QUERY...

    Started by prasannaJ‎, 08-18-2015 10:39 AM
    • Replies: 0
    • Views: 536
    08-18-2015, 10:39 AM Go to last post
  35. trouble reading in a csv

    Hi, I have a csv file I am trying to read into SAS, and the output from my proc print step shows me that the data isn't being read properly in...

    Started by ahart‎, 08-11-2015 05:39 AM
    • Replies: 14
    • Views: 1,003
    08-18-2015, 08:32 AM Go to last post
  36. Transpose Data

    Hi there. I am trying to transpose my data without proc transpose. I have the following data: ID Fall_Adj Fall_Raw Spring_Adj Spring_Raw 1...

    Started by ali.hash‎, 08-17-2015 01:34 AM
    transpose
    • Replies: 1
    • Views: 295
    08-17-2015, 02:41 AM Go to last post
  37. CSV file date format

    I have a csv file I am reading in SAS and I am trying to format the dates and it doesn't seem to work the csv has this date 12/04/2008 00:00:00...

    Started by ahart‎, 08-06-2015 04:21 AM
    • Replies: 4
    • Views: 467
    08-11-2015, 02:03 PM Go to last post
  38. Import/Merge weekly file to Master historic

    Hi I would like to ask some help I have 3 steps described below, in a nut shell I would like import csv file (New_Customers_weekTEST) have it...

    Started by ahart‎, 08-06-2015 07:18 AM
    2 Pages
    1 2
    • Replies: 16
    • Views: 973
    08-11-2015, 09:40 AM Go to last post
  39. CSV import tp SAS dataset doesn't show any results

    hi, I have done some work on a csv file and following this, I am looking to import it into SAS as a SAS dataset within a specified library. My...

    Started by ahart‎, 08-11-2015 04:37 AM
    • Replies: 0
    • Views: 255
    08-11-2015, 04:37 AM Go to last post
  40. ERROR: Procedure GEE not found

    Hi Professionals, I've just read this webpage about building weighted GEE models with PROC GEE. The link is:...

    Started by freezingswallow‎, 08-06-2015 04:26 PM
    proc gee, procedure not found
    • Replies: 2
    • Views: 401
    08-06-2015, 04:58 PM Go to last post
  41. extracting values from text

    Hi all: I'm working with a single variable that is free text. I've done a lot of processing on the data with scan and compress and I'm at the...

    Started by jamesmartinn‎, 08-04-2015 11:35 AM
    • Replies: 1
    • Views: 349
    08-04-2015, 12:16 PM Go to last post
  42. Saturated correlates in SAS

    This is designed to add auxiliary variables to a FIML model. It is easy to do in SEM software, but I can't find it even mentioned in SAS. Without it,...

    Started by noetsi‎, 07-28-2015 04:38 PM
    • Replies: 4
    • Views: 576
    07-30-2015, 03:05 PM Go to last post
  43. Categorical (>2 groups) Missingness Dataset

    Noetsi, This is for you. Many times you have coding questions, which I think come from not actively using a dataset. I created a dataset with a...

    Started by hlsmith‎, 07-29-2015 11:57 AM
    • Replies: 2
    • Views: 343
    07-29-2015, 12:06 PM Go to last post
  44. Sampling question

    Hello all - quick question on sampling - say I have a population whose X average is 100, with stddev of 50. How can I sample (using proc...

    Started by agp‎, 07-28-2015 09:01 AM
    • Replies: 9
    • Views: 465
    07-28-2015, 07:32 PM Go to last post
  45. PROC MI FCS question

    When you want to run multiple imputation variables not just one how do you do it? For example proc mi nimpute=3 data=work.c62 seed=987...

    Started by noetsi‎, 07-20-2015 02:41 PM
    2 Pages
    1 2
    • Replies: 20
    • Views: 1,179
    07-24-2015, 05:14 PM Go to last post
  46. reshaping data

    I am trying to reshape data in SAS in a very specific way. The data looks like: ID Q1 Q2 491 0 0 491 0 1 1040 0 1 1040 1 0 1040 2 1

    Started by sandeep249‎, 07-18-2015 07:36 PM
    arrays, sas
    • Replies: 0
    • Views: 438
    07-18-2015, 07:36 PM Go to last post
  47. SAS Code for sending mail with attachment and summary on face of the mail.

    Hi i tried to write a code in which the outcome should be : 1. A mail to be sent to the mail id's mentioned with the summary on the body of the...

    Started by santhosh‎, 07-13-2015 05:09 AM
    • Replies: 0
    • Views: 510
    07-13-2015, 05:09 AM Go to last post
  48. Logistic Reg Sample Size Recommendations

    from SAS communities https://communities.sas.com/thread/80844

    Started by noetsi‎, 07-09-2015 01:26 PM
    • Replies: 3
    • Views: 626
    07-09-2015, 07:35 PM Go to last post
  49. Sumproduct with arrays - Should be easy

    Hi, I'm relatively new to SAS. I feel like this should be an easy fix but for the life of me I can't figure out what is wrong. Basically what I'm...

    Started by ZColl‎, 06-26-2015 01:34 PM
    • Replies: 1
    • Views: 586
    06-26-2015, 01:38 PM Go to last post
  50. Proc mixed - repeated

    Dear all I have the following question concerning the fitting of a model with PROC MIXED: If in PROC MIXED we use just the repeated statement,...

    Started by sternchen‎, 06-26-2015 07:11 AM
    • Replies: 1
    • Views: 386
    06-26-2015, 10:21 AM Go to last post
  51. 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 12:24 PM
    • Replies: 3
    • Views: 572
    06-26-2015, 10:03 AM Go to last post
  52. Help

    Hi Anybody can give me some help? how to code my study? Please check the attachment Fdate refer to forecast announcement date, Adate refers to...

    Started by Ianacct‎, 06-25-2015 05:08 PM
    • Replies: 1
    • Views: 479
    06-25-2015, 05:40 PM Go to last post
  53. proc calis

    I found this from Alison to be bemusing

    Started by noetsi‎, 06-25-2015 04:25 PM
    • Replies: 0
    • Views: 307
    06-25-2015, 04:25 PM Go to last post
  54. Proc logistic - penalty/shrinkage

    Hi, I need to perform a penalty/shrinkage logistic regression (penalize/shrink the size of the regression coefficients - RIDGE/LASSO regression). ...

    Started by thomas41‎, 06-23-2015 04:55 AM
    • Replies: 2
    • Views: 502
    06-23-2015, 08:54 AM Go to last post
  55. Multiple imputation; Friedman Test, Wilcoxon Test

    Hi, I would like to run the Friedman or Wilcoxon test on data I already imputed. This is how far i got: proc mi data=WORK.MASTER_TEST_SAS...

    Started by edlarge‎, 04-22-2012 12:55 PM
    • Replies: 7
    • Views: 2,481
    06-22-2015, 01:29 PM Go to last post
  56. SAS code to create game scheduler for 8 players

    I'm trying to set up a pseudo tournament competition thing. There are 8 players and at any given time 4 of the 8 players can participate. I would...

    Started by lancearmstrong1313‎, 06-05-2015 09:17 AM
    • Replies: 0
    • Views: 751
    06-05-2015, 09:17 AM Go to last post
  57. How to create value-weight returns from equal-weight returns when I have market caps?

    Hey SAS users! I'm creating a dataset where I want to calculate the value-weighted returns on 10 volatility portfolios (the portfolios are called...

    Started by SAS_robbert‎, 05-27-2015 06:37 AM
    sas 9.3, value-weighted returns
    • Replies: 0
    • Views: 774
    05-27-2015, 06:37 AM Go to last post
    • Replies: 0
    • Views: 362
    05-26-2015, 04:49 AM Go to last post
  58. #Occurences counter for each ID

    Hello i am trying to have a # of occurrences counter in a data set for each specific ID. I tried using the _N_ function, but that doesn't reset at...

    Started by cwick2521‎, 05-21-2015 01:40 PM
    • Replies: 5
    • Views: 565
    05-21-2015, 04:14 PM Go to last post
  59. SAS sources

    This looks like an amazing source for SAS material http://support.sas.com/resources/papers/proceedings10/185-2010.pdf

    Started by noetsi‎, 05-18-2015 09:28 AM
    • Replies: 0
    • Views: 482
    05-18-2015, 09:28 AM Go to last post

+ Post New Thread
Page 1 of 21 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