Re: What to do if anything bites. #3034 (3/9/2010 8:04:20 PM) comp.soft-sys.sas hi ... you would think that a note to this list would have a subject line of "What to do if anything bytes" -- Mike Zdeb U@Albany School of Public Health One University Place Rensselaer, New York 12144-3456 P/... msz03
Re: Check if a Variable is Null or not0203 (3/8/2010 7:43:24 PM) comp.soft-sys.sas hi ... courtesy of stuff in a data _null_ posting a couple weeks ago
you could turn this into a macro ...
data test;
set sashelp.class;
do j=1 to 1000;
call missing(height,name);
if ranuni(0) le 0... msz03
Re: Graph Help #3016 (3/6/2010 5:51:01 PM) comp.soft-sys.sas hi ... maybe this will help ... it will do a vertical bar chart using the data set SASHELP.AIR the bars are labeled with the MEAN an annotate data set is used to add the MEDIAN inside the top of each bar * f... msz03
Re: sum by every n rows. #2063 (3/4/2010 6:23:34 PM) comp.soft-sys.sas hi ... if you can live with the sum on each of the two lines ... data have; input n x @@; datalines; 1 -1 2 -50 3 -2 4 -1 5 1 6 -1 7 3 8 2 9 2 10 -2... msz03
Re: Regarding Graph output #2020 (3/4/2010 3:35:00 PM) comp.soft-sys.sas hi ... here's an idea (I think I interpreted your question correctly) * test data, three observations per year; data test; input year change; output; change = change + ceil(10 * ranuni(123)); output; change =... msz03
Re: datasets #9018 (3/4/2010 2:36:03 PM) comp.soft-sys.sas hi ... also, take a look at ... "SAS Online Resources for Statistics Education" http://support.sas.com/learn/statlibrary/statlib_eg4.2/ and click on DOWNLOAD DATA SETS caution ... on the data sets page, the... msz03
Re: Week()032 (3/3/2010 6:28:38 PM) comp.soft-sys.sas hi ... INTCK requires numeric variables as arguments if you are specifying the dates as literals, express your dates a bit differently and use a date constant ... data _null_; week_var = INTCK('WEEK', '11jan2... msz03
Re: array for first date #4024 (3/3/2010 5:46:04 PM) comp.soft-sys.sas hi ... as for arrays ... though not 100% true, arrays are usually used to work with data WITHIN an observation rather than ACROSS observations since they normally contain the variable values from a given obser... msz03
Re: Ranking by State #3018 (3/3/2010 1:54:45 AM) comp.soft-sys.sas hi ... didn't notice descending order of rank ... just use stuff in last posting below and add descending ... proc rank data=y out=y descending; var sumval; by color; ranks rank; run; ps if you really want... msz03
Re: Ranking by State #2022 (3/3/2010 1:45:33 AM) comp.soft-sys.sas hi ... here's another idea ... data x; input state : $2. sumval color : $6.; datalines; AK 10 Red AK 12 Blue AK 7 Green AZ 3 Yellow AZ 5 ... msz03
Merge if a date is within two quarters?3110 (3/2/2010 4:15:38 AM) comp.soft-sys.sas Hi,
Suppose I want to merge two files like this:
CAR.TXT
CAR QUARTER BRAKELEVEL
TOYOTA 1992q1 100
TOYOTA 1992q2 300
TOYOTA 1992q3
TOYOTA 1992q4
TOYO... H
CONVERTING a ".sas" file into ".dat" file2206 (3/2/2010 8:58:47 AM) comp.soft-sys.sas hello ,
i use the codes first to import from excel and second to convert
from .xls to .sas format .But I need to have the data in .dat
format.Kindly guide :-
(1)
PROC IMPORT OUT= WORK.MARCH
... mark
Ranking by State6276 (3/2/2010 11:14:10 PM) comp.soft-sys.sas I need help figuring out how to rank my results by state.For each
color what is the rank(based on SumVal) for all states .. I have this
SAS dataset
State sumval Color
AK 10 Red
AK ... sdlentertd(64)
array for first date6123 (3/3/2010 4:18:56 PM) comp.soft-sys.sas Hi all,
I have a repeated measures dataset (6 measures on each pt) where I need to
capture the date of first event.
The layout of what I have looks like this for a typical pt:
ID SAMPLE SAMPLE_DATE EV... uralva(9)
Week()2124 (3/3/2010 5:31:47 PM) comp.soft-sys.sas I use the code -
data week;
set sales;
week_var = INTCK('WEEK','01/11/2009','07/11/2009');
proc print data = week;
run;
It gives me an error in log-
NOTE: Character values have been converted t... mark.chase91(19)
datasets3115 (3/3/2010 9:27:01 PM) comp.soft-sys.sas hello everyone
i am looking for datasets on the web,help would be great
i would like to test a macro that loop across many vartiables and
preferably not normalised variables.
anyone got any idea where i ca... sofiane
Regarding Graph output1161 (3/4/2010 1:57:09 AM) comp.soft-sys.sas Dear all,
I am creating graphs of change from baseline of mean scores by visits. In
my output I am getting some reverse bars as the mean change is negative. Is
there any way to get all of them upward? I used... titaan08(9)
sum by every n rows.7236 (3/4/2010 8:53:44 AM) comp.soft-sys.sas Hi,
Could anyone help me on summing following dataset ?
I have n, x variables and would like to calculate for sum by every 2
rows .
n x sum_by_every_2_rows
1 -1
2 -50 -51
3 -2
4 -1 -3
5 1
6 -1 0
7 ... db
Graph Help3170 (3/6/2010 12:08:39 AM) comp.soft-sys.sas Hello all,
I am a novice to graphs. I have a task here. I finished a bar chart of mean
score across several visits of different groups. I had mean scores on the
bars as well. Along with them I need to put P ... titaan08(9)
What to do if anything bites.5104 (3/8/2010 1:40:03 PM) comp.lang.python What to do if anything bites.
Check our bites treatment at
http://108ambulance.blogspot.com/2010/03/108-ambulance-home-page.html
... Google