I know that the Wald test uses 'test' as command but I have some simple calculations to make on approximate Wald test , note no data frame.
So how do you solve Wald test on
: H0 : gamma=1, vs H1: gamma not= 1 where gamma=p1/p2
Observed
n1=78, n2 = 51, Sum of xi=207, sum of yj=212
therefore observed p1= n1/sum xi = 78/212
observed p2= n2/sum yj = 51/202
observed gamma = p1/p2 = 78/207 * 202/51
Covariance matrix 2x2 = I(p2,gamma)^-1 = [ 0.000862 -0.00561]
.................................................. .................. [ -0.00561 0.056136]
Thanks for any input and hope I am clear with question.
Related Posts with Very novice question re calculating Wald test
Bootstraping the CPS from IPUMS using bsampleHello, I'm working with the basic CPS as provided by IPUMS. I need to bootstrap the data to comput…
Iterations in ARDL modelsDear Stata users, I am conducting a study using a panel of 48 countries over 1981-2018. The followi…
Difference between dates in monthI have dates %tdD_m_Y format and I want to create an indicator if they are exactly one month apart, …
How to generate cubic turning points?Esteemed Statalisters, Please I use Stata 16 and need your assistance with deriving cubic turning p…
How can I get difference between two dates in daysHello, I want to get the difference between these two dates (Fenddt - Rptdt) in days at a new variab…
Subscribe to:
Post Comments (Atom)
0 Response to Very novice question re calculating Wald test
Post a Comment