天天看點

《深入解析sas:資料處理、分析優化與商業應用》一導讀

《深入解析sas:資料處理、分析優化與商業應用》一導讀

為什麼要寫這本書

資料和模型描述着世界,而sas恰恰就是關于資料和模型的技術。sas技術在全球的資料處理和分析領域舉足輕重。在國内,sas的應用日趨廣泛,自然,對掌握sas技術的人才需求也日益旺盛。

但是當大家談及sas的時候,普遍的一個感受是,掌握sas比較難。這使我記起在2000年剛剛加入sas中國公司幾天後的一個下午,時任sas中國區技術總監的栾世武博士問我:“怎麼樣?sas難學嗎?”其實,在sas公司的同僚當中,大家并不會認為sas有多難。究其原因,不過是如下幾個:

在sas公司,有着明确的路線圖,大家可以清楚地知道學習sas某個領域的順序和步驟是什麼。對于系統性非常強而且知識範圍又較廣的sas而言,這是很重要的。

對于路線圖中的每一個階段,sas公司都提供了詳盡的資料供閱讀和學習。

有實際的項目去實踐和鍛煉。

第一篇 sas程式設計和資料處理

<a href="https://yq.aliyun.com/articles/118540">第1章 base sas基礎</a>

<a href="https://yq.aliyun.com/articles/118543">1.1 sas系統簡介</a>

<a href="https://yq.aliyun.com/articles/118551">1.2 啟動sas軟體</a>

<a href="https://yq.aliyun.com/articles/118555">1.3 sas視窗環境</a>

<a href="https://yq.aliyun.com/articles/118558">1.4 sas檔案和邏輯庫</a>

<a href="https://yq.aliyun.com/articles/118564">1.5 一個簡單的sas程式</a>

<a href="https://yq.aliyun.com/articles/118567">1.6 sas studio</a>

<a href="https://yq.aliyun.com/articles/118569">1.7 本章小結</a>

<a href="https://yq.aliyun.com/articles/118592">第2章 讀取外部資料到sas資料集</a>

<a href="https://yq.aliyun.com/articles/118623">2.1 sas程式設計基本概念</a>

<a href="https://yq.aliyun.com/articles/118754">2.2 通過data步讀取資料</a>

<a href="https://yq.aliyun.com/articles/118760">2.3 通過import過程讀取外部檔案資料</a>

<a href="https://yq.aliyun.com/articles/118763">2.4 通路關系型資料庫系統中的資料</a>

<a href="https://yq.aliyun.com/articles/118769">2.5 sas程式錯誤及處理</a>

<a href="https://yq.aliyun.com/articles/118770">2.6 本章小結</a>

<a href="https://yq.aliyun.com/articles/118772">第3章 對單個資料集的處理</a>

<a href="https://yq.aliyun.com/articles/118779">3.1 選取部分變量</a>

<a href="https://yq.aliyun.com/articles/118800">3.2 操作資料集的觀測</a>

<a href="https://yq.aliyun.com/articles/118804">3.3 建立新變量</a>

<a href="https://yq.aliyun.com/articles/118809">3.4 循環和數組</a>

<a href="https://yq.aliyun.com/articles/118815">3.5 sas常用函數</a>

<a href="https://yq.aliyun.com/articles/118820">3.6 将資料集寫出到外部檔案</a>

<a href="https://yq.aliyun.com/articles/118822">3.7 本章小結</a>

第4章 對多個資料集的處理

4.1 資料集的縱向串接

4.1.1 使用set語句實作縱向串接

4.1.2 使用append過程實作縱向串接

4.1.3 set語句與append過程的比較

4.2 資料集的橫向合并

4.2.1 不使用by語句實作橫向合并

4.2.2 使用by語句實作橫向合并

4.2.3 使用資料集選項in=操作觀測

4.3 資料集的更新

4.4 資料集的更改

4.4.1 單個資料集的更改

4.4.2 兩個資料集的更改

4.5 資料集處理的一點補充

4.5.1 使用資料集選項end=

4.5.2 使用自動變量first.與last

4.5.3 使用set語句中的選項point= 和nobs=

4.5.4 使用多個set語句

4.5.5 使用hash對象處理多個資料集

4.6 本章小結

繼續閱讀