How to organize your data
如何組織你的數據
1. Now all you need to do now is select the first 100 rows of data your table. Use your mouse and drag down to row 101 (we go to row 101 because the first row contains the column headings).
現在,所有你現在需要做的是選擇第一個100行的數據表。使用鼠標向下拖動到第101行(我們去的第101行,因為第一行包含列標題)。

2. We are now going to copy the first 100 observations to another worksheet (Sheet 2!). Press Ctrl-C
現在,我們要復制到另一個工作表(表2)第100個觀測。按Ctrl-C

3. Now click Sheet2 (in red above), and select cell A1. Then press Ctrl-V to paste:
現在單擊Sheet2中(紅色以上),并選擇單元格A1。然后按Ctrl-V粘貼:

4. Now that you have your random sample of 100, you will want to split it into 2 sub-samples. As an example, let use divide our sample by Customer Type:
現在,你有你的隨機抽樣100,你會想它分割成2個子樣本。作為一個例子,我們使用按客戶類別劃分我們的樣本:
http://ukthesis.org/thesis_sample
a. Select a cell in the table and press Ctrl-A to select the entire sample.
選擇表中的一個單元格,然后按Ctrl-A鍵選擇整個樣本。
b. Click Data->Sort. We want to sort by Customer Type (column B).
點擊數據排序。我們要排序按客戶類別(B列)。

5. Now scroll down the data set and look at column B. We want to find the first row containing a „Regular? customer. In this example, we want to take all rows starting for row 57 and move them to a separate part of the spreadsheet.
現在,向下滾動的數據集,并期待在B列,我們希望找到的第一行包含一個“普通”顧客。在這個例子中,我們要采取一切行57行開始,將它們移動到一個單獨的電子表格的一部分。

6. Use your mouse to select the first now containing a „Regular? customer. Then Ctrl-Shift-(down key ↓).
使用鼠標選擇現在包含一個“普通”顧客第一。然后按Ctrl-Shift鍵(上下鍵↓)。

#p#分頁標題#e#
7. All observations containing „Regular? customers should be selected. Now press press Ctrl-X to „cut?.
應選擇“常規”客戶的所有觀測。現在,按按Ctrl-X“剪切”。

8. Now scroll up to the top of the spreadsheet. Select cell K2 and click Ctrl-V to paste:
現在滾動到電子表格頂部。選擇細胞K2點擊Ctrl-V鍵粘貼:

9. Now copy the headings over to the new sub-table. Select cells A1-I1, press Ctrl-C then paste at K1.
現在的標題復制到新的子表。選擇單元格A1-I1,然后按Ctrl-C粘貼在K1。

Now we?ve successfully divided our sample by Customer Type! In effect, we have created 2 sub-samples, one sampling from the „Loyalty? customer population and the other from the „Regular? customer population.
“現在,我們已經成功地將我們的樣本按客戶類型劃分!實際上,我們已經創建了2個子樣本,一個抽樣從“忠誠”的客戶群體,并從“常規”的客戶群體。
相關文章
UKthesis provides an online writing service for all types of academic writing. Check out some of them and don't hesitate to place your order.