Creating an AI Assistant for SAS Viya in 5 steps (@sassoftware/viya-assistantjs) - Part I
Recent Library Articles
Recently in the SAS Community Library: SAS' @kumardeva debunks the myth that developing AI assistants is too hard. He shows you how to use the @sassoftware/viya-assistantjs library to jump start your development.
Hi, Could you please give me some hints on how to generate this kind of density estimate graph? Which statements and options? Thank you so much!
... View more
Please direct me if I am in the wrong location. I will still ask the question here. I have sas 9.4 version TS1M7. I have difficulty scrolling up and down the Enhanced Editor Window. its very lagging, but log window is working with sufficient speed. How to fix this. I tried changing the size of the font and different options in SAS> Tools sections.. How to solve this issue
... View more
Hello, I'm analyzing data from a randomized complete block design at multiple sites across multiple years. There are 4 blocks (1-4) at each site, so block is nested within each site (block(site)). I am trying to run this as a simple mixed model and also as a repeated measures. I would just like to know if my coding is correct for both. Any insight would be appreciated. Thanks. A single year analysis to start : proc mixed ; class Site Block Treatment; model biomass = Site|Treatment; random Block(Site); run; Multiple years without repeated statement. Random terms: block nested within site and then block*site*treatment to account for multiple observations across years. proc mixed ; class Year Site Block Treatment; model biomass = Year|Site|Treatment; random Block(Site) Block*Site*Treatment; run; Multiple years with repeated measures, but I'm unsure how to show that block is nested within each site (maybe the interaction accounts for this). proc mixed ; class Year Site Block Treatment; model biomass = Year|Site|Treatment/ddfm=kr; repeated Year / SUB= Site*Block*Treatment type=un ; run;
... View more
Dear SAS Community,
When I opened the project, I saw this problem, Maybe who found this problem, could you help me, I can't find a backup file.
... View more
Hi there, I have googled similar questions but could not find answers that I can understand. So here I am asking for your help! What I want to know is how to get results separately in a group. Example (just copied and pasted from Excel) ID Weight Treatment kcal 1 NW A 400 2 NW A 500 3 OW A 560 4 NW A 800 5 OW A 490 6 NW A 500 7 OW A 400 8 OW A 700 9 NW A 900 1 NW B 580 2 NW B 600 3 OW B 800 4 NW B 500 5 OW B 600 6 NW B 800 7 OW B 700 8 OW B 500 9 NW B 780 1 NW C 570 2 NW C 670 3 OW C 570 4 NW C 400 5 OW C 600 6 NW C 800 7 OW C 800 8 OW C 500 9 NW C 800 In this example, I am going to run one-way repeated measures ANOVA to see if there is a treatment effect (A, B, C) on subsequent calorie intake (kcal). However, I want to see the result separately for each body weight status (NW=normal weight & OW=overweight). Please ignore the small sample size because this is just an example. In SPSS, we can "split file" and then get results for both NW and OW separately in any analysis conducted after that. I am an absolute beginner of SAS and have never edited the code. Just importing excel files for each analysis and selecting some commands. Therefore, I'd appreciate if you could explain in a comprehensive way if it involves code! TIA
... View more