Recent Activity
Hi,
I am trying to crawl a large number of tables. The job has been running for several hours. How can I stop it?
Kind regards,
Klaus
... View more

0
3
Dear SAS Community,
Looking at the this graph, I would like to know if the percentage of PeelColor 3 (red) is significantly different between the Variety BL516 and Hass for the Season 2021. PeelColor is the dep categorical variable (ordinal) with more than 2 levels.
If I am correct, with an lsmestimate statement I should be able to answer that, so this is the code I am using. However I would like to know how to specify the level of the dep var (PeelColor=3) for this comparison.
proc logistic data=one desc; where Season=2021; class Variety/param=glm; model PeelColor= Variety/ link=clogit/*y is ordinal*/ ; lsmeans Variety/diff; lsmestimate Variety 'BL516 vs Hass' 0 0 0 0 0 1 0 0 0 0 -1/adjust=simulate(seed=1); run;
I would greatly appreciate your help!
Thanks
... View more

0
2
I'm new to SAS (v9.4) and statistics in general. I want to do an ordinal logistic regression (N = 430 employees) . My dependent and independent variables are ordinals. Job Satisfaction (scaled from 1 -5) and Work Respect (scaled from 1 - 4). I have 35 potential covariates (confounders) and I want to come up with a reduced number of variables that are greatly de-correlated from each other before adding them to my model. These covariates are binary, ordinal, continuous, and nominal variables. I'm at a loss/unsure which SAS function(s) to use to remove / drastically reduce any co-dependencies within these variables. Will de-correlation via GVIF work for all or will CATPCA analysis be enough? The SAS functions I've looked at either work for categorical variables only (ordinals and nominals) or some combination of three out of four variable types. What do you recommend I do to eliminate collinearity amongst mixed variables? PS Grok 3 says I need to do individual de-correlation procedures suitable for each variable type. I'm hesitant to believe it for now. I am concerned that, for example, a reduced continuous variable set might correlate with reduced ordinal set, if I perform separate analyses. EDIT ... made a slight change for better clarity.
... View more

0
27
I have a program that runs and it exports the log out to an external file for audit / tracking purposes. However this is not very useful for me while running the code. I want to be able to see the log in the SAS window as the codes are running and then jut have the log also in the external file for audit purposes.
... View more

0
10
Hi SAS Community! The aim id to calculate the sample size for average bioequivalence trial. I would like to replicate the below example from "Sample Size Calculations in Clinical Research" by Chow and Shao (3rd edition). Below you can see the formula that is used as well. So, with the SD=0.4, delta = 0.05, limit = 0.223, alpha = 0.05 and 80% power I am using the below code: proc power; twosamplemeans test=equiv_diff DIST=NORMAL lower = -0.223 upper = 0.223 meandiff = 0.05 stddev = 0.4 npergroup = . power = 0.8; run; But I am getting 69 subjects required, not 21 (as in the book, or 24 from the table approximation) Is there a different formula SAS is using? Or should I use a different procedure? Sorry if I am missing something, just trying to get my head around that. Thank you Guys, Agnieszka
... View more

0
3
Unanswered topics
These topics from the past 30 days have no replies. Can you help?