Quantcast
Channel: Statistics Help @ Talk Stats Forum - SAS
Browsing all 310 articles
Browse latest View live

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 Article


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 cut-off after 43 or so characters. For example, one row...

View Article


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 certain conditions are met (like add a superscript if...

View Article

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 110,000 G 997,000 H 500,000 I'd like to produce an output set of total loss by the...

View Article

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 create many datasets, for instance: data2009_1_1 data2009_1_2...

View Article


Am 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 Article

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 paper? I'm using ods region and layout to define exactly...

View Article

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" and an Excel file which has the codes and which program...

View Article


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 = (Aggress9 + Aggress10 + Aggress11 + Aggress12) /4 ; run; The log...

View Article


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 motive3. This is the code I am currently using: proc...

View Article

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 course description, I think I can handle the class. I...

View Article

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 interactions) always come up as non-estimable. Any...

View Article

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 they answered those variables). I don't want to...

View Article


Image may be NSFW.
Clik here to view.

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 population and determine the following probabilities...

View Article

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 are not divided by motivation levels, but subjects in...

View Article


Image may be NSFW.
Clik here to view.

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 markers to check their purity. my pedigree contains 8...

View Article

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 data=subset method=urs samprate=1 rep=1000 out=boot; run; proc...

View Article


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 the number is not desired). I can get away with this...

View Article

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 row and use a function which uses the data of each of the...

View Article

survival analysis homework

In a study, times to death or relapse (in days) are observed for 23 non-Hodgkin’s lymphoma (NHL) patients, 11 of whom receiving an allogenic (Allo) transplant from an HLA-matched sibling donor and 12...

View Article
Browsing all 310 articles
Browse latest View live