Hello,
When the same data set are imported from different data path, I found that the result from "proc arima" give slightly different results. Have anyone found this problem?
Thanks.
Hi Reeza,
Here is my meaning of the import data path.
My student downloaded the excel file from my google classroom into her data path: "/home/u49195926/SM518/ch3_5.xlsx". Using the following procedure :
The results from using student's data path: "/home/u49195926/SM518/ch3_5.xlsx" are as follows:
But when using my data path"/home/u45083887/my_content/SM518/SM518 Ch3/ch3_5.xlsx", the results are different as shown below. (We make sure that the data in excel are the same for mine and students)
I really suspect how this could be occurred.
Thank You.
You don't show your output or how it differs.
If the differences are small in calculated items like BIC, say in the 5th decimal place only or possibly the 4th and 5th then different versions of SAS where algorithms get modified between releases is a very a likely possibility.
@Golf wrote:
Hi Reeza,
Here is my meaning of the import data path.
My student downloaded the excel file from my google classroom into her data path: "/home/u49195926/SM518/ch3_5.xlsx". Using the following procedure :
The results from using student's data path: "/home/u49195926/SM518/ch3_5.xlsx" are as follows:
But when using my data path"/home/u45083887/my_content/SM518/SM518 Ch3/ch3_5.xlsx", the results are different as shown below. (We make sure that the data in excel are the same for mine and students)
I really suspect how this could be occurred.
Thank You.
I don't know why my results did not show up in the post.
Here is my results, they are different.
Hi Reeza,
Here is my version. (The data is after the version detail)
Export |
9.7323 |
9.9386 |
10.5581 |
9.5671 |
10.2601 |
10.1751 |
10.3672 |
10.0169 |
10.4475 |
10.5712 |
10.9055 |
10.3344 |
10.9132 |
11.0472 |
11.0752 |
10.8949 |
11.1713 |
11.3635 |
11.5535 |
11.1439 |
11.5798 |
11.9851 |
12.0605 |
11.5752 |
11.938 |
12.2423 |
12.232 |
11.861 |
12.1799 |
12.754 |
12.6888 |
12.2581 |
12.4873 |
13.0316 |
12.9496 |
12.5721 |
13.0557 |
13.3554 |
13.4013 |
13.0221 |
13.3251 |
13.764 |
13.6152 |
13.4049 |
13.6034 |
14.1636 |
14.0264 |
13.7761 |
14.0608 |
14.5765 |
14.5491 |
14.3401 |
14.5873 |
15.1227 |
14.966 |
14.8268 |
15.2012 |
15.6293 |
15.6306 |
15.1636 |
15.6866 |
16.1653 |
15.8831 |
15.7871 |
15.9769 |
16.6352 |
16.3872 |
16.2214 |
16.5239 |
17.0421 |
16.9188 |
16.7274 |
17.0048 |
17.5631 |
17.4562 |
17.245 |
17.4456 |
18.1318 |
17.996 |
17.7068 |
17.9141 |
18.3945 |
18.3056 |
18.1098 |
18.3128 |
19.1285 |
18.8676 |
18.5391 |
18.7751 |
19.4459 |
19.2726 |
18.9861 |
19.1439 |
20.003 |
19.6391 |
19.6406 |
19.8099 |
20.4684 |
20.3344 |
19.799 |
20.2407 |
21.0073 |
20.7403 |
20.3713 |
20.8789 |
21.3626 |
21.1808 |
20.9169 |
21.1793 |
21.9515 |
21.6688 |
21.3734 |
21.6468 |
22.36 |
21.9971 |
21.6864 |
22.1199 |
22.7439 |
22.4872 |
22.2034 |
22.5794 |
23.1908 |
22.8497 |
22.5202 |
22.9665 |
23.635 |
23.3512 |
23.0428 |
23.3996 |
24.0955 |
23.7421 |
23.4174 |
23.6984 |
24.5057 |
24.1983 |
23.7094 |
24.2367 |
24.9358 |
24.5153 |
24.0533 |
24.5504 |
25.1616 |
25.0315 |
24.467 |
24.9887 |
25.6824 |
25.4345 |
25.1052 |
25.3507 |
26.0501 |
Get rid of the problem points.
Save your data as a csv file; create a data step to read that. Hand your students that csv file and the data step, so you can make sure that the data is read in the exactly same way; IMPORT of Excel files is subject to many externalities (like locale) and makes guesses, which means that it is always unreliable.
Run a checksum (md5) on your csv file and keep it for reference.
Make sure that downloads/uploads of files are done consistently (same software, same settings).
In the current situation, have the student download the .sas7bdat file of the dataset as is, upload it to your environment, and run a PROC COMPARE with your dataset.
PS if you still get differences when using CSV as transport medium, post the CSV file by copy/pasting it into a code box:
Hello KurtBremser,
I save the excel file into CSV and let student download it from google classroom. The results totally changed from the previous outputs. I attached the CSV file.
Thank You.
PS I notice that if I sent the excel file directly to student via LINE application, the results will be exactly same. When students download excel from google classroom, the results different.
Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!
Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.
Find more tutorials on the SAS Users YouTube channel.