第2回:データの加工・整理

Similar documents
第6回:データセットの結合

Supplementary data



The Environmental Monitoring 2017 Surface water [1] Total PCBs /surface water (pg/l) Monitored year :2017 stats Detection Frequency (site) :46/47(Miss

100sen_Eng_h1_4

店舗の状況 Number of stores 国内コンビニエンスストアの店舗数の推移 Number of convenience stores in Japan * 2017 年度 /FY 年度 /FY 年度 ( 計画 )/FY2019 (Forecast) 20

1308

1311

資料1-1(3)

Microsoft PowerPoint - Sample info

8 Liquor Tax (2) 製成数量の累年比較 ( 単位 :kl) Yearly comparison of volume of production 区 分 平成 23 年度 FY2011 平成 24 年度 FY2012 平成 25 年度 FY2013 平成 26 年度 FY2014 清 合

第13回:交差項を含む回帰・弾力性の推定

A Comprehensive Guide to

1402


Workbook1

01_定食01 (しょうがだし)

Copyright (c) 2004,2005 Hidetoshi Shimodaira :43:33 shimo X = x x 1p x n1... x np } {{ } p n = x (1) x (n) = [x 1,..

日本語・日本文化研修留学生各大学コースガイド一覧

2011 Wright 1918 per capita % 2002a, b, c per capita % C-WI C-SCICivil Society Index Y-CSISCI 07 N-SCI 2015 Ko-CHI2011S

Microsoft Word - 文書 1

目 次 Ⅰ はじめに Ⅰ-1 SNS とは 1 Ⅰ-2 SNS Chat! の概要 2 Ⅰ-3 画面構成 3 Ⅰ-4 動作環境 4 Ⅰ-5 グループ構成 5 Ⅱ インストール Ⅱ-1 IIS の設定方法 6 Ⅱ-2 SNS Chat! インストール方法 10 Ⅲ 利用者ページ Ⅲ-1 ログインの方法

<96DA8E9F2E786C73>

第11回:線形回帰モデルのOLS推定

jpn_dm

ECCS. ECCS,. ( 2. Mac Do-file Editor. Mac Do-file Editor Windows Do-file Editor Top Do-file e


Application for re-entry permit

都道府県別パネル・データを用いた均衡地価の分析: パネル共和分の応用

楽しむ Enjoy

楽しむ Enjoy

49 育児 児童手当 新制度施行に伴う追 加 0 歳から中学生までの子供を養育している方に手当が支給されます 支給額は子供の年齢や人数によって変わります 支給要件がありますので 市区町村の役場で確認してください 57 法律に関すること [Japan Legal Support Center] 日本司

ပ မ န ပပအလ ပ နၾ Job Fairမ င မည ႔ ပ မ လ ပ ငန ခ ပခင အ တ မ ထ ထက င ခ န အပပင လတ လပ တ င က င န ၂မက အ ပ င မည ႔ လ ပ ငန အ လ က လမည ႔လ က င အ င င က င အ င ပပအလ ပ ထ

11 Energy and Water

平成28年社会生活基本調査 生活行動に関する結果 結果の概要

Jahs. 46(2): (2016)

1

ando_yama.kama

第8回 全日本 学生フォーミュラ大会 プログラム

Current Situation and Strategies Contracted Food Services The environment surrounding meal services has changed drastically, as witnessed by the fierc

5.2 White


日本産科婦人科学会雑誌第70巻第4号

Food Japan 2018 List of Exhibitors Exhibitor Name Prefecture Booth No 21 MAX NEW SOLUTION PTE LTD Singapore B01 AOKI-BREWING CO LTD Ibaraki C02 AOKISH

fuj03-09_hokoku.indd

Microsoft Word _0214_報告書_健康日本21_H25_尾島.docx

untitled

宿題の解答

最低賃金と若年雇用:2007年最低賃金法改正の影響

目次 利用上の注意 3 専門量販店販売の動向 6 第 1 部家電大型専門店販売 第 1 表商品別販売額等及び前 ( 度 同期 同 ) 比増減率 8 第 2 表都道府県別販売額等及び前 ( 度 同期 同 ) 比増減率 9 第 3 表経済産業局別販売額等及び前 ( 度 同期 同 ) 比増減率 10 第

目次 利用上の注意 3 専門量販店販売の動向 6 第 1 部家電大型専門店販売 第 1 表商品別販売額等及び前 ( 度 同期 同 ) 比増減率 8 第 2 表都道府県別販売額等及び前同比増減率 9 第 3 表経済産業局別販売額等及び前 ( 度 同期 同 ) 比増減率 10 第 2 部ドラッグストア販

4 OLS 4 OLS 4.1 nurseries dual c dual i = c + βnurseries i + ε i (1) 1. OLS Workfile Quick - Estimate Equation OK Equation specification dual c nurser

% 10%, 35%( 1029 ) p (a) 1 p 95% (b) 1 Std. Err. (c) p 40% 5% (d) p 1: STATA (1). prtesti One-sample test of pr

!!! 2!

Semiconductor Industry in Kyushu SAGA NAGASAKI FUKUOKA KUMAMOTO KAGOSHIMA OITA MIYAZAKI 01

2014_H01-04_JP

untitled

zantei_cadet

FOOD EXPO 2013 FOOD EXPO

CW6_A3611_07_D05.indd

要旨 文部科学省は 幼稚園や保育園に通う 3 から 5 歳児の幼児教育について 2020 年まで に無償化の実現を目指している しかし 無償化実現のために必要となる追加公費の額は 7900 億円と見積もられており 財源確保が不安視されている 15 年度には 年収が 360 万円未満の世帯の 5 歳児

4.9 Hausman Test Time Fixed Effects Model vs Time Random Effects Model Two-way Fixed Effects Model

Microsoft Word - Text_5_STATA_1_Jp_ doc

Œ¼‘ÌŒ¢’Ý™è-1

第 15 回全日本学生フォーミュラ大会公式通知 No.6 Date : Sep 7, :20(JST) 15th Student Formula Japan Official announcement No.6 Design Event Place Car No. Team Team P

web_monthly_9_p1

卒業論文

CIDADE NIHONGO PREFEITURA POPULAÇÃO ÁREA DENSIDADE Aisai 愛西市 Aichi 65, Ama あま市 Aichi 86, ,16 Anjo 安城市 Aichi 176, ,047

y <- as.vector(xx %*% vv) # yy <- y %o% vv # sum((yy-xx)^) cat("\n") v0 <- rep(0,ncol(xx)-) # print(vv88(v0)) a <- optim(v0,rss88,control=list(trace=t

大阪駅に つ な が る あ つ ま る ひ ろ が る エネルギー 鉄道ネットワークの 中心点 大阪駅と 大阪の街がひとつに OSAKA STATION CITY 環境に配慮したエコステーションは 日々進化しています Itoigawa Toyama Kanazawa Fukui Matsue Yo

資料3小泉周先生発表資料

労働条件パンフ-ベトナム語.indd

IU/mL.1 IU/mL A , % % 6.% 7 B %.1 IU/mL IU/mL % %.1 IU/mL % 7/9 4

y i OLS [0, 1] OLS x i = (1, x 1,i,, x k,i ) β = (β 0, β 1,, β k ) G ( x i β) 1 G i 1 π i π i P {y i = 1 x i } = G (

VERO IU/mL.1 IU/mL A , % % 6.% 7 B %.1 IU/mL IU/mL %.1 IU/mL 1

Introduction Purpose This training course demonstrates the use of the High-performance Embedded Workshop (HEW), a key tool for developing software for

GruposPre Mundialito Japon 2018

Current Situation and Issues in University Governance -the U.S. and Japan-

MU_h1-h4

こんにちは由美子です

The Asia-Pacific Journal Japan Focus Volume Issue Article ID 4914 Jan 01, 1970 Appendix to A New Wave Against the Rock: New social movements in Japan

Microsoft Word - 計量研修テキスト_第5版).doc

Contents

最小2乗法

Microsoft Word - MetaFluor70取扱説明.doc

-1 -

xlsx

: (EQS) /EQUATIONS V1 = 30*V F1 + E1; V2 = 25*V *F1 + E2; V3 = 16*V *F1 + E3; V4 = 10*V F2 + E4; V5 = 19*V99

RT-PCR プロトコール.PDF

Japanese-Gregorian Year Conversion Table ねんごうせいれきへんかんひょう年号 西暦変換表 ō: Pronunciation should be lengthened, like oh. 156 しょうわ昭和 Shōwa へいせい 平成 Heisei 35 19

Microsoft PowerPoint - 稲木_XooNIps開発の近況.pptx

登録検査機関一覧

第 71 回日本産科婦人科学会学術講演会 (2018, 4, 11 名古屋 ) 専攻医教育セミナー 絨毛性疾患の疫学 診断 治療 名古屋大学 新美薫

Edmonton Japanese Community Association - History Project

untitled

AuthorManual_JSTP.ppt

Microsoft Word - 15…y†[…W+Ÿ_Ł¶0002.doc

untitled

不動産協会ゆいNo5.indd

Transcription:

2 2018 4 13 1 / 24

1. 2. Excel 3. Stata 4. Stata 5. Stata 2 / 24

1 cross section data e.g., 47 2009 time series data e.g., 1999 2014 5 panel data e.g., 47 1999 2014 5 3 / 24

micro data aggregate data 4 / 24

2009 5 / 24

Excel 1 2 1 3 2 4 3 Stata 13 6 / 24

Excel A B C D E 1 prefecture income expenditure male female 2 Hokkaido 227,349 155,491 1 0 3 Aomori 233,967 175,207 1 0...... 48 Okinawa 214,233 137,726 1 0 49 Hokkaido 207,155 172,835 0 1 50 Aomori 169,422 143,179 0 1...... 95 Okinawa 144,644 139,716 0 1 7 / 24

1 1. Excel consumption2009.xlsx 2018microdata1 2. A1 prefecture B1 income C1 expenditure D1 male E1 female 3. b134-2.xls B134-2 P11 BJ11 4. consumption2009.xlsx A2 8 / 24

5. consumption2009.xlsx A 2 Hokkaido, Aomori, Iwate, Miyagi, Akita, Yamagata, Fukushima, Ibaraki, Tochigi, Gumma, Saitama, Chiba, Tokyo, Kanagawa, Niigata, Toyama, Ishikawa, Fukui, Yamanashi, Nagano, Gifu, Shizuoka, Aichi, Mie, Shiga, Kyoto, Osaka, Hyogo, Nara, Wakayama, Tottori, Shimane, Okayama, Hiroshima, Yamaguchi, Tokushima, Kagawa, Ehime, Kochi, Fukuoka, Saga, Nagasaki, Kumamoto, Oita, Miyazaki, Kagoshima, Okinawa 6. consumption2009.xlsx A2 A48 A49 9 / 24

7. b134-2.xls B134-2 P37 BJ37 8. consumption2009.xlsx B2 9. b134-2.xls B134-2 P39 BJ39 10. consumption2009.xlsx C2 11. consumption2009.xlsx D2 D48 1 12. consumption2009.xlsx E2 E48 0 10 / 24

13. b134-2.xls B134-2 (2) P37 BJ37 14. consumption2009.xlsx B49 15. b134-2.xls B134-2 (2) P39 BJ39 16. consumption2009.xlsx C49 17. consumption2009.xlsx D49 D95 0 18. consumption2009.xlsx E49 E95 1 11 / 24

19. consumption2009.xlsx B17 C17 - missing value - Stata 20. consumption2009.xlsx 12 / 24

1 0 dummy variable male female 2 male 1 0 female 1 0 13 / 24

Stata Stata Excel Ver. 13 xls xlsx 14 / 24

Stata Word 1 Stata 15 / 24

2 1. Stata 13 2. File Log Begin... 2018microdata1 lecture20180413.smcl 3. File Import Excel spreadsheet (*.xls; *.xlsx) 4. Excel file: Browse... 5. 2018microdata1 consumption2009.xlsx 6. Import first row as variable names OK 16 / 24

7. File Save as 2018microdata1 consumption2009.dta 8. Command list prefecture income expenditure male female Enter list more 17 / 24

Command generate ( )=( ) generate Data Create or change data Create new variable Variable name: Specify a value or an expression Specify a value or an expression Create... 18 / 24

income expenditure 1,000 19 / 24

3 1. Command generate income_th=income/1000 Enter 2. Command generate expenditure_th =expenditure/1000 Enter 3. Command list prefecture income income_th expenditure expenditure_th male female Enter list 20 / 24

Command summarize ( ) Enter number of observations (mean) (standard deviation) (minimum) (maximum) 21 / 24

Obs: n. Mean: x = 1 n x i. n i=1 Std. Dev.: 1 n sx = (x i x) 2. n 1 Min: min{xi }. Max: max{x i }. i=1 22 / 24

4 1. Command summarize income income_th expenditure expenditure_th male female Enter list 2. Edit Copy 3. Word summary20180413.docx 2018microdata1 23 / 24

5 Stata 1. File Log Close 2. Stata 13 3. 2018microdata1 lecture20180413.smcl 24 / 24