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 (

Similar documents
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

5.2 White

第9回 日経STOCKリーグレポート 審査委員特別賞<地域の元気がでるで賞>

7 ( 7 ( Workfile Excel hatuden 1000kWh kion_average kion_max kion_min date holiday *1 obon 7.1 Workfile 1. Workfile File - New -

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

7. フィリップス曲線 経済統計分析 (2014 年度秋学期 ) フィリップス曲線の推定 ( 経済理論との関連 ) フィリップス曲線とは何か? 物価と失業の関係 トレード オフ 政策運営 ( 財政 金融政策 ) への含意 ( 計量分析の手法 ) 関数形の選択 ( 関係が直線的でない場合の推定 ) 推

Microsoft PowerPoint - TA報告(7)

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

80 X 1, X 2,, X n ( λ ) λ P(X = x) = f (x; λ) = λx e λ, x = 0, 1, 2, x! l(λ) = n f (x i ; λ) = i=1 i=1 n λ x i e λ i=1 x i! = λ n i=1 x i e nλ n i=1 x

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

1 I EViews View Proc Freeze

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

AR(1) y t = φy t 1 + ɛ t, ɛ t N(0, σ 2 ) 1. Mean of y t given y t 1, y t 2, E(y t y t 1, y t 2, ) = φy t 1 2. Variance of y t given y t 1, y t

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

一般化線形 (混合) モデル (2) - ロジスティック回帰と GLMM

28

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

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

最小2乗法

計量経済分析 2011 年度夏学期期末試験 担当 : 別所俊一郎 以下のすべてに答えなさい. 回答は日本語か英語でおこなうこと. 1. 次のそれぞれの記述が正しいかどうか判定し, 誤りである場合には理由, あるいはより適切な 記述はどのようなものかを述べなさい. (1) You have to wo

kubostat2015e p.2 how to specify Poisson regression model, a GLM GLM how to specify model, a GLM GLM logistic probability distribution Poisson distrib

k2 ( :35 ) ( k2) (GLM) web web 1 :

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

1 Stata SEM LightStone 4 SEM 4.. Alan C. Acock, Discovering Structural Equation Modeling Using Stata, Revised Edition, Stata Press 3.

パネル・データの分析

,, Poisson 3 3. t t y,, y n Nµ, σ 2 y i µ + ɛ i ɛ i N0, σ 2 E[y i ] µ * i y i x i y i α + βx i + ɛ i ɛ i N0, σ 2, α, β *3 y i E[y i ] α + βx i

1 Stata SEM LightStone 3 2 SEM. 2., 2,. Alan C. Acock, Discovering Structural Equation Modeling Using Stata, Revised Edition, Stata Press.

k3 ( :07 ) 2 (A) k = 1 (B) k = 7 y x x 1 (k2)?? x y (A) GLM (k

kubostat2017e p.1 I 2017 (e) GLM logistic regression : : :02 1 N y count data or

Dependent Variable: LOG(GDP00/(E*HOUR)) Date: 02/27/06 Time: 16:39 Sample (adjusted): 1994Q1 2005Q3 Included observations: 47 after adjustments C -1.5

kubostat2017c p (c) Poisson regression, a generalized linear model (GLM) : :

1 15 R Part : website:

講義のーと : データ解析のための統計モデリング. 第3回

<4D F736F F D20939D8C7689F090CD985F93C18EEA8D758B E646F63>

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

E-Views 簡単な使い方

²¾ÁÛ¾õ¶·É¾²ÁË¡¤Î¤¿¤á¤Î¥Ñ¥Ã¥±¡¼¥¸DCchoice ¡Ê»ÃÄêÈÇ¡Ë

わが国企業による資金調達方法の選択問題

Stata11 whitepapers mwp-037 regress - regress regress. regress mpg weight foreign Source SS df MS Number of obs = 74 F(

こんにちは由美子です

kubostat7f p GLM! logistic regression as usual? N? GLM GLM doesn t work! GLM!! probabilit distribution binomial distribution : : β + β x i link functi

kubostat2018d p.2 :? bod size x and fertilization f change seed number? : a statistical model for this example? i response variable seed number : { i

9 1 (1) (2) (3) (4) (5) (1)-(5) (i) (i + 1) 4 (1) (2) (3) (4) (5) (1)-(2) (1)-(5) (5) 1

Rによる計量分析:データ解析と可視化 - 第3回 Rの基礎とデータ操作・管理

講義のーと : データ解析のための統計モデリング. 第2回

¥¤¥ó¥¿¡¼¥Í¥Ã¥È·×¬¤È¥Ç¡¼¥¿²òÀÏ Âè2²ó

untitled


Part 1 GARCH () ( ) /24, p.2/93

σ t σ t σt nikkei HP nikkei4csv H R nikkei4<-readcsv("h:=y=ynikkei4csv",header=t) (1) nikkei header=t nikkei4csv 4 4 nikkei nikkei4<-dataframe(n

Microsoft Word - eviews6_

Stata 11 Stata ts (ARMA) ARCH/GARCH whitepaper mwp 3 mwp-083 arch ARCH 11 mwp-051 arch postestimation 27 mwp-056 arima ARMA 35 mwp-003 arima postestim

2 Tobin (1958) 2 limited dependent variables: LDV 2 corner solution 2 truncated censored x top coding censor from above censor from below 2 Heck

10

Microsoft Word - eviews1_

本文/目次(裏白)

ODAとFDIの相互関係 ~先進国5カ国における考察~

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

(lm) lm AIC 2 / 1

Use R

プリント

こんにちは由美子です

R John Fox R R R Console library(rcmdr) Rcmdr R GUI Windows R R SDI *1 R Console R 1 2 Windows XP Windows * 2 R R Console R ˆ R

I L01( Wed) : Time-stamp: Wed 07:38 JST hig e, ( ) L01 I(2017) 1 / 19

5 Armitage x 1,, x n y i = 10x i + 3 y i = log x i {x i } {y i } 1.2 n i i x ij i j y ij, z ij i j 2 1 y = a x + b ( cm) x ij (i j )

JMP V4 による生存時間分析

遺産相続、学歴及び退職金の決定要因に関する実証分析 『家族関係、就労、退職金及び教育・資産の世代間移転に関する世帯アンケート調査』

こんにちは由美子です

: (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

151021slide.dvi

9 8 7 (x-1.0)*(x-1.0) *(x-1.0) (a) f(a) (b) f(a) Figure 1: f(a) a =1.0 (1) a 1.0 f(1.0)

kubostat2017b p.1 agenda I 2017 (b) probability distribution and maximum likelihood estimation :

II (2011 ) ( ) α β û i R

k- W707 1 / 39

% 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

untitled

Stata User Group Meeting in Kyoto / ( / ) Stata User Group Meeting in Kyoto / 21

数理統計学Iノート

_0212_68<5A66><4EBA><79D1>_<6821><4E86><FF08><30C8><30F3><30DC><306A><3057><FF09>.pdf


( ) 1.1 Polychoric Correlation Polyserial Correlation Graded Response Model Partial Credit Model Tetrachoric Correlation ( ) 2 x y x y s r 1 x 2

オーストラリア研究紀要 36号(P)☆/3.橋本

講義のーと : データ解析のための統計モデリング. 第5回

tokei01.dvi

(pdf) (cdf) Matlab χ ( ) F t

不均一分散最小二乗法の仮定では 想定しているモデルの誤差が時間やサンプルを通じて一定であるとしている 次のような式を想定する 誤差項である ut の散らばり具合がサンプルを通じて一定であるという仮定である この仮定は均一分散と呼ばれる 不均一分散とは その仮定が満たされない場合で 推計した係数の分散

DAA09

PowerPoint Presentation

1 12 *1 *2 (1991) (1992) (2002) (1991) (1992) (2002) 13 (1991) (1992) (2002) *1 (2003) *2 (1997) 1

2 H23 BioS (i) data d1; input group patno t sex censor; cards;

商学 65‐6☆/16.横田

TS002

untitled

1 1.1 Merton (1974) Black and Cox (1976) PD Probability of Default LGD Loss Given Default 1 EAD Exposure At Default II Merton (1974) Merton Merton Ges

Stata 11 Stata VAR VEC whitepaper mwp 4 mwp-084 var VAR 14 mwp-004 varbasic VAR 25 mwp-005 svar VAR 31 mwp-007 vec intro VEC 47 mwp-008 vec VEC 75 mwp

操作変数法


Evaluation of a SATOYAMA Forest Using a Voluntary Labor Supply Curve Version: c 2003 Taku Terawaki, Akio Muranaka URL: http

高齢化の経済分析.pdf

: : : : ) ) 1. d ij f i e i x i v j m a ij m f ij n x i =

Transcription:

7 2 2008 7 10 1 2 2 1.1 2............................................. 2 1.2 2.......................................... 2 1.3 2........................................ 3 1.4................................................ 3 1.5......................................... 6 1.6............................................. 9 1.7 2........................................... 11 1.8 2.......................................... 14 2 17 2.1............................................. 17 2.2......................................... 18 2.3........................................ 18 2.4................................................ 18 2.5....................................... 19 2.6......................................... 19 2.7........................................ 22 1/25

1 2 1 2 1.1 2 y i 0 1 2 OLS [0, 1] 0 1 2 2 OLS x i = (1, x 1,i,, x k,i ) β = (β 0, β 1,, β k ) 0 1 0 G ( x i β) 1 G i 1 π i π i P {y i = 1 x i } = G ( x β ) (1) G 2 2 1.2 2 2 (1) G 2 π i = P {y i = 1 x i } = G ( x β ) = Λ ( x i β ) = exp { x i β} 1 + exp { x (2) i β} = exp {β 0 + β 1 x 1,i + + β k x k,i } 1 + exp {β 0 + β 1 x 1,i + + β k x k,i } Λ(z) = 1 π i = P {y i = 0 x i } = 1 P {y i = 1 x i } = 1 Λ ( x i β ) exp{z} 1+exp{z} ln L (β; y, x) = n { yi ln Λ ( x i β ) + (1 y i ) ln ( 1 Λ ( x i β ))} i=1 ˆβ 2/25

1 2 1.3 2 1.3 2 (1) G 2 π i = P {y i = 1 x i } = G ( x β ) = Φ ( x i β ) = x β 1 2π e t2 2 dt (3) Φ = z 1 2π e 1 2 t2 dt { n y i Φ ( x i ln L (β; y, x) = β) } Φ ( x i β) [ 1 Φ ( x i β)] ϕ ( x i β ) x i i=1 ϕ(z) ˆβ 1.4 1.4.1 1% micro data U.S. Census Bureau Census 2000 data 2000 1-Percent Public Use Microdata *1 1 25 34 13113 2 3 4 1.4.2 esrx 2 *1 http://www.census.gov/press-release/www/2003/pums.html *3 3/25

1 2 1.4 age paocf paocf1 paocf2 paocf3 citizen citizen0 msp msp1 msp2 msp3 msp4 msp5 white black asian engabil educ educ1 educ2 educ3 educ4 educ5 esr esrx sex 16 =0 6 =1 6 17 =2 6 6 17 =3 18 =4 6 =1 =0 6 17 =1 =0 6 6 17 =1 =0 =1 =2 =3 =4 =5 =1 =0 15 =0 =1 =2 =3 =4 =5 =6 =1 =0 =1 =0 =1 =0 =1 =0 =1 =0 =1 =0 =1 =0 =1 =0 =0 =1 =2 =3 =4 3 =0 =1 4th Grade =2 5th Grade 6th Grade=3 7th Grade 8th Grade=4 9th Grade=5 10th Grade=6 11th Grade=7 12th Grade =8 =9 1 =10 1 =11 Associate degree =12 Bachelor s degree =13 Master s degree =14 Professional degree =15 Doctorate degree =16 =1 =0 =1 =0 or =1 =0 =1 =0 or =1 =0 16 =0 =1 =2 =3 =4 =5 =6 =1 =0 =1 =2 1 * 3 4/25

1 2 1.4 Coefficient Std. Error z-statistic Prob. C 0.8894 0.3843 2.3141 0.0207 AGE 0.0011 0.0073 0.1431 0.8862 WHITE 0.4058 0.0678 5.9874 0.0000 BLACK 0.2446 0.0767 3.1892 0.0014 ASIAN 0.0991 0.0944 1.0502 0.2936 PAOCF1 0.7749 0.0566 13.6912 0.0000 PAOCF2 0.1726 0.0659 2.6201 0.0088 PAOCF3 0.7467 0.0613 12.1781 0.0000 MSP1 0.1638 0.0524 3.1271 0.0018 MSP2 0.3233 0.1027 3.1478 0.0016 MSP3 0.8998 0.2852 3.1554 0.0016 MSP4 0.1231 0.0915 1.3444 0.1788 MSP5 0.0990 0.0964 1.0268 0.3045 CITIZEN0 0.4990 0.0567 8.8018 0.0000 EDUC1 1.7001 0.3111 5.4640 0.0000 EDUC2 0.9772 0.3087 3.1661 0.0015 EDUC3 0.4127 0.3083 1.3386 0.1807 EDUC4 0.1611 0.3089 0.5216 0.6020 EDUC5 0.1677 0.3132 0.5354 0.5924 2 2 1 McFadden R-squared 0.10386 Mean dependent var 0.643255 S.D. dependent var 0.479057 S.E. of regression 0.447095 Akaike info criterion 1.170609 Sum squared resid 2617.409 Schwarz criterion 1.181449 Log likelihood 7656.097 Hannan-Quinn criter. 1.174229 Restr. log likelihood 8543.414 LR statistic 1774.634 Avg. log likelihood 0.583856 Prob(LR statistic) 0 3 2 1 0 1 0 1848 1202 3050 1 2830 7233 10063 4678 8435 13113 4 2 1 69.25% 5/25

1 2 1.5 1.5 1. Workfile File - New - Workfile 2. OK Workfile structure type Unstructured - Undated Observations 191433 3. 6/25

1 2 1.5 4. csv Workfile Proc - Import - Read Text-Lotus-Excel Text ASCII PC csv ny.csv 5. 21 21 Name for series or Number if named in file 21 * 4 Data order in Columns * 5 # of headers before data 1 * 6 delimiters Comma * 7 *4 21 *5 in Columns *6 1 1 *7 csv Comma Comma 7/25

1 2 1.5 6. 8/25

1 2 1.6 1.6 1. 2 Workfile Genr OK esr=1 esr=4 1 0 esrx esrx Enter equation esrx = esr = 1 or esr = 4 * 8 2. Workfile Genr *8 or *9 <> not equal *10 esrx = citizen0 = educ1 = { 1 if esr = 1 or 4 0 otherwise { 1 if citizen 5 0 otherwise { 1 if educ 8 0 otherwise *11 educ3 = { 1 if 10 educ 12 0 otherwise and *12 educ5 = { 1 if educ = 14 or 15 0 otherwise 9/25

1 2 1.6 Enter equation citizen0=citizen<>5 * 9 Enter equation paocf1=paocf=1 Enter equation paocf2=paocf=2 Enter equation paocf3=paocf=3 Enter equation msp1 =msp =1 Enter equation msp2 =msp =2 Enter equation msp3 =msp =3 Enter equation msp4 =msp =4 Enter equation msp5 =msp =5 Enter equation educ1 =educ <=8 * 10 Enter equation educ2 =educ =9 Enter equation educ3 =educ >=10 and educ <=12 * 11 Enter equation educ4 =educ =13 Enter equation educ5 =educ =14 or educ =15 * 12 10/25

1 2 1.7 2 1.7 2 1. esrx age white black asian paocf1 paocf2 paocf3 msp1 msp2 msp3 msp4 msp5 citizen0 educ1 educ2 educ3 educ4 educ5 2 P {esrx i = 1 age i, white i } = exp {c + β 1age i + β 2 white i + } 1 + exp {c + β 1 age i + β 2 white i + } 2. 2 25 34 Workfile Sample OK Sample range pairs @all * 13 IF condition sex = 2 and age >= 25 and age <= 34 3. Quick - Estimate Method BINARY 4. *13 11/25

1 2 1.7 2 Equation specification Binary estimation method esrx c age white black asian paocf1 paocf2 paocf3 msp1 msp2 msp3 msp4 msp5 citizen0 educ1 educ2 educ3 educ4 educ5 Logit 5. 12/25

1 2 1.7 2 6. View - Expectation-Prediction Evaluation Success of probability is greater than 0.5 7. 13/25

1 2 1.8 2 1.8 2 2 2 1. esrx age white black asian paocf1 paocf2 paocf3 msp1 msp2 msp3 msp4 msp5 citizen0 educ1 educ2 educ3 educ4 educ5 2 P {esrx i = 1 age i, white i } = {c+β1age i+β 2white i+ } 1 2π e t2 2 dt 2. 2 25 34 3. Quick - Estimate Method BINARY 4. Equation specification Binary estimation method esrx c age white black asian paocf1 paocf2 paocf3 msp1 msp2 msp3 msp4 msp5 citizen0 educ1 educ2 educ3 educ4 educ5 Probit 14/25

1 2 1.8 2 5. 15/25

1 2 1.8 2 6. View - Expectation-Prediction Evaluation Success of probability is greater than 0.5 7. 16/25

2 2 2.1 y y y i = x i β + u i, i = 1,, n x i = (1, x 1,i,, x k,i ) β = (β 0, β 1,, β k ) u i.i.d. 0 F y y 1, y 2,, y J y i y i threshold 1 κ 0 < yi κ 1 2 κ 1 < yi y i = κ 2.. J κ J 1 < yi < κ J J + 1 κ 0, κ 1,, κ J outcome y i J y i = 1 if and only if κ 0 < y i κ 1 κ 0 x i β < u i κ 1 + x i β y i = 2 if and only if κ 1 < y i κ 2 κ 1 x i β < u i κ 2 + x i β. y i = 3 if and only if κ J 1 < y i κ J κ J 1 x i β < u i κ J + x J β κ 0 = κ J = J 1 y i j π ij = P (y i = j x i ) = F (κ j x i β) F (κ j 1 x i β), j = 1, J (4) κ 0 = κ J = F ( ) = 0 F ( ) = 1 F 17/25

2 2.2 2.2 (4) F π ij = P (y i = j x i ) = Λ ( κ j x i β ) Λ ( κ j 1 x i β ) Λ(z) = exp(z) 1+exp(z) ln L (β, κ 1,, κ J 1 ; y, x) = n i=1 j=1 J d ij ln ( Λ ( κ j x i β ) Λ ( κ j 1 x i β )) ˆβ κ 1,, κ J 1 2.3 (4) F π ij = P (y i = j x i ) = Φ (κ j x i β) Φ (κ j 1 x i β) Φ(z) = z 1 2 exp { 1 2 t2} dt ln L (β, κ 1,, κ J 1 ; y, x) = n i=1 j=1 J d ij ln ( Φ ( κ j x i β ) Φ ( κ j 1 x i β )) ˆβ κ 1,, κ J 1 2.4 2.4.1 2 1% 30 micro data U.S. Census Bureau Census 2000 data 2000 1-Percent Public Use Microdata * 14 1 30 26510 *14 http://www.census.gov/press-release/www/2003/pums.html 18/25

2 2.5 2.5 2 2.6 1. engabil age white black asian earns educ1 educ2 educ3 educ4 educ5 citizen0 msp1 msp2 msp3 msp4 msp5 30 P {engbil i = j age i, white i } = exp {κ j (β 1 age i + β 2 white i + )} 1 + exp {κ j (β 1 age i + β 2 white i + )} exp {κ j 1 (β 1 age i + β 2 white i + )} 1 + exp {κ j 1 (β 1 age i + β 2 white i + )} 2. 30 Workfile Sample OK Sample range pairs @all * 15 IF condition engabil => 1 and age >= 30 3. Quick - Estimate Method ORDERED *15 19/25

2 2.6 4. Equation specification Error Distribution engabil age white black asian earns educ1 educ2 educ3 educ4 educ5 citizen0 msp1 msp2 msp3 msp4 msp5 * 16 Logit *16 20/25

2 2.6 5. 21/25

2 2.7 6. View - Prediction Evaluation 2.7 1. engabil age white black asian earns educ1 educ2 educ3 educ4 educ5 citizen0 msp1 msp2 msp3 msp4 msp5 30 P {engbil i = j age i, white i } = κj (β 1age i+β 2white i+ ) κj 1 (β 1age i+β 2white i+ ) 1 2π e t2 2 dt 2. 1 2π e t2 2 dt 3. Quick - Estimate Method ORDERED 22/25

2 2.7 4. Equation specification Error Distribution engabil age white black asian earns educ1 educ2 educ3 educ4 educ5 citizen0 msp1 msp2 msp3 msp4 msp5 * 17 Normal *17 23/25

2 2.7 5. 24/25

2 2.7 6. View - Prediction Evaluation 25/25