Programming the statistical procedures from SAS

Nonlinear hypothesis tests

Reply
Frequent Contributor
Posts: 129

Nonlinear hypothesis tests

I want to test a nonlinear hypothesis. More specifically, in a logistic regression, I would like to calculate the standard error of the ratio of two parameters. I know how to approximate this manually from the parameter covariance matrix using the Delta method. But can this be done directly in the procedure (or indeed has anyone written macros to do this sort of non-linear testing of parameters).

Frequent Contributor
Posts: 130

Re: Nonlinear hypothesis tests

Why not just include the ratio as a third derived predictor in the model specification? That way, you could test it using the available statements. If it presents no strong evidence for predicitng your response, why bother testing it at all? Or am I missing something?

Frequent Contributor
Posts: 129

Re: Nonlinear hypothesis tests

I am interested in the ratio of parameter estimates, not the effect of a ratio variable as predictor. That is,

y = G(a + bX + cY)

I am interested in the standard error of b/c.

 

I found this interesting code from Russell Millar. He uses proc NLMIXED to calculate the delta method for arbitrary (2 variable) functions. Once I get my head around how nlmixed works, I might try generalising this to work from the COVB matrix output.

https://www.stat.auckland.ac.nz/~millar/730/ComputerCode/DeltaMethodMacro.sas

 

Ask a Question
Discussion stats
  • 2 replies
  • 101 views
  • 2 likes
  • 2 in conversation