Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: st: Test for significance of the difference between knee locations?

From   Yuval Arbel <>
Subject   Re: st: Test for significance of the difference between knee locations?
Date   Thu, 18 Oct 2012 22:42:22 +0200

You can run the following model:


where Cost is the medical cost, Right (Left) equals 1 for the right
(left) knee and 0 for the left (right) knee, and Age is the patient's

You now need to test beta0=gamma0, beta1=gamma1 and beta2=gamma2 by
the -test- command

On Thu, Oct 18, 2012 at 10:25 PM, Jordan Silberman
<> wrote:
> Hi Stata folks,
> I'm searching for a method I can run in Stata that will allow me to
> test whether the location of the knee for one quadratic model
> significantly differs from that of another quadratic model.
> I have 2 quadratic models, each modeling a different category of
> healthcare costs as a function of age. Let's say, for illustrative
> purposes, that the knee of the first quadratic model occurs at age 45,
> and the knee for the second model occurs at age 55.
> Can anybody suggest a method for testing whether the former "knee age"
> differs significantly from the latter "knee age?" The idea is to test
> the hypothesis that there is a difference across the 2 models in the
> age at which the costs growth rate begins to increase.
> Any suggestions would be greatly appreciated.
> Thanks,
> Jordan
> *
> *   For searches and help try:
> *
> *
> *

Dr. Yuval Arbel
School of Business
Carmel Academic Center
4 Shaar Palmer Street,
Haifa 33031, Israel
*   For searches and help try:

© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index