楼主: CXLRFP
1580 9

[回归分析求助] 似乎无关方程 [推广有奖]

  • 6关注
  • 12粉丝

已卖:7份资源

教授

10%

还不是VIP/贵宾

-

威望
0
论坛币
1522 个
通用积分
21.1258
学术水平
33 点
热心指数
43 点
信用等级
30 点
经验
68160 点
帖子
839
精华
0
在线时间
1439 小时
注册时间
2014-4-4
最后登录
2024-10-26

楼主
CXLRFP 学生认证  发表于 2014-4-4 20:04:58 |AI写论文
1论坛币
谁有似乎无关方程的介绍?如何在stata中操作!非常感谢!

关键词:Stata 非常感谢 tata 如何

回帖推荐

蓝色 发表于4楼  查看完整内容

Title [R] sureg -- Zellner's seemingly unrelated regression Syntax Basic syntax sureg (depvar1 varlist1) (depvar2 varlist2) ... (depvarN varlistN) [weight] Full syntax sureg ([eqname1:] depvar1a [depvar1b ... =] varlist1 [, noconstant]) ([eqname2:] depvar2a [depvar2b ... =] varlist2 [, noconstant]) ... ...

沙发
杨柳柳依依 发表于 2014-4-4 20:06:08
火 前 占 座                                                

藤椅
CXLRFP 学生认证  发表于 2014-4-4 20:07:30
什么意思?

板凳
蓝色 发表于 2014-4-4 20:10:41
Title

    [R] sureg -- Zellner's seemingly unrelated regression


Syntax

    Basic syntax

        sureg (depvar1 varlist1) (depvar2 varlist2) ...  (depvarN varlistN) [if] [in] [weight]


    Full syntax

        sureg ([eqname1:] depvar1a [depvar1b ... =] varlist1 [, noconstant])
              ([eqname2:] depvar2a [depvar2b ... =] varlist2 [, noconstant])
              ...
              ([eqnameN:] depvarNa [depvarNb ... =] varlistN [, noconstant]) [if] [in] [
              weight] [, options]


    Explicit equation naming (eqname:) cannot be combined with multiple dependent variables in
    an equation specification.

    options                     Description
    ------------------------------------------------------------------------------------------
    Model
      isure                     iterate until estimates converge
      constraints(constraints)  apply specified linear constraints

    df adj.
      small                     report small-sample statistics
      dfk                       use small-sample adjustment
      dfk2                      use alternate adjustment

    Reporting
      level(#)                  set confidence level; default is level(95)
      corr                      perform Breusch-Pagan test
      nocnsreport               do not display constraints
      display_options           control column formats, row spacing, line width, and display
                                  of omitted variables and base and empty cells

    Optimization
      optimization_options      control the optimization process; seldom used

      noheader                  suppress header table from above coefficient table
      notable                   suppress coefficient table
      coeflegend                display legend instead of statistics
    ------------------------------------------------------------------------------------------
    varlist1, ..., varlistN may contain factor variables; see fvvarlist.  You must have the
      same levels of factor variables in all equations that have factor variables.
    depvar and the varlists may contain time-series operators; see tsvarlist.
    bootstrap, by, jackknife, rolling, and statsby are allowed; see prefix.
    Weights are not allowed with the bootstrap prefix.
    aweights are not allowed with the jackknife prefix.
    aweights and fweights are allowed, see weight.
    noheader, notable, and coeflegend do not appear in the dialog box.
    See [R] sureg postestimation for features available after estimation.


Menu

    Statistics > Linear models and related > Multiple-equation models > Seemingly unrelated
        regression


Description

    sureg fits seemingly unrelated regression models (Zellner 1962; Zellner and Huang 1962;
    Zellner 1963).  The acronyms SURE and SUR are often used for the estimator.


Options

        +-------+
    ----+ Model +-----------------------------------------------------------------------------

    isure specifies that sureg iterate over the estimated disturbance covariance matrix and
        parameter estimates until the parameter estimates converge.  Under seemingly unrelated
        regression, this iteration converges to the maximum likelihood results.  If this
        option is not specified, sureg produces two-step estimates.

    constraints(constraints); see [R] estimation options.

        +---------+
    ----+ df adj. +---------------------------------------------------------------------------

    small specifies that small-sample statistics be computed.  It shifts the test statistics
        from chi-squared and z statistics to F statistics and t statistics.  Although the
        standard errors from each equation are computed using the degrees of freedom for the
        equation, the degrees of freedom for the t statistics are all taken to be those for
        the first equation.

    dfk specifies the use of an alternate divisor in computing the covariance matrix for the
        equation residuals.  As an asymptotically justified estimator, sureg by default uses
        the number of sample observations (n) as a divisor.  When the dfk option is set, a
        small-sample adjustment is made and the divisor is taken to be sqrt((n - k_i) * (n -
        k_j)), where k_i and k_j are the number of parameters in equations i and j,
        respectively.

    dfk2 specifies the use of an alternate divisor in computing the covariance matrix for the
        equation residuals.  When the dfk2 option is set, the divisor is taken to be the mean
        of the residual degrees of freedom from the individual equations.

        +-----------+
    ----+ Reporting +-------------------------------------------------------------------------

    level(#); see [R] estimation options.

    corr displays the correlation matrix of the residuals between equations and performs a
        Breusch-Pagan test for independent equations; that is, the disturbance covariance
        matrix is diagonal.

    nocnsreport; see [R] estimation options.

    display_options:  noomitted, vsquish, noemptycells, baselevels, allbaselevels, cformat(
        %fmt), pformat(%fmt), sformat(%fmt), and nolstretch; see [R] estimation options.

        +--------------+
    ----+ Optimization +----------------------------------------------------------------------

    optimization_options control the iterative process that minimizes the sum of squared
        errors when isure is specified.  These options are seldom used.

        iterate(#) specifies the maximum number of iterations.  When the number of iterations
            equals #, the optimizer stops and presents the current results, even if the
            convergence tolerance has not been reached.  The default value of iterate(#) is
            the current value of set maxiter, which is iterate(16000) if maxiter has not been
            changed.

        trace adds to the iteration log a display of the current parameter vector.

        nolog suppresses the display of the iteration log.

        tolerance(#) specifies the tolerance for the coefficient vector.  When the relative
            change in the coefficient vector from one iteration to the next is less than or
            equal to #, the optimization process is stopped.  tolerance(1e-6) is the default.

    The following options are available with sureg but are not shown in the dialog box:

    noheader suppresses display of the header reporting F statistics, R-squared, and root mean
        squared error above the coefficient table.

    notable suppresses display of the coefficient table.

    coeflegend; see [R] estimation options.


Examples

    Setup
        . sysuse auto

    Fit seemingly unrelated regression model
        . sureg (price foreign weight length) (mpg foreign weight) (displ foreign weight)

    Using a shorthand syntax
        . sureg (price foreign weight length) (mpg displ = foreign weight)

    Using global macros
        . global price (price foreign weight length)
        . global mpg (mpg foreign weight)
        . global displ (displ foreign weight)
        . sureg $price $mpg $displ

    With constraints
        . constraint 1 [price]foreign = [mpg]foreign
        . constraint 2 [price]foreign = [displacement]foreign
        . sureg (price foreign length) (mpg displacement = foreign weight), const(1 2)

报纸
CXLRFP 学生认证  发表于 2014-4-4 21:01:20
蓝色 发表于 2014-4-4 20:10
Title

    [R] sureg -- Zellner's seemingly unrelated regression
非常感谢,如果能有介绍这个方程的资料更好?~

地板
蓝色 发表于 2014-4-4 21:12:46
看 格林的《计量经济分析》
这些都是计量经济学书上讲的

7
CXLRFP 学生认证  发表于 2014-4-4 22:41:02
蓝色 发表于 2014-4-4 21:12
看 格林的《计量经济分析》
这些都是计量经济学书上讲的
好的,非常感谢!那个版本?具体点?
厚德载物。学无止境。

8
蓝色 发表于 2014-4-6 16:13:24
greene的所有的版本都讲似乎无关估计量的
论坛上面有第七版
https://bbs.pinggu.org/thread-300734-1-1.html

9
CXLRFP 学生认证  发表于 2014-4-7 09:28:10
真诚感谢!可不可推荐几篇应用似无关方程做分析的经济学文章?再次感谢!
厚德载物。学无止境。

10
CXLRFP 学生认证  发表于 2014-4-7 09:30:31
蓝色 发表于 2014-4-6 16:13
greene的所有的版本都讲似乎无关估计量的
论坛上面有第七版
https://bbs.pinggu.org/thread-300734-1-1.ht ...
真诚感谢!可不可推荐几篇应用似无关方程做分析的经济学文章?再次感谢!
厚德载物。学无止境。

您需要登录后才可以回帖 登录 | 我要注册

本版微信群
加好友,备注jltj
拉您入交流群
GMT+8, 2026-1-9 14:18