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

正文內(nèi)容

stata使用手冊資料-文庫吧資料

2024-08-17 22:37本頁面
  

【正文】 te + socst另一方面,我們還可以將變量total表示成以等級(A、B、C、D and F)的形式。讀完數(shù)據(jù)后,可以為此數(shù)據(jù)取個名稱,指令如下:label data High School and Beyond, 200 cases現(xiàn)在我們可以將變量的順序作一排列。 twoway frequency tablestabstatTable of descriptive statisticsstemStemandleaf plotgraphHigh resolution graphssortSort observations in a datasethistHistogram of a categorical variablecorrelateCorrelationspwcorrPairwise correlationstypeDisplay an ASCII file五、修飾資料(Modifying data)在本小節(jié)中,我們亦利用sample41的數(shù)據(jù)進(jìn)行說明。最后,將數(shù)據(jù)探索的相關(guān)指令整理成下表。Example:tabstat read write math, by(prgtype) stat(n mean sd) tabstat write, stat(n mean sd p25 p50 p75) by(prgtype)接下來,我們介紹一些用來劃圖的指令:莖葉圖:stem writestem write, lines(2) 直方圖:graph write, bin(10)graph write, hist normal bin(10) 箱形圖:graph write, boxsort prgtype(要先有這個指令才能執(zhí)行下一個指令)graph write, box by(prgtype) 此外,利用correlate或是pwcorr可以得到相關(guān)矩陣;亦可利用graph劃出散布圖。Example:summarize write, detailsum write if read=60(sum是summarize的簡寫)sum write if prgtype==academic(接在if之后的句子中的”=”要放兩個)sum write in 1/40(只列出第1筆到第40筆資料)tabulate:列出變數(shù)的次數(shù)表。此外,我們就可以利用summarize、tabulate和tabstat等指令得到數(shù)據(jù)的敘述統(tǒng)計與基本特性。list:依序列出觀察值的各個變量值。指令的表示方法如下:log using result41, text(log檔的名稱為result41)接下來,我們可以先利用下面的指令來檢視sample41的數(shù)據(jù):count:可得樣本數(shù)。首先,利用前節(jié)所提及的數(shù)據(jù)輸入方法將sample41讀進(jìn)STATA。最后,將數(shù)據(jù)輸入的相關(guān)指令整理成下表。cd e:\sampleinput id female race ses str3 schtype prog read write math science socst147 1 1 3 pub 1 47 62 53 53 61108 0 1 2 pub 2 34 33 41 36 3618 0 3 2 pub 3 50 33 49 44 36153 0 1 2 pub 3 39 31 40 39 5150 0 2 2 pub 2 50 59 42 53 6151 1 2 1 pub 2 42 36 42 31 39102 0 1 1 pub 1 52 41 51 53 5657 1 1 2 pub 1 71 65 72 66 56160 1 1 2 pub 1 55 65 55 50 61136 0 1 2 pub 1 65 59 70 63 51end利用STATA的數(shù)據(jù)型態(tài)輸入除了以上三種方法之外,還可以開啟之前以STATA儲存的資料。variable nameColumn numberid12eng34math56sex7micro89macro1011infix id 12 eng 34 math 56 gender 7 micro 89 macro 1011 using 利用Dofile editor輸入數(shù)據(jù)將數(shù)據(jù)或是指令寫入Dofile editor,再執(zhí)行即可。?數(shù)據(jù)型態(tài)二:第二種的數(shù)據(jù)型態(tài)通常須要codebook。Example:?當(dāng)csv檔的第一列有變量名稱時:cd e:\sampledirmemoryset memory 10minsheet using ?當(dāng)csv檔的第一列沒有變量名稱時:insheet gender id race ses schtyp prgtype read write math science socst using ?直接復(fù)制EXCEL上的數(shù)據(jù),再到STATA選取”
點擊復(fù)制文檔內(nèi)容
環(huán)評公示相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1