comp.soft-sys.sas - The SAS statistics package.
Hi, all, I want to do a trend test of the positivity rate along with year. We only have 5 years data. Here is the data: Year Rate 1999 9.3 2000 9.2 2001 9.3 2002 9.9 2003 9.3 What's the best way to test the trend and get the CI wih so few dots? Thank you very much for your help! Sarah
I have a simple ANOVA design: Independent (class) variable = x (ordered categorical, four levels [1,2,3,4]) Dependent variable = y (continuous) I wish to: 1. Use proc glm (or another proc) to test for a linear relationship (trend) between the class variable and y. 2. Save the p-value for the test in a dataset (for merging and table-production). As a first pass, I tried the code: proc glm data = dsname; class x; model y = x; estimate "Linear trend for x" x 3 -1 1 3; run; (I took the 'estimate' line from an earlier post in SAS-L). This doesn't seem to work, however. I get this message: NOTE: Linear trend for x is not estimable. My first thought was that maybe SAS was using the formatted values of x (which are non-numeric), but I don't think that's the issue (the default should be to treat x in its original numeric form, I believe). Any suggestions?
Hi All, I am little bit confused while performing this test. I looked up the web found two options 1) Using Jt option in proc freq(sas calls this Jonckheere tepesta 2) ordering the doses and using kandell correction in proc correlate I am not very clear about the difference between the two as I get different results from these. Can anybody explain me the difference between the two. Can anybody suggest me how to perform non parametric jonkheere test Thanks in advance Thanks Ankur