stata-应用stata学习计量经济学原理
用书 应用stata学习计量经济学原理 第四版 重庆大学出版社
HarryStudyPython_ing
Always On The Road!
展开
-
stata:应用stata学习计量经济学原理 practice 6 边际效用 Marginal effect
应用stata学习计量经济学原理 Practice 6 边际效用边际效用参考资料课堂代码Practice 6Practice 6 边际效用边际效用参考资料Stata:边际效应分析\交乘项的系数含义和图示如何用 Stata 做调节中介效应检验?笔记︱横截面回归模型中调节效应+中介效应(横截面回归模型两大方向)Stata: 手动计算和图示边际效应rmargins.pdf课堂代码log using lecture6, replaceuse WAGE1,cleargen lnwage=lo原创 2021-04-10 21:25:25 · 1840 阅读 · 0 评论 -
stata:第十章 随机解释变量与矩估计
应用stata学习计量经济学原理 第十章 随机解释变量与矩估计本章代码第十章 随机解释变量与矩估计本章代码* setupversion 11.1capture log closeset more off************* POE4 Chapter 10.2.4: A Wage Equation* open loglog using chap10_wage, replace text* open data and examineuse mroz, cleardescribe原创 2021-04-07 14:24:22 · 742 阅读 · 0 评论 -
stata:第九章 时间序列数据回归:平稳变量
应用stata学习计量经济学原理 第九章 时间序列数据回归:平稳变量本章代码第九章 时间序列数据回归:平稳变量本章代码* setupversion 11.1capture log closeset more off* datesclearset obs 100generate date = tq(1961q1) + _n-1list date in 1/5format %tq datelist date in 1/5tsset datesave new.dta, replac原创 2021-04-07 14:23:52 · 3587 阅读 · 0 评论 -
stata:应用stata学习计量经济学原理 practice 5 多元线性回归推断
应用stata学习计量经济学原理 Practice 5 多元线性回归推断Practice 5 多元线性回归推断clear all cd "F:\stata与计量经济学\week 5 计量实验"dir* Q1use food.dta, replace* (1)reg food_exp income* (2)scalar tc90 = invttail(38,.05)scalar ub2 = _b[income] + tc90*_se[income]scalar lb2 =原创 2021-04-01 15:06:40 · 613 阅读 · 0 评论 -
stata:第八章 异方差
应用stata学习计量经济学原理 第八章 异方差本章代码第八章 异方差本章代码* setupversion 11.1capture log closeset more off* open loglog using chap08, replace text* --------------------------------------------* food expenditure example* OLS, OLS with White's std errors, GLS* --原创 2021-03-31 14:21:28 · 1199 阅读 · 0 评论 -
stata:第七章 使用指示变量
应用stata学习计量经济学原理 第七章 使用指示变量本章代码第七章 使用指示变量本章代码* setupversion 11.1capture log closeset more off* Chapter 7.1 Indicator Variables in Real Estate Example* open loglog using chap07_utown, replace text* open datause utown, clear* summarize and ex原创 2021-03-31 14:15:05 · 1075 阅读 · 0 评论 -
stata:第六章 多元回归模型:更多推断
应用stata学习计量经济学原理 第六章 多元回归模型:更多推断本章代码第六章 多元回归模型:更多推断本章代码* setupversion 11.1capture log closeset more off* open loglog using chap06, replace textuse andy, clear* -------------------------------------------* The following block estimates Andy's原创 2021-03-31 14:13:27 · 728 阅读 · 0 评论 -
stata:应用stata学习计量经济学原理 practice 4 OLS
应用stata学习计量经济学原理 Practice 4 OLSPractice 4 OLSclear allcd "F:\stata与计量经济学\week 4计量实验"log using homework4, replacesysuse lifeexp,clear* (1)reg lexp gnppcgen lngnppc = log(gnppc)reg lexp lngnppc* (2)reg lexp lngnppc popgrowth* orgen EurAsua原创 2021-03-24 16:07:36 · 460 阅读 · 0 评论 -
stata:第五章 多元回归模型
应用stata学习计量经济学原理 第五章 多元回归模型本章代码第五章 多元回归模型本章代码* setupversion 11.1capture log closeset more off* open loglog using chap05_food, replace text* open datause andy, clear* Summary Statisticssummarize* List subset of observationslist in 1/5* L原创 2021-03-24 14:54:32 · 1104 阅读 · 1 评论 -
stata:第四章 预测、拟合优度和建模
应用stata学习计量经济学原理 第四章 预测、拟合优度和建模本章代码第四章 预测、拟合优度和建模本章代码* setupversion 11.1capture log closeset more off* open loglog using chap04_food, replace text* open datause food, clear* add observation editset obs 41replace income=20 in 41* estimat原创 2021-03-24 14:52:39 · 6494 阅读 · 0 评论 -
stata:第三章 区间估计和假设检验
应用stata学习计量经济学原理 第三章 区间估计和假设检验本章代码局部绘图解析第三章 区间估计和假设检验本章代码cd "F:\stata与计量经济学\data"use food, clear* estimate regressionreg food_exp income* compute t-critical valuescalar tc975 = invttail(38,.025)di "t critical value 97.5 percentile = " tc975*原创 2021-03-17 20:51:56 · 3413 阅读 · 0 评论 -
stata:应用stata学习计量经济学原理 practice 3 stata绘图进阶
应用stata学习计量经济学原理 Practice 3 stata绘图进阶Practice 3 stata绘图进阶log using homework3 ,replace text* Q1sysuse uslifeexp.dta , clear* 1twoway line le year , title(1900-2000 US life expectancy)* 2generate diff = le_male - le_femalelabel variable diff "male原创 2021-03-17 20:45:37 · 353 阅读 · 0 评论 -
stata:应用stata学习计量经济学原理 practice 2 stata绘图基础
应用stata学习计量经济学原理 Practice 2Practice 2* Q1 clear all* 1sysuse uslifeexp.dta* 2scatter le yearscatter le year,connect(1)scatter le year,connect(1) msymbol(i)* 3scatter le year, ///ylabel(30(5)80) xlabel(1890(10)2010) ///xtitle(year) ytitle(l原创 2021-03-17 20:42:11 · 378 阅读 · 0 评论 -
stata:应用stata学习计量经济学原理 practice 1 stata简介
应用stata学习计量经济学原理 Practice 1Practice 1use C:\Users\Administrator\Desktop\WAGE1.DTA gen educ2=educ^2label variable educ2 "education square"gen educ_exper = educ*exper if educ>9gen logexper=log(exper)gen fem_educ=female*educgen root_educ=edu原创 2021-03-17 20:40:11 · 309 阅读 · 0 评论 -
stata:第二章 简单线性回归模型(重点:绘图)
应用stata学习计量经济学原理 第二章 简单线性回归模型本章课本代码第二次作业第二章 简单线性回归模型本章课本代码* setupversion 11.1capture log closeset more off* open food data* log using chap02_food, replace textcd "F:\stata与计量经济学\data"use food, clear* examine datadescribe* browselistlist i原创 2021-03-10 16:44:15 · 4160 阅读 · 4 评论 -
stata:第一章 stata简介
应用stata学习计量经济学原理 第一章 stata简介本章代码练习答案第一章 stata简介本章代码* setupversion 11.1capture log close // this is a comment too set more off* open log file* log using chap01, replace textcd "F:\stata与计量经济学\data"* open datause cps4_small, cleardescribe* as原创 2021-03-09 08:31:38 · 792 阅读 · 1 评论