Professional Documents
Culture Documents
tw
(02)2705-5066
www.wunan.com.tw
(02)2705-5066
STaTa SPSS
SASLISREL/HLMJMulTiGretlAMOSLIMDEP Eviews STaTa
(1)
(2) vs.
(3)
FRED(4)
panel (4) (5)
(6)
STaTa vs.
STaTa
Menu Menu STaTa
longitudinal-data panel-data
OLS STaTa
STaTa
1. STaTa
2. STaTa
3. STaTa
4. Panel-data STaTa
www.wunan.com.tw I
(02)2705-5066
5. STaTa
longitudinal-data ARMAARIMAVAR
VECM STaTa
panel-data Panel-data cross sec-
tionSTaTa
ARIMAARCH/GARCHVAR/Structural VAR
VECM
http://www.softhome.com.tw STaTa
STaTa
II
www.wunan.com.tw
(02)2705-5066
Chapter
01 Stata 1
III
www.wunan.com.tw
(02)2705-5066
Chapter
02 49
2-1 ......................................................................................... 52
2-1-1 .................................................................................... 52
2-1-2 ................................................................................ 55
2-1-3 .................................................................................... 56
2-2 ............................................................................. 69
2-2-1 ( ) ................................................................... 72
2-2-2 ................................................ 73
2-2-3 ................................................................ 76
2-3 ............................................................................. 77
2-4 ....................................................................................... 106
2-5 ............................................................................................... 120
2-5-1 (Dummy variable) .................................................... 121
2-5-2120 ........................................................... 129
Chapter
03 135
IV
www.wunan.com.tw
(02)2705-5066
Contents
Chapter
04 237
V
www.wunan.com.tw
(02)2705-5066
4-3 (rsquare ).......................... 289
4-4 3 Prais-Winsten (praisnewey
) ..................................................................................................... 304
4-5 OLS GLS (heteroskedasticity) ............................ 315
4-5-1OLS ( reg estat hettest) .......... 319
4-5-2OLS Robust (regress,vce(robust) ) ............ 327
4-5-3 (regress,[aweight= ] ) ..... 328
4-6 Single-equation instrumental-variables ........................................ 330
4-6-1a................................. 333
4-6-1b Hausman
(hausman ) ..................................................................... 349
4-6-1c (2SLS)(ivregress 2sls ) .................. 359
4-6-2 (limited-information max likelihood)
(ivregress liml ) ................................................................ 369
4-6-3 (Generalized Method of Moments)(ivregress
gmm ) ............................................................................... 371
4-7 (three-stage) (reg3 ) ........................................ 376
4-7-1 vs. ........................ 377
4-7-2 vs. ........ 386
Chapter
05 (Unit Root) 397
VI
www.wunan.com.tw
(02)2705-5066
Contents
Chapter
06 ARIMA 447
VII
www.wunan.com.tw
(02)2705-5066
6-2-2MA(2) .............................................................................. 463
6-2-3MA(q) .............................................................................. 465
6-2-4Stata MA(q) ............................................................ 467
6-3 (AR) ......................................................... 481
6-3-1AR(1) ............................................................................... 483
6-3-2AR(2) ............................................................................... 488
6-3-3Stata AR(p) ............................................................. 492
6-4 ARIMA .................................................................... 504
6-4-1ARIMA(p,d,q) ..................................................... 504
6-4-2ARIMA(p,0,q) ..................................................... 508
6-5 Stata ARIMA(p,d,q) .................................... 510
6-5-1ARIMA(1,1,4) ..................................................... 511
6-5-2Diebold-Mariano ...................................... 538
Chapter
07 ARCH-GARCH
MGARCH 543
VIII
www.wunan.com.tw
(02)2705-5066
Contents
Chapter
08 ( )VECM 645
IX
www.wunan.com.tw
(02)2705-5066
8-3 Stata cointegration .................................................... 665
8-3-1cointegration ............................................................ 665
8-3-2Stata cointegration ............................................... 668
Chapter
09
VECM 687
Chapter
10
VAR 759
X
www.wunan.com.tw
(02)2705-5066
Contents
XI
www.wunan.com.tw
(02)2705-5066
10-5-1Stata VAR ......................................................... 875
10-5-2Stata 1 VAR .............................................. 876
10-5-3Diebold-Mariano ........................ 929
10-5-4Stata 2VAR model with exogenous variables ............ 932
10-5-5Stata 3VAR model with constraints ........................... 936
Chapter
11 Structural VAR
(SVAR) 941
1019
XII
www.wunan.com.tw
(02)2705-5066
t e r
p
01
a
Ch
Stata
www.wunan.com.tw
(02)2705-5066
Stata
1-1 Stata
Stata (Computer Resource Center)
1985
Menu Stata
Stata (multilevel mixed
models) (exact logistic regression) (multiple
correspondence analysis) (time-and-date variables)
(www.stata.com) Stata regress
screenshot
Stata Stata
Stata (survival
models with frailty) (dynamic panel data regressions)
(GEE)ARCH
(GLM) / (regressions
with count or binary outcomes)ANOVA/ MANOVA
(autoregressive integrated moving average model, ARIMA)
(standardization of rates) (casecontrol analysis)
(structural equation modeling, SEM)Contrasts and pairwise comparisons
(multiple imputation) Time series(UCM--unobserved-components
modelsARFIMASpectral density with parametric estimates after ARIMA,
ARFIMA and UCM)Stata Stata
2
www.wunan.com.tw
(02)2705-5066
Chapter
Stata 01
Stata
excel byte
integerlongfloatdouble stringStata
panel/longitudinal (binaryordered
Multinomialcount ) ( )
Stata regression fit
distributional plots (Poisson Zero-inated Poisson )
time-series graphs survival plots
Stata (www.stata.com)
1-1
www.wunan.com.tw3
(02)2705-5066
Stata
4
www.wunan.com.tw
(02)2705-5066
Chapter
Stata 01
Stata
(linear models)
regression; bootstrap, jackknife, and robust Huber/White/sandwich variance estimates;
instrumental variables; three-stage least squares;constraints; quantile regression; GLS
(multilevel mixed-effects models)
continuous, binary, and count outcomes; two-, three-, and multi-way random-intercepts
and random-coefficients models; crossed random effects; ML and REML estimation;
BLUPs of effects and fitted values; hierarchical models
(binary, count, and limited dependent variables)
logistic, probit, tobit; Poisson and negative-binomial; conditional, multinomial, nested,
ordered, rank-ordered, and stereotype logistic; multinomial probit; zero-inflated and
zero-truncated count models; selection models; marginal effects
/ / (panel data/cross-sectional/time-series)
random- and fixed-effects with robust standard errors, linear mixed models, random-
effects probit, GEE, random- and fixed-effects Poisson, dynamic panel data models, and
instrumental variables regression; AR(1) disturbances
(GLM)(generalized linear models, GLMs)
ten link functions, user-defined links, seven distributions, ML and Iteratively Reweighted
Least Square(IRLS) estimation, nine variance estimators, seven residuals
(nonparametric methods)
WilcoxonMannWhitney, Wilcoxon signed ranks and KruskalWallis tests; Spearman
and Kendall correlations; KolmogorovSmirnov tests; exact binomial CIs
(exact statistics)
exact logistic and Poisson regression, exact casecontrol statistics, binomial tests, Fishers
exact test for r c tables
ANOVA/MANOVA
balanced and unbalanced designs; factorial, nested, and mixed designs; repeated
measures
(multivariate methods)
factor analysis; principal components; discriminant analysis; rotation; multidimensional
scaling; Procrustean analysis; correspondence analysis; biplots; dendrograms; user-
extensible analyses
Cluster analysis
hierarchical clustering; kmeans and kmedian nonhierarchical clustering; dendrograms;
stopping rules; user-extensible analyses
www.wunan.com.tw5
(02)2705-5066
Stata
6
www.wunan.com.tw
(02)2705-5066
Chapter
Stata 01
(matrix programmingMata)
interactive sessions, large-scale development projects, optimization, matrix inversions,
decompositions, eigen values and eigenvectors, LAPACK engine, real and complex
numbers, string matrices, interface to Stata datasets and matrices
(SEM)
(SEM)
(SEM)
(Factor analysis) (path
analysis) OLS SEM SEM (1)
(Measurement invariance) MCFA IRT-LR
DFIT (2) (Multiple group modeling)(3) Latent growth
modeling(4) (Hierarchical/multilevel) (4)
(item response theory models)(5) Mixture model (latent class) SEMStata
Robust Survey (Multi-
method multi-trait models)SEM (Trees) Structural Equation Models
(decision trees)
www.wunan.com.tw7
(02)2705-5066
Stata
Stata
http://www.ats.ucla.edu/stat/stata/ado/analysis/
8
www.wunan.com.tw
(02)2705-5066
Chapter
Stata 01
Stata
http://www.softhome.com.tw/html/
1-3 (http://www.softhome.com.tw)
www.wunan.com.tw9
(02)2705-5066
Stata
1-2 Stata
Stata
Stata 4.03MB
SETUP SnCode Key
Intercooled
Small
Intercooled
1-4 Stata
Stata > > Stata
Stata
10
www.wunan.com.tw
(02)2705-5066
Stata
. ., 2016.11
ISBN 978-957-11-8862-1 ()
1.2.
512.4 105018098
1HA8
Stata
106 3 3 9 4
(02)2705-5066(02)2706-6100
http://www.wunan.com.tw
wunanwunan.com.tw
0 1 0 6 8 9 5 3
2 0 1 6 1 1
1 0 0 0
www.wunan.com.tw
(02)2705-5066