Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: how to perform Wald tests with NLS

From   "Paulo Regis" <>
To   <>
Subject   st: how to perform Wald tests with NLS
Date   Fri, 12 Aug 2005 22:40:01 +0100

Dear all,

I am using nl command to estimate a nonlinear specification. In short, my model is:

and my output looks like

dgr5y   Coef   Std. Err.	
  C0	.02	.0083	etc.	
  b0	.06	.2828	etc.
  b1	1.2            .89	etc
  b2	.93	.282	etc
  C1	.97	.008	etc
 C2	.16	.008	etc

and I want to test C1=C2. I have tryed to use the test command after running my programs (both nl and ml) but it didnt work. If i type 

test C1+C2

it doesnt work althoug it perform "test C1" (the h0 is C1=0) but not "test C1=2". What can i do? I tryed two things. first I regressed


and I did "test C1".
 In shorth, I want to know
1- why test didnt work?
2- It is ok to do the regression with x5=(x3+x4) and "test C1"? 



This message has been checked for viruses but the contents of an attachment
may still contain software viruses, which could damage your computer system:
you are advised to perform your own checks. Email communications with the
University of Nottingham may be monitored as permitted by UK legislation.

*   For searches and help try:

© Copyright 1996–2017 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index