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

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: 17
    • Views: 2,245
    10-07-2013, 02:06 PM Go to last post
  1. CLASS function in PROC GENMOD

    Hi, Can anyone explain to me what I need to write in the CLASS statement when using PROC GENMOD? I was under the impression that I need to include...

    Started by Yickin‎, Yesterday 01:35 PM
    • Replies: 4
    • Views: 71
    Yesterday, 03:41 PM Go to last post
  2. 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: 1
    • Views: 48
    04-14-2014, 08:24 PM Go to last post
  3. (SAS) Merging and Creating new variables HELP

    I am trying to merge two data sets and then create new variables from these data sets. In my library, I have two data sets (cross1 and long1) with...

    Started by kernsaf‎, 04-09-2014 05:14 PM
    sas merge
    • Replies: 2
    • Views: 200
    04-13-2014, 04:38 PM Go to last post
  4. How to combin factorial split-plot experiment in sas? ( 2years expriment)

    Hi I am elementary user of sas, my experiment was 2 years agricultural experiment. The experiment was laid out in the factorial split-plot...

    Started by alexbt1‎, 04-10-2014 06:32 AM
    • Replies: 0
    • Views: 74
    04-10-2014, 06:32 AM Go to last post
  5. Multiple response problem in SAS

    Hi I am a beginner in SAS and I request for your help. I think this is called a multiple response data and how to I go about it. given data:...

    Started by anand_ger‎, 04-05-2014 02:24 PM
    multiple response sas
    • Replies: 1
    • Views: 182
    04-05-2014, 08:46 PM Go to last post
  6. Conditional logistic regression for polytomous covariates

    I am doing a Multivariate conditional regression analysis for case-control study based on a 4:1 matching. My outcome and response variables are both...

    Started by statsinsas‎, 04-02-2014 02:23 PM
    • Replies: 3
    • Views: 122
    04-02-2014, 02:53 PM Go to last post
  7. Very basic frequency help If I may.

    Hello all. Ok I'm returning to SAS after 5 years of not using it and am self training again from scratch. I've got my basic datastep stuff...

    Started by Stretlow‎, 03-26-2014 05:54 AM
    • Replies: 2
    • Views: 150
    04-01-2014, 02:52 AM Go to last post
  8. Finding Optimal Cutpoints for Continuous Covariates with Time-to-Event Outcomes

    I found this interesting article from MayoClinic, where they talked about a macro that finds a cut point for a continuous variable with a time to...

    Started by sandeep249‎, 03-27-2014 03:28 PM
    findcut, macro, sas
    • Replies: 2
    • Views: 162
    03-31-2014, 02:13 PM Go to last post
  9. SAS PROC GLIMMIX, logistic regression; how to code and interpret repeated measures?

    Hello: Thanks for reading this post! The core of my question has to do with how to correctly code repeated measures when the repeated effect (here...

    Started by skr01‎, 03-24-2014 03:26 PM
    glimmix, repeated measures
    • Replies: 0
    • Views: 155
    03-24-2014, 03:26 PM Go to last post
  10. Filter list - show the entries not matched

    Hi I am using a simple filter based on a list of company names to filter-out companies of relevance from a database. What I need to do then is to...

    Started by Laksefar‎, 03-24-2014 03:19 AM
    filter, filters, match, matches, not found
    • Replies: 0
    • Views: 76
    03-24-2014, 03:19 AM Go to last post
  11. 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: 0
    • Views: 97
    03-23-2014, 07:58 PM Go to last post
  12. Mixed Normal Distribution

    I have to generate 1000 numbers following mixed normal distribution, (80% N(0,1), 20% N(0,25)), and I have to show their distribution in the chart....

    Started by mboricgs‎, 03-20-2014 03:59 PM
    • Replies: 3
    • Views: 254
    03-22-2014, 09:49 AM Go to last post
  13. Proc Means & storing mean in a table

    I am running a means procedure on a bootstrap sample by replication number. Is there a way for me to output the mean of every replication in a table...

    Started by agp‎, 03-21-2014 10:02 AM
    • Replies: 2
    • Views: 99
    03-21-2014, 11:53 PM Go to last post
  14. continuous episodes of insurance coverage

    I am trying to construct episodes of coverage for patients in an insurance database. My episodes of coverage are continuous periods of time that a...

    Started by revans.evans‎, 03-21-2014 09:33 AM
    • Replies: 0
    • Views: 63
    03-21-2014, 09:33 AM Go to last post
  15. SAS Help

    Can someone help me with the code in SAS for the following. We just started using SAS after transferring from another program and I am lost with the...

    Started by stpr131545‎, 03-17-2014 08:50 PM
    • Replies: 1
    • Views: 182
    03-17-2014, 09:21 PM Go to last post
  16. problem in doing the sas programming

    proc iml; S = 10; N = 100; P = 5000; call randseed(12345); Res = {0 , 0}; do rep = 1 to S; X = j(N, P, .); Y = j(N, 2, .); call randgen(x,...

    Started by s991102‎, 03-14-2014 04:01 AM
    proc iml, simulate
    • Replies: 3
    • Views: 173
    03-15-2014, 11:15 PM Go to last post
  17. How to transpose Please Help.

    Hi I have just started working on SAS and I am a beginner.. Please help me how to transpose a simple data from rows to columns.. for ex: I...

    Started by anand_ger‎, 03-12-2014 03:39 PM
    rows to columns, sas, transpose
    • Replies: 2
    • Views: 177
    03-13-2014, 07:51 AM Go to last post
  18. outliers identification

    Hello, I am a student and i need detected outliers and influence in binary logistic regression. I use DFBETAS= names the standardized deletion...

    Started by Ingrid‎, 03-11-2014 10:09 AM
    • Replies: 6
    • Views: 190
    03-11-2014, 08:57 PM Go to last post
  19. Unhappy SAS reading data trouble. Filling empty variables.

    Hi, I'm new and I need some help. This is 1st time it happened to me. I was trying to read new file. It's tab delimited excel file, saved to .txt...

    Started by krzysiekyo71‎, 03-09-2014 09:02 AM
    input row variable
    • Replies: 1
    • Views: 162
    03-10-2014, 01:09 AM Go to last post
  20. Transformation didn't normalize the data set... now what?

    I study and insect that has a tendency to produce non-normal data sets. I have transformed my current data set using sqrt, sqrt + 0.5, log, log10...

    Started by FriskyBeetle‎, 03-06-2014 12:55 PM
    normality, transformation
    • Replies: 10
    • Views: 275
    03-06-2014, 04:42 PM Go to last post
  21. data generation

    Dear Sas users I want to extend this code. The 500 person in LC 1 and the other 5020 person in LC 2. On the other hand, 150 person in c0 should...

    Started by blau88‎, 03-06-2014 07:25 AM
    • Replies: 0
    • Views: 114
    03-06-2014, 07:25 AM Go to last post
  22. selecting one column values based on difference between members of another column

    Hi to all, i have data like this ASSAY MP Cm chr# XY1723 408068 1 XY1727 463360 1 XY1708 880744 1 XY1709 900596 1 XY487 ...

    Started by Genetist‎, 03-05-2014 02:58 AM
    • Replies: 1
    • Views: 108
    03-05-2014, 05:11 AM Go to last post
  23. Base SAS Programing: Calculating KPIs Over Different Time Ranges

    Hi all. I am trying to calculate values for KPIs over certain time ranges Response Rate, Conversion Rate and Yield. I need to use SAS to do this....

    Started by mgarret‎, 03-02-2014 08:43 PM
    sas, sas data manipulation, sas program
    • Replies: 0
    • Views: 105
    03-02-2014, 08:43 PM Go to last post
  24. Normality tests for SAS

    Hi All, I just ran the PROC MIXED for outputting the residual error in SAS I am wondering if I need to look at Shapiro-Wilk or Kolmogorov-Smirnov...

    Started by PhDscientist7‎, 01-13-2013 07:01 PM
    2 Pages
    1 2
    mixed model, normality test
    • Replies: 20
    • Views: 5,804
    02-28-2014, 12:35 AM Go to last post
  25. How to get the output using PROC MIXED for residual error to check for normality?

    I am using proc mixed for my analysis (RCBD), but don't know the SAS code for outputting the residual which I can use for checking normality. Can...

    Started by statques‎, 02-26-2014 01:36 PM
    normality test, predictions, proc mixed, sashelp
    • Replies: 1
    • Views: 132
    02-28-2014, 12:11 AM Go to last post
  26. Basic PROC REG question

    Say I fit a model proc reg data=data1; model y = x1 x2 x3; run; How do I take the parameter estimates and apply to another dataset, data2,...

    Started by agp‎, 02-14-2014 02:10 PM
    • Replies: 7
    • Views: 353
    02-19-2014, 07:49 AM Go to last post
  27. Lightbulb Excellent opportunities for SAS Programmers

    Hi Everyone, My name is Marta Nejman and I am consultant to Pharma and CRO industries at ProPharma Solutions. I am currently seeking SAS...

    Started by Marta Nejman‎, 02-13-2014 05:26 AM
    • Replies: 0
    • Views: 186
    02-13-2014, 05:26 AM Go to last post
  28. How to compare model fits

    What is a good way to compare nested models? For example, I have some proc mixed models like this, which are the same except for the fixed effects. :...

    Started by maziana‎, 02-10-2014 10:53 AM
    • Replies: 1
    • Views: 188
    02-13-2014, 02:41 AM Go to last post
  29. Proc mixed

    Hello all, I am a wee bit confused about the random statement in PROC MIXED, I thought maybe you can clarify it for me in simple words. Let's...

    Started by NN_STAT‎, 02-06-2014 05:53 AM
    mixed models
    • Replies: 2
    • Views: 238
    02-10-2014, 06:51 PM Go to last post
  30. Exclamation Need advice writing SAS programs to read datas

    4. The following table lists 3 personnel records of a company. Staff ID Birthday Monthly Salary A123 4 March...

    Started by Takumi‎, 02-07-2014 04:10 AM
    comma, data, reading data, sas, variables
    • Replies: 5
    • Views: 334
    02-09-2014, 05:41 AM Go to last post
  31. Why the macro within the datasetp loops only one time?

    Dear all: I have written a macro named %xscan. I used the macro within a datastep as follows: %macro doit; %do i=1 %to 2; ...

    Started by liufeng511‎, 02-09-2014 12:59 AM
    • Replies: 1
    • Views: 137
    02-09-2014, 01:09 AM Go to last post
  32. Exclamation Help***SAS - Fill missing value with the last non missing value variable

    Hi, I wanted to fill missing value with the last non missing value variable. +----------+--------+-------+ | Variable | Level | Value |...

    Started by sageev‎, 01-29-2014 04:12 PM
    missing data analysis, observation, sas, stat, variable
    • Replies: 1
    • Views: 282
    02-08-2014, 12:29 PM Go to last post
  33. SAS code for hot decker imputation

    I am just learning about using the hot decker imputation method to impute values in cases where values are missing in survey. I want to impute values...

    Started by qnguyen‎, 02-05-2014 04:58 PM
    • Replies: 2
    • Views: 158
    02-05-2014, 05:53 PM Go to last post
  34. How to Merge Large Datasets That Uses Different Sampling Frame?

    Hello All, I am new to this forum. I am trying merge large datasets that uses different sampling frames. How to go about doing so and how to ensure...

    Started by sapkota‎, 02-04-2014 11:36 AM
    • Replies: 3
    • Views: 237
    02-04-2014, 03:51 PM Go to last post
  35. Import messy Text to SAS

    Hi, I am trying to import text raw file to sas ( each data separated by space ). how can i clean up the date before import to sas ? is their...

    Started by sageev‎, 01-29-2014 09:49 AM
    • Replies: 0
    • Views: 154
    01-29-2014, 09:49 AM Go to last post
  36. Help with SAS GLIMMIX

    I have an experimental dataset that contains 2 between-subjects variables (Variable A and Variable B) and 1 within-subjects variable (Variable C)....

    Started by camper2014‎, 01-27-2014 04:14 PM
    • Replies: 0
    • Views: 222
    01-27-2014, 04:14 PM Go to last post
  37. Fitting the model with SAS INSIGHT

    Hy everyone :o I have a question about SAS insight. I'm trying to fit the gamma regression model, and I need Anscombe residuals. Since I can get...

    Started by Jadzia_Dax‎, 01-26-2014 09:24 AM
    • Replies: 0
    • Views: 178
    01-26-2014, 09:24 AM Go to last post
  38. multiple condition help in macros

    Hello all, please help in below step. i have a scenario where user might want all the 3 variables or he may want on 2 or etc in the any way he...

    Started by nit‎, 01-24-2014 09:04 AM
    sas enterprose guide, sas macro, sas program
    • Replies: 0
    • Views: 159
    01-24-2014, 09:04 AM Go to last post
  39. SAS Logistic Regression - High Wald Chi square for a binary variable

    I am working on an analytical task where I need to identify why a particular binary independent variable is having high Wald chi-square (approx....

    Started by RamShan‎, 01-21-2014 11:48 AM
    binary predictors, logistic regression, sas, wald chi2
    • Replies: 7
    • Views: 365
    01-21-2014, 08:26 PM Go to last post
  40. normal distribution for number of members by age

    Hello , I am trying to find out the normal distribution of number of members against each age-group. I have use the sas code but I am not sure if...

    Started by pp007‎, 01-10-2014 10:45 AM
    sas
    • Replies: 2
    • Views: 233
    01-20-2014, 08:52 AM Go to last post
  41. 90th Percentile record

    Hi I was wondering how do I get the 90th percentile record? I want to know which patient ID contains the 90th percentile. I don't have the code...

    Started by Janoose‎, 01-15-2014 09:02 PM
    • Replies: 1
    • Views: 189
    01-19-2014, 10:26 AM Go to last post
  42. Question Relearning SAS

    Greetings Does anyone know how to use the 'set' or 'infile' statement using SAS on Demand for Professionals (SODP)? Since it utilizes Enterprise...

    Started by m_edwards‎, 01-16-2014 05:58 AM
    beginner sas, enterprise guide coding, infile, set
    • Replies: 2
    • Views: 248
    01-19-2014, 10:24 AM Go to last post
  43. Proc surveyreg question

    I have a quick question about proc surveyreg. I understand that proc survey reg is appropriate for complex survey data with strata and clusters....

    Started by Michael91‎, 01-14-2014 05:25 PM
    • Replies: 1
    • Views: 211
    01-14-2014, 09:07 PM Go to last post
  44. Complex Logic Statement That Searches Multiple Variables

    Hi all, I'm trying to write code for something I will use describing candy. Basically my outcome is "sugar rush". I have a variable that...

    Started by imawesomeyourenot‎, 01-09-2014 07:51 PM
    array, if-then, logic
    • Replies: 7
    • Views: 351
    01-14-2014, 12:26 AM Go to last post
  45. Proc Discrim and interpretation

    Dear All, I have to analyze a small data set. 6 variables and 20 observation. I clustered 20 observation into 3 groups and I used Proc Discrim and...

    Started by masarimk‎, 05-13-2013 05:05 AM
    proc discriminant
    • Replies: 2
    • Views: 842
    01-10-2014, 06:48 AM Go to last post
  46. Linear extrapolation

    Dear who can help this out; I have state level socioeconomic data set from census, income, race ratio, marriage ratio, education level etc. It's...

    Started by markov‎, 01-04-2014 12:54 PM
    • Replies: 1
    • Views: 327
    01-06-2014, 04:49 PM Go to last post
  47. Unhappy Adjustment of colour and offset

    Hey everyone, Just a quick question. Can anyone help me adjust the colour and the offset for the graph I've produced? Basically when you look...

    Started by motiv3‎, 01-03-2014 05:26 PM
    • Replies: 0
    • Views: 177
    01-03-2014, 05:26 PM Go to last post
  48. Need Urgent Help constructing an Error Grid

    Hello everyone! Am new to this forum so any help you guys can offer would be greatly appreciated. Basically, I am a very very new SAS user who...

    Started by motiv3‎, 01-03-2014 01:41 PM
    • Replies: 1
    • Views: 164
    01-03-2014, 04:48 PM Go to last post
  49. what is wrong with my SAS codes?

    I have been trying to have SAS calculate tolerance and VIF by using the following codes: proc logistic data=uis descending; model DFREE = AGE...

    Started by t.wang21@yahoo.com.au‎, 12-26-2013 11:59 PM
    • Replies: 6
    • Views: 510
    01-03-2014, 11:44 AM Go to last post
  50. Help with modifying an exisiting program to handle a unique dataset

    I was wondering if anyone could help me with modifying existing program code to handle a unique dataset I have. My problem in a nutshell is that...

    Started by luxonand‎, 12-30-2013 06:09 PM
    • Replies: 1
    • Views: 235
    12-30-2013, 06:22 PM Go to last post
  51. Importing Excel with today's name to the filename

    I have a request for a data report. The data comes from an excel that gets update every morning. I am not sure how to assign today's date to the...

    Started by Janoose‎, 12-24-2013 01:13 PM
    • Replies: 2
    • Views: 277
    12-25-2013, 06:53 AM Go to last post
  52. Lag Function with dates

    Hi I have a table with patients and their visit history. I created this table by combining list of potential patient table with list of patient that...

    Started by Janoose‎, 12-20-2013 03:34 PM
    • Replies: 3
    • Views: 346
    12-25-2013, 05:03 AM Go to last post
  53. SGPLOT vbar

    Hi all: I'm using SGPLOT and the vbar option to print out a histogram. The values of the x-axis range from -14 to 18 (the column for the x-axis is...

    Started by lancearmstrong1313‎, 12-19-2013 06:54 AM
    • Replies: 0
    • Views: 258
    12-19-2013, 06:54 AM Go to last post
  54. Standard errors for bar chart

    Hi; I'm trying to create bar charts in SAS from proc surveyfreq output, with standard error bars attached. The code I have so far is as follows:...

    Started by Michael91‎, 12-19-2013 06:33 AM
    • Replies: 0
    • Views: 241
    12-19-2013, 06:33 AM Go to last post
  55. Joining tables MS Access vs SAS

    Hi I am not sure why the number of records is different when I join the two tables in Microsoft Access vs in SAS. here is a sample of the 2 tables...

    Started by Janoose‎, 12-17-2013 05:42 PM
    • Replies: 1
    • Views: 269
    12-17-2013, 05:54 PM Go to last post
  56. Please help! Project due tomorrow!

    I have a project due tomorrow and I am stuck, please help. I have to use SAS to use bootstrap re-sampling to create a 95% Confidence Interval. ...

    Started by purdueactuary‎, 12-05-2013 03:00 PM
    • Replies: 2
    • Views: 338
    12-17-2013, 03:34 PM Go to last post
  57. coeff's calculated based on subset; obtain pred probs for all

    Hi everyone, How do I run a logistic regression in SAS on a subset of the data (ex. where var1=0), and calculate predicted probabilities for all...

    Started by azaleah‎, 11-12-2013 01:13 PM
    • Replies: 1
    • Views: 483
    12-17-2013, 03:03 PM Go to last post
  58. Smile How to subset the extremly large dataset?

    Dear all; I have a extremly large tick by tick dataset. I used the proc sql process as following: (proc sql noprint; select ...

    Started by liufeng511‎, 12-11-2013 09:01 PM
    • Replies: 5
    • Views: 385
    12-13-2013, 06:32 AM Go to last post
  59. Logistic regression with predictor variables with both categorical & actual values

    I've got a data set with 40 variables with 30 variables each having certain observations that are coded (i.e. have values) from 1-6 describing...

    Started by excelmac‎, 12-05-2013 11:20 PM
    logistic regression, sas
    • Replies: 7
    • Views: 468
    12-12-2013, 03:38 AM Go to last post
  60. individual pred probs from lsmeans

    Is there a way to obtain the probabilities for each observation used to calculate LS-means from the LSMEANS statement in the Logistic procedure? Any...

    Started by azaleah‎, 12-02-2013 12:32 AM
    • Replies: 1
    • Views: 265
    12-11-2013, 07:42 PM Go to last post

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