How to use the components from PCA in discriminant analysis? - pca

Any clue on how to do this in SAS Enterprise Guide?

Related

R Machine Learning in PowerBI

What is the best way to create and run machine learning prediction code (with a training set and predictions) so that you can see the output (predictions) in PowerBI?

How to perform likelihood ratio test for linear regression in SAS

I am trying to do a likelihood ratio test to compare nested models in SAS. I am very new to SAS and am only familiar with PROC REG to conduct a regression analysis. Do you have any ideas on how I can find the likelihood ratio test or how I would start?
I know how to do a LR test with logistic regression but it seems to automatically come up with the PROC LOGISTIC function.
Any help would be appreciated!

Analyzing quantitative data in WEKA

Hi My dataset contains only quantitative data(numerical). It doesn't have any class attributes. The dataset contains with sales of different years. I need to analyze the data in different ways. Can I use WEKA for this analysis? I tried to use WEKA tool. But it seemed I cannot proceed with WKA unless I have class variables for the dataset. Please kindly give me a hint.

SAS Enterprise - Is it possible to show the mathematical formula behind the calculation?

is it possible to show the mathemetical formular / concept behind the analysis done with SAS Enterprise?
Assuming SAS would calculate a correlation between a list of numbers -- is it possible to see what exactly SAS did from a mathematical perspective?
It is not possible to ask SAS for the mathematical formula, no. You can check the documentation; for example, this page gives many of the 'elemantary statistics' formulas (like variance, UCLM, etc.)
If you need the formula behind something more complex that you can't find online, contact your SAS Support rep, and they may be able to put you in contact with the developer of that particular proc - like if you need to know some particular to how PROC GLM does something.
You can ask SAS to give you the SAS code that it ran if you executed a task (in most cases it's available by clicking on the task node), in many cases, but that would be something like proc freq; tables a*b; run;, not a mathematical formula per se.

Creating a matrix using proc iml in sas eg

When you submit a PROC IML in SAS EG it appends a QUIT statement to the program, this quit statement terminates the procedure and deletes all previously computed matrices.
Does anyone know a workaround?
You should use SAS/IML Studio. That is the IML version of enterprise guide; it should allow you to connect to a SAS Workspace server, if you're not running in local.
See Getting Started with the SAS/IML Language by Rick Wicklin (2013 SGF paper) for more details.