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

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

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

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

Stata 11 Stata ROC whitepaper mwp anova/oneway 3 mwp-042 kwallis Kruskal Wallis 28 mwp-045 ranksum/median / 31 mwp-047 roctab/roccomp ROC 34 mwp-050 s

% 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

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

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

BR001

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

Microsoft Word - Text_5_STATA_1_Jp_ doc

1 I EViews View Proc Freeze

5.2 White

こんにちは由美子です

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

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

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

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

こんにちは由美子です

Stata 11 whitepaper mwp 4 mwp mwp-028 / 41 mwp mwp mwp-079 functions 72 mwp-076 insheet 89 mwp-030 recode 94 mwp-033 reshape wide

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

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 (

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

Stata13 Stata long/wide whitepaper mwp mcode import excel Excel / 4 mwp-092 import delimited 10 mwp-195 infix 17 mwp-031 infile 23 mwp-080 append 29 m

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

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

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

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

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

2

13 Student Software TI-Nspire CX CAS TI Web TI-Nspire CX CAS Student Software ( ) 1 Student Software 37 Student Software Nspire Nspire Nspir

こんにちは由美子です

卒業論文

.. est table TwoSLS1 TwoSLS2 GMM het,b(%9.5f) se Variable TwoSLS1 TwoSLS2 GMM_het hi_empunion totchr

最小2乗法

TS002

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

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

「スウェーデン企業におけるワーク・ライフ・バランス調査 」報告書

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

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

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

分布

E-Views 簡単な使い方

untitled

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

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

Microsoft Word - MetaFluor70取扱説明.doc

Mantel-Haenszelの方法

ProVAL Recent Projects, ProVAL Online 3 Recent Projects ProVAL Online Show Online Content on the Start Page Page 13

untitled

スライド 1

Rotem Meter View Software

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

pp R R Word R R R R Excel SPSS R Microsoft Word 2016 OS Windows7 Word2010 Microsoft Office2010 R Emacs ESS R R R R https:

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

linguistics

【アフィリコード】総合マニュアル

【アフィリコードプラス】総合マニュアル

PR

10

(lm) lm AIC 2 / 1

FPGAメモリおよび定数のインシステム・アップデート

1. Stata( ステータ ) Stata は,StataCorp 社の販売している統計ソフトウェアで, 計量経済学においてもっともよく使われています 最新の計量経済学的手法の論文を執筆する際に,Stata による推定方法 ( コマンド ) も同時に発表されることがよくあり, 基本的な分析からより

報告書

LSM5Pascal Ver 3.2 GFP 4D Image VisArt Carl Zeiss Co.,Ltd.

programmingII2019-v01

Presentation Title Goes Here

,, create table drop table alter table

<4D F736F F D20939D8C7689F090CD985F93C18EEA8D758B E646F63>

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

Microsoft Word - Meta70_Preferences.doc

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

スライド タイトルなし

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

Use R

X Window System X X &

13B1X gonyx 13B1X gonyx 13B1X gonyx 13B1X

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

SAS Enterprise Guideによるデータ解析入門

!!! 2!

untitled

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

<4D F736F F D B B83578B6594BB2D834A836F815B82D082C88C60202E646F63>

Python ( ) Anaconda 2 3 Python Python IDLE Python NumPy 6 5 matpl

Studies of Foot Form for Footwear Design (Part 9) : Characteristics of the Foot Form of Young and Elder Women Based on their Sizes of Ball Joint Girth

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

Python (Anaconda ) Anaconda 2 3 Python Python IDLE Python NumPy 6

R による統計解析入門

,, 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



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

雇用と年金の接続 在職老齢年金の就業抑制効果と老齢厚生年金受給資格者の基礎年金繰上げ受給要因に関する分析 The Labour Market Behaviour of Older People: Analysing the Impact of the Reformed "Earning Test"

1 15 R Part : website:

浜松医科大学紀要

JMP V4 による生存時間分析

Rによる計量分析:データ解析と可視化 - 第2回 セットアップ

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

dicutil1_5_2.book

Kobe University Repository : Kernel タイトル Title 著者 Author(s) 掲載誌 巻号 ページ Citation 刊行日 Issue date 資源タイプ Resource Type 版区分 Resource Version 権利 Rights DOI

Transcription:

1 1 2015 4 6 1. ECCS. ECCS,. (https://ras.ecc.u-tokyo.ac.jp/guacamole/) 2. Mac Do-file Editor. Mac Do-file Editor Windows Do-file Editor Top Do-file editor, Do View Do-file Editor Execute(do). 3. Mac System Preferences... Display, Resolution Scaled 800x600. 2015 4 9 1. (csv, )

2 1 csv File Import Tex data (delimited, *.csv,...) Browse..., csv. xls, xlsx File Import Excel spreadsheet (*.xls, *.xlsx) Excel file: Browse..., xls( xlsx). 1, Import first row as variable names ( ). 2. (Command csv ) (1) pwd (pwd:print working directory),.

(2). cd " " (cd:change directory), File Change Working Directory...,. (3) insheet using,., insheet using " ". 3 2015 4 20 1... Statistics Summaries, tables, amd tests Summary and descriptive statistics Binomial calculator Sample size n = 865, Successes x = 268 a. a nˆp = 865 0.31 = 268.15, x = 268. Exact, Wald.

4 1 1.1:. display 865*0.31 268.15. cii 865 268 -- Binomial Exact -- Variable Obs Mean Std. Err. [95% Conf. Interval] -------------+--------------------------------------------------------------- 865.3098266.0157228.2791244.3418306. cii 865 268, wald (Wald ) -- Binomial Wald --- Variable Obs Mean Std. Err. [95% Conf. Interval] -------------+--------------------------------------------------------------- 865.3098266.0157228.2790104.3406427. prtesti 865 268 0.4, count ( 0.31, (count)268 ) One-sample test of proportion x: Number of obs = 865 ------------------------------------------------------------------------------ Variable Mean Std. Err. [95% Conf. Interval] -------------+---------------------------------------------------------------- x.3098266.0157228.2790104.3406427 ------------------------------------------------------------------------------ p = proportion(x) z = -5.4135 Ho: p = 0.4 Ha: p < 0.4 Ha: p!= 0.4 Ha: p > 0.4 Pr(Z < z) = 0.0000 Pr( Z > z ) = 0.0000 Pr(Z > z) = 1.0000 (count), Use integer counts instead of proportions ( ),. 2. Video examples., Video examples, Youtube (, 12). 3. t 0.05 (5%). Command display invttail(, 0.05). display invttail(, 0.05). t, t. Command display ttail(, t ).

0.95 (95%). Command display invnormal(0.95). STATA, Command help functions. 4. Data, Other utilities Hand calculator, Create..., Category:. Mac, + Y= \ 5 2015 4 23 25. 4. ( ) (log p t log p t 1 ) 100 (, (log(topix) - log(l.topix))*100 ). 25. 2, 3 L2.sony, L3.sony. 28. 5. 1.24, X i = x i Y i E(Y i X i = x i ) = β 0 + β 1 x i 95%, x i 5 Confidence interval for an individual forecast, X i = x i Yi = β 0 + β 1 x i + ϵ i 95%, 95%. ϵ i 1.1:, 95% ( ) 95% ) (1) 95% Confidence Interval 95% Prediction Interval 6 0 6 4 2 0 2 4 x 6 0 6 4 2 0 2 4 x 95% CI Fitted values y 95% PI Fitted values y

6 1 1.2:, 95% 95% (2) 95% Confidence Interval & 95% Prediction Interval 6 0 6 4 2 0 2 4 x 95% PI Fitted values 95% CI y STATA14 1.1. (Data) (Create or change data (Other variable creation commands (Draw sample from normal distribution)

7 1.1: 1.2: (2)

8 1 (Data) (Data Editor) ( ) (Data Editor (Browse) ( ( )(Data Editor (Edit) (Graphics) ( / )(Twoway graph (scatter, line, etc)) 1.3: (1)

9 1.4: (2) (Data) (Describe data (Summary Statistics (Statistics) / / (Summaries, tables, and tests (Summary and descriptive statistics) (Summary Statistics

10 1 1.6: (1),, (Statistics) / / (Summaries, tables, and tests (Summary and descriptive statistics) (Correlations and covariances 1.7: Command

11 1.8: Do-file Editor 1.2. 1.10: Excel Data Editor (2)

12 1 1.11: 1.13:

13 csv (File) (Import) (,.csv )(Tex data (delimited, *.csv,...)) (Browse...), csv. xls, xlsx (File) (Import) Excel (.xls, xlsx)(excel spreadsheet (*.xls, *.xlsx)) Excel (Excel file:) (Browse...), xls( xlsx). 1, 1 (Import first row as variable names) ( ).

14 1 1.3. (Statistics) / / (Summaries, tables, and tests (Summary and descriptive statistics) (Confidence intervals 1.14: 95% ( ) (Statistics) / / (Summaries, tables, and tests (Classical tests of hypotheses) t ( )(t test (mean-comparison test)

15 1.15: : 5% 1.16: : 5%

16 1 (Statistics) / / (Summaries, tables, and tests (Summary and descriptive statistics) ( )(Binomial calculator) (Sample size) n = 865, (Successes) x = 268 a. a nˆp = 865 0.31 = 268.15, x = 268. (Exact), (Wald). ( ) (Statistics) / / (Summaries, tables, and tests (Classical tests of hypotheses) ( )(Proportion test calculator

17 1.17: : 5% 1.18: : 5%

18 1 1.4. (Data) (Create or change data (Create new variable) 1.19: (Statistics) (Time series (Setup and utilities) (Declare dataset to be time-series data)

19 1.20: (Statistics) (Linear models and related (Linear regression)

20 1 1.21: 1.22: 95% (1)

1.23: 95% (2) 21