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
plotting durationsDear community, I am trying to visualize some of my data over time and face the following problem: …
Comparing groups at timepoints after using MI and mixedHello, I am currently looking at a scale (PDI) measured every third month over a year (baseline, 3-,…
Unusual font in the imported fileCould you please help me sort this out. The dta file after I import xlsx file shows the font in diff…
Manipulating box plotsGood morning, Is it possible to redefine box plots, for example to have something more meaningful th…
Same data, same code, same stata version, different computers, different resultsDear all, I am running a production function estimation based on maximum likelihood. The code is as…
Subscribe to:
Post Comments (Atom)
0 Response to Very novice question re calculating Wald test
Post a Comment