A programmer wants to define a table parameter in a macro within SAS Viya. Which of the following methods correctly defines a parameter that allows the macro to accept a table name?
A data analyst needs to append two tables, `sales2019` and `sales2020`, which reside in the CAS environment. Both tables have the same structure and variables, but each contains records from the respective year. Which CAS action should the analyst use to perform this task efficiently?
When working with the CAS procedure PROC CASUTIL to load data into the CAS server, what is the effect of setting the DATALIMIT= option to a specific value, such as DATALIMIT=100?
You have developed a SAS Viya application that generates several data visualizations. The visualizations need to be updated periodically based on user interactions. What is the best practice for managing the data and scripts for these visualizations?
You are tasked with running a procedure to analyze a categorical variable 'BrandType' in your dataset, which contains over 100 unique brands. You're interested in performing a chi-square test to understand the association of 'BrandType' with another variable, 'PurchaseIntent'. However, given the high number of brands, you want to limit the chi-square test to only include the top 5 brands by frequency. What is the correct way to perform this in PROC FREQTAB?