1. 10-14-2010
    Views:
    10,366
+ Post New Thread
Page 2 of 16 FirstFirst 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 LastLast
Threads 61 to 120 of 903

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
    • Replies: 12
    • Views: 880
    06-10-2013, 12:03 PM Go to last post
  1. Variable labels in Proc Mixed

    I am analysing multiple variables var1 - var10 which have labels. They are named as such so that running a do loop is easy in a Macro. When running...

    Started by emily.stats‎, 03-20-2013 04:12 AM
    labels, proc mixed, sas
    • Replies: 4
    • Views: 330
    03-22-2013, 01:12 PM Go to last post
  2. merging one-to-many with multiple variables and dropping observations

    I hate to do this, but I just can't figure this out. I'm trying to merge two sets of data, one of them is a year by year panel of corporate info and...

    Started by vikingo‎, 03-22-2013 09:45 AM
    • Replies: 1
    • Views: 215
    03-22-2013, 01:06 PM Go to last post
  3. Simulating a data set

    I want to simulate a data set for a dependent variable that takes on two levels (0 and 1). I want one of the IV to be linearly related to the DV and...

    Started by noetsi‎, 03-18-2013 06:48 PM
    • Replies: 11
    • Views: 420
    03-19-2013, 11:37 AM Go to last post
  4. Telling me residual not found but i defined it! Pleaseeee help!

    data; input ENGINE $ SHAFTS RPM CPRATIO INLET-TEMP EXH-TEMP AIRFLOW POWER HEATRATE; if ENGINE='Traditional' then dummy=1; if ENGINE= ‘Advanced’...

    Started by wodnerdreamlove401‎, 03-14-2013 02:42 AM
    • Replies: 1
    • Views: 210
    03-15-2013, 08:41 AM Go to last post
  5. Saving odds ratios from proc logistic macro

    Hi, I have been using a macro to run logistic regressions for several independent variables using proc logistic. I would like to know if it is...

    Started by Disvengeance‎, 03-08-2013 12:12 PM
    • Replies: 3
    • Views: 412
    03-08-2013, 03:01 PM Go to last post
  6. SAS error 22-322 Expecting one of the following

    Data ConcreteAggregatePaving; set dtdb2cms.T_MSIDR; where SIDR_MTRL_CODE eq (001230117,001240117,001030016,...

    Started by EricaG‎, 03-06-2013 01:11 PM
    • Replies: 2
    • Views: 420
    03-06-2013, 08:19 PM Go to last post
  7. Need help with unbalanced design

    Hi Everyone, I have data from an experiment with a RCBD. The main independent variable of interest is crop variety (var). In 2011, we conducted...

    Started by gigi1234‎, 03-06-2013 01:39 PM
    • Replies: 0
    • Views: 182
    03-06-2013, 01:39 PM Go to last post
  8. SAS Course

    hey guys... I decided to take "SAS Enterprise Guide 1: Querying and Reporting" course. I do not have programming background but after reading the...

    Started by viral‎, 02-12-2013 08:45 PM
    2 Pages
    1 2
    • Replies: 18
    • Views: 746
    03-06-2013, 12:52 PM Go to last post
  9. Logistic Regression and list wise deletion

    This is part a coding issue and part a question on regression, but I put it here. Logistic regression in SAS does listwise deletion so that if you...

    Started by noetsi‎, 03-05-2013 04:44 PM
    • Replies: 6
    • Views: 331
    03-05-2013, 07:01 PM Go to last post
  10. Transforming dataset (array?)

    Hello all: I'm not quite sure of the best way to accomplish what I'm trying to do. Currently, I have a dataset that looks like: data test;...

    Started by lancearmstrong1313‎, 03-05-2013 08:23 AM
    • Replies: 1
    • Views: 211
    03-05-2013, 08:28 AM Go to last post
  11. If/Then Statement Help

    Hi Everyone, I am trying to create an if then statement that states if my variable (WWT) is between this range then it equals a set value. This...

    Started by ebcook‎, 03-04-2013 08:55 AM
    • Replies: 2
    • Views: 229
    03-04-2013, 11:31 AM Go to last post
  12. High frequency data challenge! Help!

    I have a second-by-second data. I want to choose an observation every 5 minutes. If the data stops at 16:42:02 which is less than 17:30:00, I want to...

    Started by hanraining‎, 03-04-2013 04:49 AM
    • Replies: 0
    • Views: 265
    03-04-2013, 04:49 AM Go to last post
  13. Help with SAS assignment - I do not know how to do this in SAS??

    Study the notes “Simulations in SAS” and answer the questions that follow. Questions 1. Draw 10000 values randomly from a standard normal...

    Started by JessicaRLS‎, 02-18-2013 11:29 AM
    • Replies: 7
    • Views: 487
    03-02-2013, 08:28 PM Go to last post
  14. survival analysis homework

    message erased.

    Started by fluffymiao‎, 02-28-2013 10:06 AM
    • Replies: 1
    • Views: 344
    03-01-2013, 09:56 AM Go to last post
  15. Question Using proc freq on pairs of variables (error in the merge and do-loop of my macro)

    Hello all, I need some help with a macro. My goal is to take a dataset of multiple variables and find how many times unique combinations of pairs...

    Started by kthenaj‎, 12-23-2012 09:49 AM
    • Replies: 2
    • Views: 411
    02-28-2013, 11:29 AM Go to last post
  16. Is it possible to SAS to pocess each row indvidually

    Is it possible to SAS to process each row individually? So for example, I have a data set: Name Age a 1 b 2 I would like to loop through each...

    Started by tlau3128‎, 02-27-2013 07:11 AM
    • Replies: 2
    • Views: 220
    02-27-2013, 09:39 PM Go to last post
  17. p-value for bootstrap logistic regression

    I am new with sas and I'm doing logistic regression with several predictive variables. I am using the following code; proc surveyselect ...

    Started by azrul‎, 02-24-2013 08:16 PM
    code for this please, logistic regression, logistic uncertainty, sas
    • Replies: 2
    • Views: 321
    02-27-2013, 08:29 PM Go to last post
  18. SAS logistics not running.

    I have a model where I really want to run 41 dummy predictor variables (because each one is important to assess and using factor analysis to reduce...

    Started by noetsi‎, 02-26-2013 02:42 PM
    • Replies: 7
    • Views: 388
    02-26-2013, 05:25 PM Go to last post
  19. Comparing and filtering observations

    Hi all, I need help in solving this question for my research work. My data looks like this We finger printed plant samples with different molecular...

    Started by Genetist‎, 02-18-2013 10:47 PM
    • Replies: 5
    • Views: 307
    02-20-2013, 10:24 AM Go to last post
  20. SAS Factor Analysis

    Apparently Factor Analysis in SAS does list wise deletion. If any individual is missing on any variable they are deleted for all variables (even if...

    Started by noetsi‎, 02-15-2013 01:32 PM
    • Replies: 3
    • Views: 404
    02-19-2013, 11:58 AM Go to last post
  21. Contrast statement for 2 factors with 3 levels each - proc mixed

    I have 3 groups for a study (A, B, C) made up of subjects with 3 different motivation levels (motive1, motive2, motive3). The subjects in Group A...

    Started by nualabob‎, 02-18-2013 11:50 AM
    • Replies: 0
    • Views: 250
    02-18-2013, 11:50 AM Go to last post
  22. Are non-estimable lsmeans always a problem?

    I've been playing around with mixed model code over the last few days, and it seems that no matter what I do, some of my lsmeans (for 2 different...

    Started by nualabob‎, 02-13-2013 11:32 AM
    • Replies: 1
    • Views: 307
    02-13-2013, 01:29 PM Go to last post
  23. Variable and Dataset Confusion

    I have imported an Excel spreadsheet into SAS as WORK.X1. I am trying these lines: proc freq data = x1 ; data x2 ; PhysicalAggression =...

    Started by raywood‎, 02-12-2013 12:31 AM
    declare, initialization, initialize, initializing, variables
    • Replies: 2
    • Views: 381
    02-12-2013, 06:56 PM Go to last post
  24. Help with mixed model code

    I'm working with a mixed model to determine differences in liking for a food over a 16 week period based on covariates labeled group, diff3, and...

    Started by nualabob‎, 02-12-2013 11:40 AM
    • Replies: 0
    • Views: 201
    02-12-2013, 11:40 AM Go to last post
  25. Output PDF file to 11x17 page?

    Hello all: I'm know the standard, default page size is 8.5 x 11. However, is there a way to tell SAS that you want to create a PDF using 11 x 17...

    Started by lancearmstrong1313‎, 02-11-2013 06:18 AM
    • Replies: 1
    • Views: 247
    02-12-2013, 09:13 AM Go to last post
  26. Map Variable Values from Excel

    Hi, I have an alpha-numeric variable which is a code representing which program a payment was issued from. For example A1 would be from "Loans"...

    Started by cfmg‎, 02-11-2013 10:24 AM
    • Replies: 6
    • Views: 362
    02-11-2013, 02:05 PM Go to last post
  27. Importing from Excel: SAS Newbie

    I have an Excel table. In SAS 9.2, I can use File > Import Data to bring that table into the SAS Explorer pane: contents of Work now includes that...

    Started by raywood‎, 02-04-2013 03:27 PM
    excel, import, refer, references, syntax
    • Replies: 5
    • Views: 490
    02-10-2013, 09:31 PM Go to last post
  28. Am I understanding this correctly?

    What are the differences between... Am I correct?

    Started by agp‎, 02-10-2013 06:33 PM
    • Replies: 1
    • Views: 216
    02-10-2013, 08:35 PM Go to last post
  29. Time Series Code; Help

    Hi Folks, I'm trying to fit a time series curve which I need to apply for different data. I used Proc Forecast to get the estimates. I need to...

    Started by kardown‎, 02-10-2013 10:05 AM
    forecast, scorecard, time series
    • Replies: 0
    • Views: 226
    02-10-2013, 10:05 AM Go to last post
  30. Burr, Pareto and LogNormal Distributions

    I have a data set of the following loss figures Acct Loss A 250,000 B 325,000 C 450,000 D 125,000 E 680,000 F ...

    Started by greg6363‎, 02-07-2013 10:11 PM
    • Replies: 1
    • Views: 317
    02-09-2013, 07:22 PM Go to last post
  31. using the "-" symbol to refer to many datasets

    Hello all, hopefully someone can help understand why something is not working. To summarize some background, I used macros and do-loops to...

    Started by lancearmstrong1313‎, 02-08-2013 07:36 AM
    • Replies: 2
    • Views: 192
    02-08-2013, 08:09 AM Go to last post
  32. Thumbs up SAS repeated measures ANOVA, comparison of within-time effects?

    Hey guys, this is my first post, so thanks in advance for reading. I am using SAS, and comparing the effects of a drug on a biological measure,...

    Started by cdhowar‎, 01-16-2013 08:49 AM
    • Replies: 2
    • Views: 351
    02-07-2013, 02:05 PM Go to last post
  33. Add superscript to specific cell in PROC REPORT

    Hello: I need some help figuring out how to add a superscript to a specific cell in a PROC REPORT table. It has nothing to do with whether or not...

    Started by lancearmstrong1313‎, 02-06-2013 01:36 PM
    • Replies: 0
    • Views: 247
    02-06-2013, 01:36 PM Go to last post
  34. ODS Tagsets.ExcelXP - resulting excel rows cutting off some text

    Hello all: I'm using ODS TAGSETS.EXCELXP to send some PROC REPORT tables into excel. However, I have noticed that some text in the columns gets...

    Started by lancearmstrong1313‎, 02-05-2013 07:07 AM
    • Replies: 1
    • Views: 268
    02-05-2013, 02:33 PM Go to last post
  35. Proc Compare

    Hi to everyone, we did genetic purity test with SNP (44) markers for 200 lines with 8 plants in each line (Total 1600 data points) to know how pure...

    Started by Genetist‎, 02-04-2013 10:24 AM
    • Replies: 2
    • Views: 219
    02-04-2013, 05:39 PM Go to last post
  36. LSMeans statement PROC MIXED

    Hi there, I keep getting non-estimatable statement when I run LSMeans with PROC MIXED. Any feedback on why this is happening? Thanks!

    Started by PhDscientist7‎, 01-29-2013 03:40 PM
    • Replies: 5
    • Views: 424
    01-30-2013, 07:48 PM Go to last post
  37. Using correlation matrix for EFA

    I know that (in theory) you can use a correlation matrix rather than the raw data to do EFA. Does anyone know how to do this in SAS?

    Started by noetsi‎, 01-30-2013 11:16 AM
    • Replies: 1
    • Views: 212
    01-30-2013, 03:32 PM Go to last post
  38. Proc glm lsmean cov

    when i use ods to output LSmeans statement ' COV , Obs _NAME_ drug LSMEAN STDERR NUMBER COV1 COV2 ...

    Started by jccg133133‎, 01-29-2013 03:33 PM
    • Replies: 0
    • Views: 150
    01-29-2013, 03:33 PM Go to last post
  39. ODS LAYOUT alternative?

    Is there any simple code to divide a PDF page into 4 equal sized quadrants (essentially 2 columns and 2 rows where each of the 4 cells is equal...

    Started by lancearmstrong1313‎, 01-29-2013 09:15 AM
    • Replies: 0
    • Views: 186
    01-29-2013, 09:15 AM Go to last post
  40. DO LOOP question

    Hello all, I have a question about how best to accomplish something via a do loop (or perhaps there is a better way?). Hopefully I can explain my...

    Started by lancearmstrong1313‎, 01-25-2013 08:23 AM
    • Replies: 3
    • Views: 211
    01-29-2013, 08:32 AM Go to last post
  41. polychoric correlations in SAS

    Does anyone know if you can use polychoric correlations in SAS for factor analysis?

    Started by noetsi‎, 01-28-2013 01:17 PM
    • Replies: 4
    • Views: 333
    01-28-2013, 07:22 PM Go to last post
  42. Insetting descriptive stats table in SGPANEL

    Hello all: I'm curious if anyone know how to insert a small text box containing descriptive statistics information (mean, n, std. dev....) within...

    Started by lancearmstrong1313‎, 01-28-2013 01:40 PM
    • Replies: 0
    • Views: 215
    01-28-2013, 01:40 PM Go to last post
  43. Adding line break in label statement PROC SGPLOT

    hello all, I've had issues with PROC SGPLOT before (for instance needing to use UNICODE instead of super to add a superscript to text in the...

    Started by lancearmstrong1313‎, 01-25-2013 10:08 AM
    • Replies: 0
    • Views: 317
    01-25-2013, 10:08 AM Go to last post
  44. Help with PROC MIXED Statement

    Hi All, I am trying to see the effect of trt on calorie intake. I have 2 trts -1 trt and 1 control Communities -a and b Timepoints -1, 2, 3 My...

    Started by PhDscientist7‎, 01-21-2013 06:15 PM
    • Replies: 8
    • Views: 314
    01-24-2013, 09:46 PM Go to last post
  45. Measuring socioeconomic status

    Hi All, I am analyzing the socioeconomic and demographic status part of my data. I have many indicators. I want to do descriptive and bivariate...

    Started by PhDscientist7‎, 01-24-2013 03:28 PM
    • Replies: 5
    • Views: 281
    01-24-2013, 04:39 PM Go to last post
  46. Exporting to SAS from big excel file with 10,000 rows and 1000 columns/reorganizing

    Dear Friends, thanks in advance for your support and help. I have a big excel file which needs to be exported into sas. I need to reorganize the data...

    Started by davvy75‎, 01-23-2013 12:13 AM
    • Replies: 4
    • Views: 404
    01-23-2013, 11:50 AM Go to last post
  47. Logistic regression diagnostics

    I used to know this, but.... I am beginning a major new project using bivariate logistic regression. I know the assumptions for OLS (and how you...

    Started by noetsi‎, 01-22-2013 05:16 PM
    • Replies: 0
    • Views: 327
    01-22-2013, 05:16 PM Go to last post
  48. 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
    • Replies: 17
    • Views: 1,720
    01-19-2013, 07:51 PM Go to last post
  49. QUESTION: Chunk test of interaction terms using PROC GENMOD

    Hi all, This is probably a no-brainer for some of you, but I haven't been able to properly understand the syntax for the CONTRAST statement in PROC...

    Started by Nicapyke‎, 01-12-2013 04:26 PM
    • Replies: 1
    • Views: 545
    01-16-2013, 09:37 AM Go to last post
  50. Question Removing saved entries in SAS Prompt Manager

    I have a series of SQL queries in my SAS code that I use to connect to an Oracle database. I use the prompt manager to enter my passwords in the...

    Started by ewillis09‎, 01-15-2013 12:47 PM
    • Replies: 0
    • Views: 218
    01-15-2013, 12:47 PM Go to last post
  51. Specified date as macro Variable

    I need to create a macro variable "cutoff" which would be a specified date in the mm/dd/yy format using the macro function in SAS (e.g. %let ...). I...

    Started by ewillis09‎, 12-31-2012 11:55 AM
    • Replies: 4
    • Views: 486
    12-31-2012, 01:05 PM Go to last post
  52. Macros?

    Hello, I am relatively new here and trying to work on some homework. I've been doing rather well in my SAS class, however I just do not seem to...

    Started by dart246‎, 12-14-2012 05:58 PM
    • Replies: 1
    • Views: 419
    12-17-2012, 09:07 AM Go to last post
  53. how to read an formated excel file?

    Dear all:When I read an excel file with formated datetime with proc import process, I can only get the date part, the tim parts were lost. How to...

    Started by liufeng511‎, 12-10-2012 07:01 PM
    • Replies: 2
    • Views: 324
    12-16-2012, 07:38 PM Go to last post
  54. URGENT DEADLINE instrument variable in Cox model

    Hello, I am studying the determinants of the adoption of a technology by firms. I first used a Cox model through the PHREG procedure. The thing...

    Started by Florent JANIN‎, 12-13-2012 06:50 PM
    instrument in phreg
    • Replies: 0
    • Views: 389
    12-13-2012, 06:50 PM Go to last post
  55. Difficult interpretation with PROC Glimmix

    Hello everyone, I have another interpretation question regarding PROC Glimmix, this is quite complicated, I am quite lost. I have managed to fit the...

    Started by NN_STAT‎, 12-12-2012 08:25 AM
    • Replies: 3
    • Views: 453
    12-13-2012, 02:17 AM Go to last post
  56. warning:Ignorning second data reference

    Hi all: When I use the following proc : proc append base=onemin base=closest;run; The log displays the warning: ...

    Started by liufeng511‎, 12-12-2012 06:08 AM
    • Replies: 2
    • Views: 251
    12-12-2012, 06:55 PM Go to last post
  57. A few basic questions

    Hello, I'm just getting started with sas and wondering if someone can give me some tips. I have the 3 data lines below. I'd like to programmatically...

    Started by eggman2001‎, 12-09-2012 11:01 AM
    • Replies: 3
    • Views: 397
    12-09-2012, 03:54 PM Go to last post
  58. PROC Glimmix - need help with interpretations of the results

    Hello I ran PROC Glimmix to fit a generalized mixed model for an ordinal response with 6 categories. I have one fixed effect T (treatment) with 3...

    Started by NN_STAT‎, 12-09-2012 03:44 AM
    • Replies: 1
    • Views: 582
    12-09-2012, 09:37 AM Go to last post
  59. Printing the variables names in the output

    I have the following program in SAS: Is there a way to create an output where I can see the variable names displayed for gender? I'd like to see...

    Started by pandyav‎, 12-06-2012 04:04 PM
    • Replies: 7
    • Views: 408
    12-08-2012, 12:05 PM Go to last post
  60. How to move a SAS dataset with formats (stored in a sas7bcat library) to Stata ??

    Hi, How can I move a SAS dataset (all numeric variables) with formats (manually defined for 470 variables and saved within a SAS library file) to...

    Started by shel1234‎, 12-07-2012 12:56 PM
    sas format stata
    • Replies: 3
    • Views: 409
    12-07-2012, 01:47 PM Go to last post

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