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
generating a dummy variable to identify variation within a groupI want to create two new dummy variables that say whether the variables primset and primact vary wit…
sleep command - milliseconds upper limitI would like to pause a stata command for 24 hours due to some externally imposed restriction on cod…
Panel subgraph colourI cannot change the colour of the titles of subgraphs in my panel data graph. I have created a MWE f…
What is the minimun number of observations per answer that I need?I was running a regression and I obtained a very counter intuitive result (very high coefficient wit…
What is the minimun number of observations per response needed for a regression?* *I was running a regression and I obtained a very counter intuitive result (very high coefficient wit…
Subscribe to:
Post Comments (Atom)
0 Response to Very novice question re calculating Wald test
Post a Comment