freepeople性欧美熟妇, 色戒完整版无删减158分钟hd, 无码精品国产vα在线观看DVD, 丰满少妇伦精品无码专区在线观看,艾栗栗与纹身男宾馆3p50分钟,国产AV片在线观看,黑人与美女高潮,18岁女RAPPERDISSSUBS,国产手机在机看影片

正文內(nèi)容

sas使用精講(編輯修改稿)

2024-11-17 06:38 本頁面
 

【文章內(nèi)容簡介】 run。,第三十八頁,共六十八頁。,2024年11月17日星期日,SAS中可以計(jì)算的描述性 統(tǒng)計(jì)量部分關(guān)鍵字及其含義,第三十九頁,共六十八頁。,2024年11月17日星期日,SAS中可以計(jì)算的描述性 統(tǒng)計(jì)量部分關(guān)鍵字及其含義,第四十頁,共六十八頁。,數(shù)據(jù)探查,2024年11月17日星期日,proc tabulate data=student 。 class sex。 var math chinese 。 table sex,math chinese。 run。 交互式分析insight,第四十一頁,共六十八頁。,2024年11月17日星期日,數(shù)據(jù)合并,縱向合并(union)或數(shù)據(jù)集復(fù)制: 準(zhǔn)備工作:導(dǎo)入customer.xls文件的三個電子表形成三個與電子表同名的數(shù)據(jù)集。 data customer。 set customer1 customer2。 run。 橫向合并: data customernew。 merge customer customeradd。 by no。 RUN。 要求:先對要合并的數(shù)據(jù)集按相同的變量排序。,第四十二頁,共六十八頁。,數(shù)據(jù)合并,如果customer1與 customer2的變量不完全相同,需要在結(jié)果中只包含共同的變量: data customer。 set customer1(keep=保留變量名列表) customer2 (keep=保留變量名列表)。 run。 或: data customer。 set customer1(drop=去除變量名列表) customer2 (drop=去除變量名列表)。 run。,2024年11月17日星期日,第四十三頁,共六十八頁。,數(shù)據(jù)合并,如果需要在結(jié)果中只包含部分觀測: data customer。 set customer1(where=(條件)) customer2 (where=(條件))。 run。,2024年11月17日星期日,第四十四頁,共六十八頁。,2024年11月17日星期日,數(shù)據(jù)清洗,查錯 Data err。 set customer2(where=(memo=‘err’))。run。 proc sql 或 View table 窗口的/data/where 修正數(shù)據(jù) 程序 data customer2。 set customer2。 if memo=‘err39。 then memo=39。test39。 run。 proc sql或view table中手工修改,第四十五頁,共六十八頁。,2024年11月17日星期日,缺失值,填充特定值: data customer2。 set customer2。 if memo=39。39。 then memo=39。test39。 run。 data test1。 set test。 if x2= . then x2 = 90。 If x3=. Then x3=90。 run。 填充均值參見程序,data test。 input x1x3。 datalines。 1 2 7 2 3 . 3 . 4 。 run。,第四十六頁,共六十八頁。,2024年11月17日星期日,數(shù)據(jù)變換,一般變換 data new。 set data.student。 vnew=avg/120*100。 Drop avg。 run。 標(biāo)準(zhǔn)化 proc standard data=new out=new1 mean=0 std=1。 var math chinese。 run。,第四十七頁,共六十八頁。,2024年11月17日星期日,數(shù)據(jù)增刪,新增|刪除列變量 直接使用表達(dá)式生成新變量,例如上頁中的vnew; Drop 變量名; 或者 KEEP 其它變量名;參見數(shù)據(jù)合并。 刪除觀測值 data cmale。 set data.student。 where sex=“男”。 run。 或 data cmale。 set data.student。 if sex=“女” then delete。 run。 Proc sql,第四十八頁,共六十八頁。,2024年11月17日星期日,批量更新數(shù)據(jù)例子,/*客戶歷史交易數(shù)據(jù)總額*/ data ma
點(diǎn)擊復(fù)制文檔內(nèi)容
法律信息相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖片鄂ICP備17016276號-1