Hello,
I ran an experiment, where we need to separate products on appearance basis onto map. So each panelists ended with having x and y coordinates for samples. So, now how I can add data into sas to run MFA. So I have data attached here.
To Import data into SAS use PROC IMPORT or the Import Utility.
Here's a video on how to import data using the Import Utility
Thanks Reeza, but I am asking how to run multiple factor analysis. Like what code I have to use.
Sadly I'm not seeing anything under PROC FACTOR or PRINCOMP to handle the multiple part 😞
I'll move this to the Statistical Procedure forum so others can offer their suggestions.
PROC CALIS ought to do this, perhaps this example can get you pointed in the right direction
Thanks, but how would be then data entry, like.
data sensory;
input panelists $ x y x y x y x y x y; or actually how I should input. Here I have problem in input. Each x and y pair belong to 1 panelist.
datalines;
093 12 13.25 10.1 10.1 24 2.3 12 8 24 9
637 12 11 9.75 10.1 22.8 1 12 8.5 17.75 9.75
217 1.5 14.5 0.5 12 10.5 7.5 1 9 16.75 11.5
225 23.25 9.75 5 15.75 9 3.7 23 8 7 14.5
;
run;
The example shown works with covariance matrices. So, compute covariance matrices.
HelloPaigeMiller, I computed correlation matrix, so can you please let me know how I should input my data now.
data estonia;
input type$ name$ x1 y1 x2 y2 x3 y3 x4 y4 x5 y5;
datalines;
cov x1 1.00
cov y1 -0.30270 1.00
cov x2 0.13742 0.15644 1.00
cov y2 -0.24693 0.34916 0.05823 1.00
cov x3 -0.34308 0.10424 -0.15834 -0.12062 1.00
cov y3 0.09093 -0.14226 -0.16557 -0.37801 0.15527 1.00
cov x4 0.78430 -0.43878 -0.06424 -0.32105 -0.04186 0.13995 1.00
its showing error in log like -
cov y4 0.02571 -0.23155 0.09631 -0.01274 -0.19213 0.29059 0.13352 1.00
cov x5 -0.72669 0.23910 -0.13214 0.35858 0.59434 -0.35605 -0.57412 -0.35781 1.00
cov y5 0.22256 -0.02439 -0.08846 0.35013 -0.09050 -0.42388 0.20654 -0.39163 -0.09126 1.00
;
run;
If I ran this, its showing error in log,
Note: invalid data for x2 in line 66
invalid data for y3 in line 67
Registration is now open for SAS Innovate 2025 , our biggest and most exciting global event of the year! Join us in Orlando, FL, May 6-9.
Sign up by Dec. 31 to get the 2024 rate of just $495.
Register now!
ANOVA, or Analysis Of Variance, is used to compare the averages or means of two or more populations to better understand how they differ. Watch this tutorial for more.
Find more tutorials on the SAS Users YouTube channel.