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 file. If I double-click on it, I get a VIEWTABLE...
View ArticleODS 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 cut-off after 43 or so characters. For example, one row...
View ArticleAdd 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 certain conditions are met (like add a superscript if...
View ArticleBurr, 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 110,000 G 997,000 H 500,000 I'd like to produce an output set of total loss by the...
View Articleusing 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 create many datasets, for instance: data2009_1_1 data2009_1_2...
View ArticleAm I understanding this correctly?
What are the differences between... Quote: Work: Temporary working directory when library is not specified Working Directory: The location of the library Libraries Created by a Libname Statement:...
View ArticleOutput 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 paper? I'm using ods region and layout to define exactly...
View ArticleMap 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" and an Excel file which has the codes and which program...
View ArticleVariable 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 = (Aggress9 + Aggress10 + Aggress11 + Aggress12) /4 ; run; The log...
View ArticleHelp 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 motive3. This is the code I am currently using: proc...
View ArticleSAS 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 course description, I think I can handle the class. I...
View ArticleAre 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 interactions) always come up as non-estimable. Any...
View ArticleSAS 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 they answered those variables). I don't want to...
View ArticleHelp 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 population and determine the following probabilities...
View ArticleContrast 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 are not divided by motivation levels, but subjects in...
View ArticleComparing 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 markers to check their purity. my pedigree contains 8...
View Articlep-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 data=subset method=urs samprate=1 rep=1000 out=boot; run; proc...
View ArticleSAS 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 the number is not desired). I can get away with this...
View ArticleIs 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 row and use a function which uses the data of each of the...
View Articlesurvival analysis homework
In a study, times to death or relapse (in days) are observed for 23 non-Hodgkins lymphoma (NHL) patients, 11 of whom receiving an allogenic (Allo) transplant from an HLA-matched sibling donor and 12...
View Article