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
trend over years for categorical variableHi I am doing repeat cross sectional analysis over 10 years (discharge_year) for of a categorical me…
How to write this with a loop (repetitive coding with numerical values that do not follow each other)Hello everyone, How can I write this faster? Code: svy: prop rech if form1==2 & gan1==14 …
OLS Regression - explanation of coefficients with control variablesGood morning, I´m doing an OLS regression with the dependent variable having a health number ( Cod…
Perform a paired ttest on two substracts of the same variableI have a dataset that looks like this: var1 var2 var3 attribute 1 0.93 0.88 1 1 0.76 0.20 1 …
how to create the start and end date for a yearDear statalist, This might be an easy question, but I didn't figure out how to do this. Say I have …
Subscribe to:
Post Comments (Atom)
0 Response to Very novice question re calculating Wald test
Post a Comment