728x90
반응형
- English Summary
- Create a folder for the RIA source program and input data (e.g., C:\RIA).
- Inside it, create a subfolder _data (or .Data for S-Plus version 6 and later).
- Save RIA.ssc and the input data file (e.g., Data.txt) in C:\RIA.
- Ensure the input data is saved in text format, with column headers in the first row, data starting in the first column, and missing values marked as NA.
- Launch S-Plus and attach the _data folder:
scss코드 복사> attach('c:\\RIA\\_data', 1)
- Load the RIA program:
scss코드 복사> RIA_source('c:\\RIA\\RIA.ssc')
- Import Data.txt using the data_importData function.
- Confirm import using summary(data).
- Attach the imported data for column name access:
scss코드 복사> attach(data)
- Define control and experimental time series (ts1 and ts2) and the number of pre-manipulation data points (npre).
- Example:
scss코드 복사> RIA(ts1=E3, ts2=E1, npre=18)
- Data setup and formatting are similar to tools like R and Python.
- Command syntax is akin to R, but file paths differ.
- Missing values are represented as NA, comparable to R’s NA and Python’s NaN.
- Graphical output is automatic, similar to R but requires additional libraries in Python.
Korean Summary (한국어 요약)- RIA 프로그램과 데이터를 위한 폴더 생성 (예: C:\RIA).
- 하위 폴더 _data 생성 (S-Plus 버전 6 이상은 .Data 사용).
- RIA.ssc와 데이터 파일(e.g., Data.txt)을 C:\RIA에 저장.
- 데이터 파일은 텍스트 형식으로 저장하고, 첫 줄에 컬럼 이름, 첫 열부터 데이터 입력, 결측치는 NA로 표시.
- S-Plus 실행 후 _data 폴더 연결:
scss코드 복사> attach('c:\\RIA\\_data', 1)
- RIA 프로그램 실행:
scss코드 복사> RIA_source('c:\\RIA\\RIA.ssc')
- data_importData 함수로 Data.txt 가져오기.
- summary(data)로 데이터 확인.
- 컬럼명을 사용하려면 데이터 첨부:
scss코드 복사> attach(data)
- 제어 및 실험 시계열(ts1, ts2)과 전처리 데이터 수(npre) 설정.
- 예:
scss코드 복사> RIA(ts1=E3, ts2=E1, npre=18)
- 데이터 설정은 R이나 Python과 유사.
- 명령어 구조는 R과 비슷하지만 파일 경로 표기법은 다름.
- 결측치는 NA로 처리하며, 이는 R의 NA, Python의 NaN과 유사.
- 그래프 출력은 R과 유사하지만 Python에서는 추가 라이브러리가 필요.
Chinese Summary (中文总结)- 创建一个用于 RIA 程序和输入数据的文件夹(如:C:\RIA)。
- 在文件夹内创建子文件夹 _data(S-Plus 6 或更高版本使用 .Data)。
- 将 RIA.ssc 和输入数据文件(如 Data.txt)保存到 C:\RIA。
- 数据文件需保存为文本格式,首行为列名,第一列开始为数据,缺失值用 NA 表示。
- 打开 S-Plus 并附加 _data 文件夹:
scss코드 복사> attach('c:\\RIA\\_data', 1)
- 加载 RIA 程序:
scss코드 복사> RIA_source('c:\\RIA\\RIA.ssc')
- 使用 data_importData 函数导入 Data.txt。
- 使用 summary(data) 验证数据导入是否成功。
- 附加数据以直接使用列名:
scss코드 복사> attach(data)
- 定义控制和实验时间序列 (ts1 和 ts2) 以及操作前数据点数 (npre)。
- 示例:
scss코드 복사> RIA(ts1=E3, ts2=E1, npre=18)
- 数据设置和格式与 R 或 Python 类似。
- 命令结构与 R 类似,但文件路径格式不同。
- 缺失值使用 NA,与 R 的 NA 和 Python 的 NaN 相同。
- 图形输出自动生成,与 R 类似,但 Python 需要额外的库支持。
- 文件夹设置:
- 폴더 설정:
- Folder Setup:
728x90
반응형
'생활이야기' 카테고리의 다른 글
튀르키예 - 거기 가면, 반드시 보고 먹어야 할 것들 (0) | 2024.11.03 |
---|---|
대덕특구의 몰락, 과학기술 자긍심을 짓밟은 비리스캔들의 충격 전말 (0) | 2024.10.06 |
바른농수산 - 당신의 식탁을 위해 엄선한 최상의 선택 (0) | 2024.10.01 |
DMZ (Demilitarized Zone), 분단의 상징에서 평화와 생태의 보고 (0) | 2024.09.29 |
매화 - 이어령작, 우매 (일본말) (0) | 2024.09.27 |