O que você está fazendo? a analise é para predizer valores de um composto em amostras. Você tem os valores preditos adicionados todos iguais. Alguém pode me ajudar?
porque os valores aparecem a igual e que fazem para corrigi-los.
obrigada..
PROC PLS DATA = composto MÉTODO = pls nfac = 12 cv = bloco (7) PLOTS = (diagnósticos); MODELO COMPOSTO = a1-a1401; output out = preditos2 p = p_composto; corre; ods gráficos desativados; proc print data = preditos2; var p_composto composto; corre;
From Google Translate:
Hi, I'm trying to do some analysis using these commands below. the analysis is for predicting values of a compound in samples. However, the predicted values are all the same. Can someone help me?
they know why these values appear the same and what I do to correct them.
thanks .
It's possible that the cross-validation determined that the best fitting model was the mean of the Y values, and that no other fit predicted as well. (In other words, it's all noise, there's no structure that can be used to predict).
Show us the cross-validation part of the output of PROC PLS. Click on the {i} icon and then copy and paste the cross-validation into that window.
Adding: one reason you might get this constant prediction is if you have a serious outlier(s) in your data, this may result in the conclusion that you can't predict anything, and so removing the outlier(s) may allow predictability.
When posting code, don't run it through a translator. SAS is only one uniform language all over the world 😉
April 27 – 30 | Gaylord Texan | Grapevine, Texas
Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and save with the early bird rate—just $795!
Get started using SAS Studio to write, run and debug your SAS programs.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.